Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
FengZiYjun 5dd0f74d6d | 6 years ago | |
---|---|---|
.github | 6 years ago | |
docs | 6 years ago | |
examples | 6 years ago | |
fastNLP | 6 years ago | |
reproduction | 6 years ago | |
test | 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, for fast development of NLP tools. It divides the NLP model based on deep learning into different modules. These modules fall into 4 categories: encoder, interaction, aggregation and decoder, while each category contains different implemented modules. Encoder modules encode the input into some abstract representation, interaction modules make the information in the representation interact with each other, aggregation modules aggregate and reduce information, and decoder modules decode the representation into the output. Most current NLP models could be built on these modules, which vastly simplifies the process of developing NLP models. The architecture of fastNLP is as the figure below:
Run the following commands to install fastNLP package.
pip install fastNLP
fastNLP | an open-source NLP library |
fastNLP.core | trainer, tester, predictor |
fastNLP.loader | all kinds of loaders/readers |
fastNLP.models | a collection of NLP models |
fastNLP.modules | a collection of PyTorch sub-models/components/wheels |
fastNLP.saver | all kinds of savers/writers |
fastNLP.fastnlp | a high-level interface for prediction |
一款轻量级的自然语言处理(NLP)工具包,目标是减少用户项目中的工程型代码,例如数据处理循环、训练循环、多卡运行等
Python Jupyter Notebook Text CSV Markdown