A toy NLP library for educational purposes.
Project description
ToyNLP
NLP models with clean implementation.
Models
10 important NLP models range from 2003 to 2020:
- NNLM(2003)
- Word2Vec(2013)
- Seq2Seq(2014)
- Attention(2015)
- fastText(2016)
- Transformer(2017)
- BERT(2018)
- GPT(2018)
- XLNet(2019)
- T5(2020)
FAQ
Where is GPT-2 and other LLMs?
Well, it's in toyllm!
I separated the models into two libraries, toynlp for traditional "small" NLP models and toyllm for LLMs, which are typically larger and more complex.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
toynlp-0.2.0.tar.gz
(23.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
toynlp-0.2.0-py3-none-any.whl
(31.6 kB
view details)
File details
Details for the file toynlp-0.2.0.tar.gz.
File metadata
- Download URL: toynlp-0.2.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f26e6e417e602534faffa9910a9ba4078a0fc6b4c9268e050f5389f91cace4c
|
|
| MD5 |
ee9e70bc216a1a6f8435557604b7b96c
|
|
| BLAKE2b-256 |
2df5f252aa60280c307d84529a9453a7b09217f8244dbc1dc62862249986cbb8
|
File details
Details for the file toynlp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: toynlp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b05f9527dd52c925cd6b57c4a9bdc0bf77260a380b0c4609a3b22abc1e91b509
|
|
| MD5 |
c64ef7121214e0aa0563d220dc939f71
|
|
| BLAKE2b-256 |
086c9398c02670253e0041e9517b786a8c594c883541383a11c9f8bd8f63cf27
|