Skip to content

Commit e4cafe4

Browse files
committed
Merge branch 'dev0.5.0' of https://github.com/fastnlp/fastNLP into dev0.5.0
2 parents be9b3ee + 33b9957 commit e4cafe4

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ pip install fastNLP
3838
python -m spacy download en
3939
```
4040

41-
目前使用pypi安装fastNLP的版本是0.4.1,有较多功能仍未更新,最新内容以master分支为准。
42-
fastNLP0.5.0版本将在近期推出,请密切关注。
43-
4441

4542
## fastNLP教程
4643

@@ -60,12 +57,11 @@ fastNLP0.5.0版本将在近期推出,请密切关注。
6057
- [8. 使用Modules和Models快速搭建自定义模型](https://fastnlp.readthedocs.io/zh/latest/tutorials/tutorial_8_modules_models.html)
6158
- [9. 快速实现序列标注模型](https://fastnlp.readthedocs.io/zh/latest/tutorials/tutorial_9_seq_labeling.html)
6259
- [10. 使用Callback自定义你的训练过程](https://fastnlp.readthedocs.io/zh/latest/tutorials/tutorial_10_callback.html)
63-
- [11. 使用fitlog 辅助 fastNLP 进行科研](https://fastnlp.readthedocs.io/zh/latest/tutorials/tutorial_11_fitlog.html)
6460

6561
### 扩展教程
6662

6763
- [Extend-1. BertEmbedding的各种用法](https://fastnlp.readthedocs.io/zh/latest/tutorials/extend_1_bert_embedding.html)
68-
64+
- [Extend-2. 使用fitlog 辅助 fastNLP 进行科研](https://fastnlp.readthedocs.io/zh/latest/tutorials/extend_2_fitlog.html)
6965

7066

7167
## 内置组件
@@ -91,19 +87,19 @@ fastNLP 在 embeddings 模块中内置了几种不同的embedding:静态embedd
9187
<tr>
9288
<td> encoder </td>
9389
<td> 将输入编码为具有具有表示能力的向量 </td>
94-
<td> embedding, RNN, CNN, transformer
90+
<td> Embedding, RNN, CNN, Transformer, ...
9591
</tr>
9692
<tr>
9793
<td> decoder </td>
9894
<td> 将具有某种表示意义的向量解码为需要的输出形式 </td>
99-
<td> MLP, CRF </td>
95+
<td> MLP, CRF, ... </td>
10096
</tr>
10197
</table>
10298

10399

104100
## 项目结构
105101

106-
<img src="./docs/source/figures/workflow.png" width="60%" height="60%">
102+
![](./docs/source/figures/workflow.png)
107103

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

@@ -130,7 +126,7 @@ fastNLP的大致工作流程如上图所示,而项目结构如下:
130126
</tr>
131127
<tr>
132128
<td><b> fastNLP.io </b></td>
133-
<td> 实现了读写功能,包括数据读入与预处理,模型读写,自动下载等 </td>
129+
<td> 实现了读写功能,包括数据读入与预处理,模型读写,数据与模型自动下载等 </td>
134130
</tr>
135131
</table>
136132

docs/source/user/installation.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ fastNLP 依赖如下包::
1313
nltk>=3.4.1
1414
requests
1515
spacy
16+
prettytable>=0.7.2
1617

17-
其中torch的安装可能与操作系统及 CUDA 的版本相关,请参见 `PyTorch 官网 <https://pytorch.org/get-started/locally/>`_ 。
18+
其中torch的安装可能与操作系统及 CUDA 的版本相关,请参见 `PyTorch 官网 <https://pytorch.org/>`_ 。
1819
在依赖包安装完成的情况,您可以在命令行执行如下指令完成安装
1920

2021
.. code:: shell

docs/source/user/tutorials.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ fastNLP 详细使用教程
1717
使用Modules和Models快速搭建自定义模型 </tutorials/tutorial_8_modules_models>
1818
快速实现序列标注模型 </tutorials/tutorial_9_seq_labeling>
1919
使用Callback自定义你的训练过程 </tutorials/tutorial_10_callback>
20-
使用fitlog 辅助 fastNLP 进行科研 </tutorials/tutorial_11_fitlog>
2120

2221
.. toctree::
2322
:maxdepth: 1
2423

25-
拓展阅读:BertEmbedding的各种用法 </tutorials/extend_1_bert_embedding>
24+
拓展阅读1:BertEmbedding的各种用法 </tutorials/extend_1_bert_embedding>
25+
拓展阅读2:使用fitlog 辅助 fastNLP 进行科研 </tutorials/extend_2_fitlog>

0 commit comments

Comments
 (0)