[](https://pypi.org/project/toynlp/)
[](https://pypi.org/project/toynlp/)
[](https://pepy.tech/projects/toynlp)
[](https://github.com/astral-sh/ruff)
[](https://mypy-lang.org/)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/ai-glimpse/toynlp/actions/workflows/build_docs.yaml)
[](https://github.com/ai-glimpse/toynlp/actions/workflows/test.yaml)
[](https://codecov.io/gh/ai-glimpse/toynlp)
[](https://github.com/ai-glimpse/toynlp/blob/master/LICENSE)
ToyNLP
NLP models with clean implementation.
Models
10 important NLP models range from 2003 to 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.