Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
29eab18
1. CRF增加支持bmeso类型的tag 2. vocabulary中增加注释
yhcc Feb 6, 2019
853bea5
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Feb 6, 2019
5eb126d
BucketSampler增加一条错误检测
yhcc Feb 9, 2019
3ea7de1
1.修改ClipGradientCallback的bug;删除LRSchedulerCallback中的print,之后应该传入pbar进…
yhcc Feb 14, 2019
ee677d5
update MLP module
xuyige Feb 16, 2019
8d4f26b
增加metric注释;修改trainer save过程中的bug
yhcc Feb 17, 2019
f14d317
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Feb 17, 2019
feb8f63
Update README.md
FengZiYjun Jan 14, 2019
251088a
Add ENAS (Efficient Neural Architecture Search)
chenkaiyu1997 Feb 15, 2019
3e01b14
add ignore_type in DataSet.add_field
FengZiYjun Feb 25, 2019
95a72f0
* AutoPadder will not pad when dtype is None
FengZiYjun Feb 25, 2019
3d7cfb3
修复fieldarray中padder潜在bug
yhcc Mar 12, 2019
22661ea
修复crf中typo; 以及可能导致数值不稳定的地方
yhcc Mar 12, 2019
f2d7d01
修复CRF中可能存在的bug
yhcc Mar 13, 2019
99d6bb2
change two default init arguments of Trainer into None
FengZiYjun Mar 16, 2019
ef0c6e9
Changes to Callbacks:
FengZiYjun Mar 20, 2019
f5ab7a5
* 将enas相关代码放到automl目录下
FengZiYjun Mar 21, 2019
6a498bb
* 给vocabulary添加遍历方法
FengZiYjun Mar 23, 2019
e5f68bb
修复CRF为负数的bug
yhcc Mar 23, 2019
ec90a1f
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Mar 23, 2019
55f65c3
add SQuAD metric
xuyige Mar 27, 2019
4fd49cc
add sigmoid activate function in MLP
xuyige Apr 11, 2019
70fb4a2
- add star transformer model
Apr 12, 2019
6d11ef8
Merge remote-tracking branch 'private/dev' into pr
Apr 12, 2019
58f373d
- fix test
Apr 12, 2019
e120415
Merge remote-tracking branch 'private/dev' into pr
Apr 12, 2019
f4e6490
- fix callback & tests
Apr 12, 2019
3d08b38
- update README
Apr 13, 2019
4d1721f
修改部分bug;调整callback
yhcc Apr 14, 2019
dffd9b9
合并冲突
yhcc Apr 14, 2019
29f81e7
准备发布0.4.0版本“
yhcc Apr 14, 2019
6f010d4
update readme
Apr 14, 2019
98a3dd4
Merge branch 'dev' of https://github.com/choosewhatulike/fastNLP-priv…
xuyige Apr 14, 2019
16fdf20
support parallel loss
xuyige Apr 14, 2019
fdfaf2d
防止多卡的情况导致无法正确计算loss“
yhcc Apr 14, 2019
62bc898
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 14, 2019
76f9bbf
update advance_tutorial jupyter notebook
xuyige Apr 14, 2019
a2f1c29
Merge remote-tracking branch 'origin/dev' into dev
xuyige Apr 14, 2019
b69f898
1. 在embedding_loader中增加新的读取函数load_with_vocab(), load_without_vocab, 比…
yhcc Apr 17, 2019
c1ee0b2
1.DataSet.apply()报错时提供错误的index
yhcc Apr 21, 2019
9d43239
update attention
xuyige Apr 21, 2019
967e5e5
doc tools
WillQvQ Apr 21, 2019
13d8978
fix some doc errors
WillQvQ Apr 21, 2019
c520d35
修改为中文注释,增加viterbi解码方法
yhcc Apr 22, 2019
15cdee8
样例版本
WillQvQ Apr 22, 2019
7d94d50
conflict merge
yhcc Apr 22, 2019
4d08d6f
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 22, 2019
c344f7a
- add pad sequence for lstm
Apr 21, 2019
e025350
Merge branch 'dev' of https://github.com/choosewhatulike/fastNLP-priv…
Apr 22, 2019
abff8d9
- fix test_tutorial
Apr 22, 2019
361a090
注释增加
yhcc Apr 22, 2019
90bcfab
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 22, 2019
2c202bb
测试文档
yhcc Apr 22, 2019
2da1681
本地暂存
yhcc Apr 22, 2019
95aabc9
本地暂存
yhcc Apr 22, 2019
e61b770
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 22, 2019
f3e4abf
修改文档的顺序
WillQvQ Apr 23, 2019
001586f
- add document
Apr 23, 2019
28ece53
本地暂存
yhcc Apr 23, 2019
66ad7d9
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 23, 2019
1e9e42e
update pooling
xuyige Apr 23, 2019
7de69b6
update bert
xuyige Apr 23, 2019
96bfbf1
update documents in MLP
xuyige Apr 23, 2019
23625fe
update documents in snli
xuyige Apr 23, 2019
f22cb58
combine self attention module to attention.py
xuyige Apr 23, 2019
5b8a627
update documents on losses.py
xuyige Apr 23, 2019
7997dce
对DataSet的文档进行更新
yhcc Apr 23, 2019
8b50bbe
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 23, 2019
5578331
update documents on metrics
xuyige Apr 23, 2019
47f8126
1. 删除了LSTM中print的内容; 2. 将Trainer和Tester的use_cuda修改为了device; 3.补充Train…
yhcc Apr 24, 2019
cdfd3d3
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 24, 2019
4a57011
增加对Trainer的注释
yhcc Apr 24, 2019
6e265e5
完善了trainer,callback等的文档; 修改了部分代码的命名以使得代码从文档中隐藏
yhcc Apr 24, 2019
ee49f41
update char level encoder
xuyige Apr 25, 2019
e76dca9
update documents on embedding.py
xuyige Apr 25, 2019
2c9484c
- update doc
Apr 24, 2019
06891cf
补充注释,并修改部分代码
yhcc Apr 26, 2019
f65c093
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc Apr 26, 2019
46d72c7
- update doc
Apr 25, 2019
a7a9fc3
修改了文档配置项
WillQvQ Apr 26, 2019
5e9c406
修改embedding为init_embed初始化
yhcc Apr 26, 2019
c2800bd
merge
yhcc Apr 26, 2019
ded4228
1.增加对Trainer和Tester的多卡支持;
yhcc Apr 26, 2019
799d4db
- add test
Apr 27, 2019
bb01904
删除了注释教程
WillQvQ Apr 28, 2019
3465d2a
给 dataset 增加了get_field_names
WillQvQ Apr 28, 2019
c077107
修复bug
yhcc Apr 29, 2019
e864aec
- add Const
Apr 29, 2019
16388d5
修改部分注释
yhcc Apr 29, 2019
4f65e17
- add model runner for easier test models
Apr 29, 2019
dfcc2f7
修改了 docs 的配置和架构
WillQvQ May 4, 2019
257eb2b
修改了核心部分的一大部分文档,TODO:
WillQvQ May 4, 2019
ef525bf
core部分的注释基本检查完成
WillQvQ May 4, 2019
a1f8cde
修改了 io 部分的注释
WillQvQ May 5, 2019
f66012a
全部改为相对路径引用
WillQvQ May 5, 2019
cf08e00
全部改为相对路径引用
WillQvQ May 5, 2019
4c6c4f6
small change
yhcc May 5, 2019
19da1eb
conflict solve
yhcc May 5, 2019
b9558e2
1. 从安装文件中删除api/automl的安装
yhcc May 5, 2019
3a6a188
修复 bug :兼容 cpu 版本的 PyTorch
WillQvQ May 5, 2019
f466c50
修改文档中的引用部分
WillQvQ May 5, 2019
e209925
把 tqdm.autonotebook 换成tqdm.auto
WillQvQ May 5, 2019
443184f
- fix batch & vocab
May 6, 2019
b7613cd
conflict solve
yhcc May 6, 2019
c9dc702
上传了文档文件 *.rst
WillQvQ May 6, 2019
584f3a6
上传了文档文件和若干 TODO
WillQvQ May 6, 2019
8039f4d
讨论并整合了若干模块
WillQvQ May 6, 2019
4926b33
core部分的测试和一些小修改
WillQvQ May 7, 2019
0860e0a
删除了一些冗余文档
WillQvQ May 7, 2019
0eed253
update init files
xuyige May 7, 2019
ae8f74b
update const files
xuyige May 7, 2019
29d834b
Merge remote-tracking branch 'origin/dev' into dev
xuyige May 7, 2019
1d46ece
update const files
xuyige May 7, 2019
25565fe
增加cnn的测试
yhcc May 7, 2019
fbe7b71
fix a little bug
WillQvQ May 8, 2019
702fa1d
- update attention
May 8, 2019
6d36dbe
完善测试
yhcc May 8, 2019
af6a9da
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc May 8, 2019
8dbbc8c
完成快速入门教程
WillQvQ May 9, 2019
cdbb687
修改了sequence_modeling 命名为 sequence_labeling 的文档
WillQvQ May 9, 2019
e557da6
重新 apidoc 解决改名的遗留问题
WillQvQ May 9, 2019
bbab238
修改文档格式
WillQvQ May 9, 2019
56ff4ac
统一不同位置的seq_len_to_mask, 现统一到core.utils.seq_len_to_mask
yhcc May 10, 2019
dc855d0
增加了一行提示
WillQvQ May 10, 2019
96f3fed
在文档中展示 dataset_loader
WillQvQ May 10, 2019
9da72d2
提示 Dataset.read_csv 会被 CSVLoader 替换
WillQvQ May 10, 2019
96e2a6f
完成 Callback 和 Trainer 之间的文档
WillQvQ May 12, 2019
a79a966
index更新了部分
yhcc May 12, 2019
6d4a945
Merge branch 'dev' of github.com:choosewhatulike/fastNLP-private into…
yhcc May 12, 2019
519c8e8
删除冗余的print
yhcc May 12, 2019
349194f
删除用于分词的metric,因为有可能引起错误
yhcc May 12, 2019
58e7363
修改文档中的中文名称
WillQvQ May 12, 2019
ce8d629
完成了详细介绍文档
WillQvQ May 12, 2019
674c3d1
tutorial 的 ipynb 文件
WillQvQ May 12, 2019
fa246f5
修改了一些介绍文档
WillQvQ May 12, 2019
e3d6560
修改了 models 和 modules 的主页介绍
WillQvQ May 12, 2019
269e28c
加上了 titlesonly 这个设置
WillQvQ May 12, 2019
39a1fe9
修改了模块文档展示的标题
WillQvQ May 12, 2019
0a014fe
修改了 core 和 io 的开篇介绍
WillQvQ May 12, 2019
208cf5f
修改了 modules 和 models 开篇介绍
WillQvQ May 13, 2019
fec3216
使用 .. todo:: 隐藏了可能被抽到文档中的 TODO 注释
WillQvQ May 13, 2019
902a3a6
修改了一些注释
WillQvQ May 14, 2019
8a7bf58
delete an old metric in test
WillQvQ May 14, 2019
6cb7510
修改 tutorials 的测试文件
WillQvQ May 14, 2019
1c9a0b5
把暂不发布的功能移到 legacy 文件夹
WillQvQ May 14, 2019
14fe885
删除了不能运行的测试
WillQvQ May 14, 2019
38c2ef7
修改 callback 的测试文件
WillQvQ May 14, 2019
63e023b
删除了过时的教程和测试文件
WillQvQ May 14, 2019
837cd6f
cache_results 参数的修改
WillQvQ May 14, 2019
51b493d
修改 io 的测试文件; 删除了一些过时的测试
WillQvQ May 14, 2019
6ff33c4
修复bug
yhcc May 14, 2019
beeb7d9
Merge branch 'dev0.4.0' of github.com:fastnlp/fastNLP into dev
yhcc May 14, 2019
38033ab
修复无法通过test_utils.py的测试
yhcc May 14, 2019
846a1a5
修复与pytorch1.1中的padsequence的兼容问题; 修改Trainer的pbar
yhcc May 15, 2019
0a8f7c0
1. 修复metric中的bug; 2.增加metric测试
yhcc May 15, 2019
325011e
Merge branch 'master' into pr
May 15, 2019
87e21a2
add model summary
May 16, 2019
6aaef91
增加别名
yhcc May 16, 2019
802ad8d
conflict merge
yhcc May 16, 2019
885c640
删除encoder中的嵌套层
yhcc May 16, 2019
32fdb48
修改了 core 部分 import 的顺序,__all__ 暴露的内容
WillQvQ May 16, 2019
9c07850
修改了 models 部分 import 的顺序,__all__ 暴露的内容
WillQvQ May 16, 2019
fb143ff
修改了文件名
WillQvQ May 16, 2019
ff1d695
修改了 modules 模块的__all__ 和 import
WillQvQ May 16, 2019
4ac4cda
fix var runn
May 17, 2019
aabbdb4
增加vocab的clear方法
yhcc May 17, 2019
bdec618
一些符合 PEP8 的微调
WillQvQ May 18, 2019
a6f60d8
更新了cache_results的例子
WillQvQ May 19, 2019
6d0b1ea
1. 对callback中indices潜在None作出提示;2.DataSet支持通过List进行index
yhcc May 20, 2019
b80f018
Merge branch 'dev0.4.0' of github.com:fastnlp/fastNLP into dev0.4.0
yhcc May 20, 2019
117f556
修改了一个typo
yhcc May 21, 2019
001c835
修改了 README.md
WillQvQ May 21, 2019
0448e45
update documents on bert
xuyige May 21, 2019
d362bc1
update documents on encoder/bert
xuyige May 21, 2019
6ad85a8
增加一个fitlog callback,实现与fitlog实验记录
yhcc May 21, 2019
6f0bac3
Merge branch 'dev0.4.0' of github.com:fastnlp/fastNLP into dev0.4.0
yhcc May 21, 2019
b84e1df
typo
yhcc May 21, 2019
6862a8f
- update dataset_loader
May 22, 2019
9dba869
增加了到 fitlog 文档的链接。
WillQvQ May 22, 2019
6a8f50e
增加了 DataSet Loader 的文档
WillQvQ May 22, 2019
040bd2a
- add star-transformer reproduction
May 22, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include requirements.txt
include LICENSE
include README.md
prune test/
prune reproduction/
prune fastNLP/api
prune fastNLP/automl
101 changes: 61 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,87 +6,108 @@
![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)
[![Documentation Status](https://readthedocs.org/projects/fastnlp/badge/?version=latest)](http://fastnlp.readthedocs.io/?badge=latest)

FastNLP is a modular Natural Language Processing system based on PyTorch, built for fast development of NLP models.
fastNLP 是一款轻量级的 NLP 处理套件。你既可以使用它快速地完成一个命名实体识别(NER)、中文分词或文本分类任务; 也可以使用他构建许多复杂的网络模型,进行科研。它具有如下的特性:

- 统一的Tabular式数据容器,让数据预处理过程简洁明了。内置多种数据集的DataSet Loader,省去预处理代码。
- 各种方便的NLP工具,例如预处理embedding加载; 中间数据cache等;
- 详尽的中文文档以供查阅;
- 提供诸多高级模块,例如Variational LSTM, Transformer, CRF等;
- 封装CNNText,Biaffine等模型可供直接使用;
- 便捷且具有扩展性的训练器; 提供多种内置callback函数,方便实验记录、异常捕获等。


## 安装指南

fastNLP 依赖如下包:

+ numpy
+ torch>=0.4.0
+ tqdm
+ nltk

其中torch的安装可能与操作系统及 CUDA 的版本相关,请参见 PyTorch 官网 。
在依赖包安装完成的情况,您可以在命令行执行如下指令完成安装

```shell
pip install fastNLP
```


## 内置组件

大部分用于的 NLP 任务神经网络都可以看做由编码(encoder)、聚合(aggregator)、解码(decoder)三种模块组成。


![](./docs/source/figures/text_classification.png)

fastNLP 在 modules 模块中内置了三种模块的诸多组件,可以帮助用户快速搭建自己所需的网络。 三种模块的功能和常见组件如下:

A deep learning NLP model is the composition of three types of modules:
<table>
<tr>
<td><b> module type </b></td>
<td><b> functionality </b></td>
<td><b> example </b></td>
<td><b> 类型 </b></td>
<td><b> 功能 </b></td>
<td><b> 例子 </b></td>
</tr>
<tr>
<td> encoder </td>
<td> encode the input into some abstract representation </td>
<td> 将输入编码为具有具 有表示能力的向量 </td>
<td> embedding, RNN, CNN, transformer
</tr>
<tr>
<td> aggregator </td>
<td> aggregate and reduce information </td>
<td> 从多个向量中聚合信息 </td>
<td> self-attention, max-pooling </td>
</tr>
<tr>
<td> decoder </td>
<td> decode the representation into the output </td>
<td> 将具有某种表示意义的 向量解码为需要的输出 形式 </td>
<td> MLP, CRF </td>
</tr>
</table>

For example:

![](docs/source/figures/text_classification.png)

## Requirements

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

## 完整模型
fastNLP 为不同的 NLP 任务实现了许多完整的模型,它们都经过了训练和测试。

## Resources
你可以在以下两个地方查看相关信息
- [介绍](reproduction/)
- [源码](fastNLP/models/)

- [Tutorials](https://github.com/fastnlp/fastNLP/tree/master/tutorials)
- [Documentation](https://fastnlp.readthedocs.io/en/latest/)
- [Source Code](https://github.com/fastnlp/fastNLP)


## Installation
Run the following commands to install fastNLP package.
```shell
pip install fastNLP
```
## 项目结构

![](./docs/source/figures/workflow.png)

## Project Structure
fastNLP的大致工作流程如上图所示,而项目结构如下:

<table>
<tr>
<td><b> fastNLP </b></td>
<td> an open-source NLP library </td>
</tr>
<tr>
<td><b> fastNLP.api </b></td>
<td> APIs for end-to-end prediction </td>
<td> 开源的自然语言处理库 </td>
</tr>
<tr>
<td><b> fastNLP.core </b></td>
<td> data representation & train/test procedure </td>
<td> 实现了核心功能,包括数据处理组件、训练器、测速器等 </td>
</tr>
<tr>
<td><b> fastNLP.models </b></td>
<td> a collection of NLP models </td>
<td> 实现了一些完整的神经网络模型 </td>
</tr>
<tr>
<td><b> fastNLP.modules </b></td>
<td> a collection of PyTorch sub-models/components/wheels </td>
<td> 实现了用于搭建神经网络模型的诸多组件 </td>
</tr>
<tr>
<td><b> fastNLP.io </b></td>
<td> readers & savers </td>
<td> 实现了读写功能,包括数据读入,模型读写等 </td>
</tr>
</table>

## 参考资源

- [教程](https://github.com/fastnlp/fastNLP/tree/master/tutorials)
- [文档](https://fastnlp.readthedocs.io/en/latest/)
- [源码](https://github.com/fastnlp/fastNLP)



*In memory of @FengZiYjun. May his soul rest in peace. We will miss you very very much!*
7 changes: 7 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXAPIDOC = sphinx-apidoc
SPHINXBUILD = sphinx-build
SPHINXPROJ = fastNLP
SOURCEDIR = source
Expand All @@ -12,6 +13,12 @@ BUILDDIR = build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

apidoc:
$(SPHINXAPIDOC) -efM -o source ../$(SPHINXPROJ)

server:
cd build/html && python -m http.server

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
Expand Down
45 changes: 30 additions & 15 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#
import os
import sys

sys.path.insert(0, os.path.abspath('../../'))

# -- Project information -----------------------------------------------------
Expand All @@ -23,10 +24,9 @@
author = 'xpqiu'

# The short X.Y version
version = '0.2'
version = '0.4'
# The full version, including alpha/beta/rc tags
release = '0.2'

release = '0.4'

# -- General configuration ---------------------------------------------------

Expand All @@ -42,9 +42,15 @@
'sphinx.ext.viewcode',
'sphinx.ext.autosummary',
'sphinx.ext.mathjax',

'sphinx.ext.todo'
]

autodoc_default_options = {
'member-order': 'bysource',
'special-members': '__init__',
'undoc-members': True,
}

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand All @@ -62,17 +68,16 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "zh_CN"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = []
exclude_patterns = ['modules.rst']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand All @@ -84,7 +89,10 @@
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {
'collapse_navigation': False,
'titles_only': True
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand All @@ -107,22 +115,21 @@
# Output file base name for HTML help builder.
htmlhelp_basename = 'fastNLPdoc'


# -- Options for LaTeX output ------------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',

# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
Expand All @@ -136,7 +143,6 @@
'xpqiu', 'manual'),
]


# -- Options for manual page output ------------------------------------------

# One entry per manual page. List of tuples
Expand All @@ -146,7 +152,6 @@
[author], 1)
]


# -- Options for Texinfo output ----------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
Expand All @@ -159,4 +164,14 @@
]


# -- Extension configuration -------------------------------------------------
# -- Extension configuration -------------------------------------------------
def maybe_skip_member(app, what, name, obj, skip, options):
if name.startswith("_"):
return True
if obj.__doc__ is None:
return True
return False


def setup(app):
app.connect('autodoc-skip-member', maybe_skip_member)
36 changes: 0 additions & 36 deletions docs/source/fastNLP.api.rst

This file was deleted.

7 changes: 7 additions & 0 deletions docs/source/fastNLP.core.batch.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fastNLP.core.batch
==================

.. automodule:: fastNLP.core.batch
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/fastNLP.core.callback.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fastNLP.core.callback
=====================

.. automodule:: fastNLP.core.callback
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/fastNLP.core.const.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fastNLP.core.const
==================

.. automodule:: fastNLP.core.const
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/fastNLP.core.dataset.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fastNLP.core.dataset
====================

.. automodule:: fastNLP.core.dataset
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/fastNLP.core.field.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fastNLP.core.field
==================

.. automodule:: fastNLP.core.field
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/fastNLP.core.instance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fastNLP.core.instance
=====================

.. automodule:: fastNLP.core.instance
:members:
:undoc-members:
:show-inheritance:
Loading