Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
FengZiYjun 27e9453d19 | 6 years ago | |
---|---|---|
.github | 6 years ago | |
docs | 6 years ago | |
fastNLP | 6 years ago | |
reproduction | 6 years ago | |
test | 6 years ago | |
tutorials | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
requirements.txt | 6 years ago | |
setup.py | 6 years ago |
FastNLP is a modular Natural Language Processing system based on PyTorch, built for fast development of NLP models.
A deep learning NLP model is the composition of three types of modules:
For example:
Run the following commands to install fastNLP package.
pip install fastNLP
module type | functionality | example |
encoder | encode the input into some abstract representation | embedding, RNN, CNN, transformer |
aggregator | aggregate and reduce information | self-attention, max-pooling |
decoder | decode the representation into the output | MLP, CRF |
fastNLP | an open-source NLP library |
fastNLP.api | APIs for end-to-end prediction |
fastNLP.core | data representation & train/test presedure |
fastNLP.models | a collection of NLP models |
fastNLP.modules | a collection of PyTorch sub-models/components/wheels |
fastNLP.io | readers & savers |
一款轻量级的自然语言处理(NLP)工具包,目标是减少用户项目中的工程型代码,例如数据处理循环、训练循环、多卡运行等
Python Jupyter Notebook Text CSV Markdown