Migrated repository
Go to file
2018-12-13 01:52:52 +08:00
.github Create PULL_REQUEST_TEMPLATE.md 2018-12-11 15:38:20 +08:00
docs update docs 2018-12-13 01:52:52 +08:00
fastNLP * final clean up 2018-12-07 19:09:50 +08:00
reproduction * fix processor.py 2018-12-06 19:28:27 +08:00
test * final clean up 2018-12-07 19:09:50 +08:00
tutorials * rename DataSet.get_fields() into get_all_fields() 2018-12-07 14:53:27 +08:00
.travis.yml - add progress bar for data set loading 2018-10-01 20:33:29 +08:00
LICENSE add LICENSE, setup.py & requirements.txt 2018-05-25 18:32:02 +08:00
README.md update README.md 2018-12-07 22:28:20 +08:00
readthedocs.yml update docs 2018-12-13 01:52:52 +08:00
requirements.txt 1. 优化trainer checkcode过程的报错信息 2018-12-05 20:15:59 +08:00
setup.py * fix processor.py 2018-12-06 19:28:27 +08:00

fastNLP

Build Status codecov PyPI version Hex.pm Documentation Status

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:

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

For example:

Requirements

  • Python>=3.6
  • numpy>=1.14.2
  • torch>=0.4.0
  • tensorboardX
  • tqdm>=4.28.1

Resources

Installation

Run the following commands to install fastNLP package.

pip install fastNLP

Project Structure

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