|
|
@@ -15,11 +15,12 @@ fastNLP 是一款轻量级的 NLP 处理套件。你既可以使用它快速地 |
|
|
|
内置组件 |
|
|
|
------------ |
|
|
|
|
|
|
|
大部分用于的 NLP 任务神经网络都可以看做由编码(encoder)、聚合(aggregator)、解码(decoder)三个阶段组成。 |
|
|
|
大部分用于的 NLP 任务神经网络都可以看做由编码(encoder)、聚合(aggregator)、解码(decoder)三中模块组成。 |
|
|
|
|
|
|
|
.. image:: figures/text_classification.png |
|
|
|
|
|
|
|
三大模块功能和例子如下: |
|
|
|
fastNLP 在 :mod:`~fastNLP.modules` 模块中内置了三个模块的诸多组件,可以帮助用户快速搭建自己所需的网络。 |
|
|
|
三个模块的功能和常见组件如下: |
|
|
|
|
|
|
|
+-----------------------+-----------------------+-----------------------+ |
|
|
|
| module type | functionality | example | |
|
|
@@ -35,8 +36,6 @@ fastNLP 是一款轻量级的 NLP 处理套件。你既可以使用它快速地 |
|
|
|
| | 形式 | | |
|
|
|
+-----------------------+-----------------------+-----------------------+ |
|
|
|
|
|
|
|
fastNLP 在 :mod:`~fastNLP.module` 模块中内置了大量的组件,可以帮助用户快速搭建自己所需的网络 |
|
|
|
|
|
|
|
|
|
|
|
内置模型 |
|
|
|
---------------- |
|
|
@@ -65,7 +64,7 @@ API 文档 |
|
|
|
除了用户手册之外,你还可以通过查阅 API 文档来找到你所需要的工具。 |
|
|
|
|
|
|
|
.. toctree:: |
|
|
|
:maxdepth: 2 |
|
|
|
:titlesonly: |
|
|
|
|
|
|
|
fastNLP |
|
|
|
|
|
|
|