A Modularized and Extensible Toolkit for Natural Language Processing. Currently still in incubation.
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:
|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|