You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.rst 1.9 kB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. fastNLP documentation
  2. =====================
  3. A Modularized and Extensible Toolkit for Natural Language Processing. Currently still in incubation.
  4. Introduction
  5. ------------
  6. FastNLP is a modular Natural Language Processing system based on
  7. PyTorch, built for fast development of NLP models.
  8. A deep learning NLP model is the composition of three types of modules:
  9. +-----------------------+-----------------------+-----------------------+
  10. | module type | functionality | example |
  11. +=======================+=======================+=======================+
  12. | encoder | encode the input into | embedding, RNN, CNN, |
  13. | | some abstract | transformer |
  14. | | representation | |
  15. +-----------------------+-----------------------+-----------------------+
  16. | aggregator | aggregate and reduce | self-attention, |
  17. | | information | max-pooling |
  18. +-----------------------+-----------------------+-----------------------+
  19. | decoder | decode the | MLP, CRF |
  20. | | representation into | |
  21. | | the output | |
  22. +-----------------------+-----------------------+-----------------------+
  23. For example:
  24. .. image:: figures/text_classification.png
  25. User's Guide
  26. ------------
  27. .. toctree::
  28. :maxdepth: 2
  29. user/installation
  30. user/quickstart
  31. API Reference
  32. -------------
  33. If you are looking for information on a specific function, class or
  34. method, this part of the documentation is for you.
  35. .. toctree::
  36. :maxdepth: 2
  37. fastNLP API <fastNLP>
  38. Indices and tables
  39. ==================
  40. * :ref:`genindex`
  41. * :ref:`modindex`
  42. * :ref:`search`