Migrated repository
Go to file
2019-04-25 20:07:52 +08:00
.github Update PULL_REQUEST_TEMPLATE.md 2018-12-14 19:10:44 +08:00
docs Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into dev 2019-04-23 14:53:10 +08:00
fastNLP update documents on embedding.py 2019-04-25 20:07:52 +08:00
reproduction 本地暂存 2019-04-23 14:52:56 +08:00
test update char level encoder 2019-04-25 17:11:39 +08:00
tutorials update advance_tutorial jupyter notebook 2019-04-14 23:30:23 +08:00
.travis.yml fix ci 2019-01-08 20:20:09 +08:00
codecov.yml add codecov fix 2019-02-04 09:56:08 +08:00
LICENSE add LICENSE, setup.py & requirements.txt 2018-05-25 18:32:02 +08:00
MANIFEST.in 1.DataSet.apply()报错时提供错误的index 2019-04-21 09:12:42 +08:00
README.md - update README 2019-04-13 14:01:18 +08:00
readthedocs.yml update docs 2018-12-13 01:52:52 +08:00
requirements.txt 本地暂存 2019-04-23 14:52:56 +08:00
setup.py 修改部分bug;调整callback 2019-04-14 18:00:21 +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

Models

fastNLP implements different models for variant NLP tasks. Each model has been trained and tested carefully.

Check out models' performance, usage and source code here.

Project Structure

fastNLP an open-source NLP library
fastNLP.api APIs for end-to-end prediction
fastNLP.core data representation & train/test procedure
fastNLP.models a collection of NLP models
fastNLP.modules a collection of PyTorch sub-models/components/wheels
fastNLP.io readers & savers