Skip-Grammar
A framework for representing sequences as embeddings.
Models
Skip-gram Negative Sampling (SGNS)
Popular natural language processing models such as word2vec and bert can be repurposed to learn relationships from arbitrary sequences of items. Skip-gram Negative Sampling is such an algorithm part of the models module. This is implemented in PyTorch components or can be composed as a PyTorch Lightning module. Both are availble under the relevent namespaces skipgrammar.models.sgns and skipgrammar.models.lighting.sgns.
Datasets
Last.FM
The Last.FM Dataset-1K dataset is comprised of the listening history of approximately 1,000 users from the music service Last.FM. The dataset is availble at the project's main site here and also preprocessed here for ease of use. The variants in the dataset module use the latter.
MovieLens
The popular recommendation system dataset MovieLens is availble in three variants via the dataset module.
Metadata
Release files for skipgrammar 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skipgrammar-0.1.3.tar.gz | 13.2 kB | Without provenance | Details for skipgrammar-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skipgrammar-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for skipgrammar-0.1.3-py3-none-any.whl |
Total release size: 28.9 kB
Release files / skipgrammar-0.1.3.tar.gz
| Download URL | skipgrammar-0.1.3.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffb11c845f3eee125d7ef9826b60a51bc1ef1615d4a1c16264402caa062d43ab
|
|
BLAKE2b-256 checksum How to use checksums |
2a95e9574dc504f73664ca0de4242807c627cd3b880c888ee90f5b3a80cdd6d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Darwin/21.5.0
|
Release files / skipgrammar-0.1.3-py3-none-any.whl
| Download URL | skipgrammar-0.1.3-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f84faf301714b21571a8b8512ad07c6d13a5c48ad356450f0765b888e0e1d7f
|
|
BLAKE2b-256 checksum How to use checksums |
1315acba503691b5a29f1d9e98ed9e0de1d54bfbdb9684411563e6295438f613
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Darwin/21.5.0
|
Security for skipgrammar 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.