Commit Graph

1158 Commits

Author SHA1 Message Date
yh
4718804e22 1. 修改内部函数位置; 2.修改BertWordPieceEncoder的部分功能 2019-07-19 17:33:41 +08:00
xuyige
c2d687528e fix bugs and add test codes for: 1. models.snli; 2. core.metrics.extractive_qa; 3. io.data_loader.mnli 2019-07-19 02:05:33 +08:00
yh
22a8702d22 1. Trainer支持使用DistributedDataParallel训练; 但是还没有经过广泛测试,谨慎使用; 2. 修复import os bug; 3.FitlogCallback支持不传入任何DataSet; 4. NullOptimizer的construct_from_optimer返回self; 5. 修复Bert中pooled_cls的bug;“ 2019-07-18 23:43:10 +08:00
yh
c19499e60a 1. 修复DataSet.delete_instance的bug; 2. FieldArray中支持只使用第一个instance推断dimension和type,节省时间 2019-07-18 22:53:30 +08:00
yh
3c2e419059 增加pooled_cls选项,可以是Bert在做分类时可以使用预训练的权重 2019-07-17 20:06:40 +08:00
ChenXin
d9e9f9ca7c delete a todo item 2019-07-12 15:24:18 +08:00
xuyige
ec824376c6 fix embedding tutorials 2019-07-12 14:51:11 +08:00
Yige XU
25421d104d
Merge branch 'master' into dev0.5.0 2019-07-12 14:30:59 +08:00
ChenXin
1fed3650d5 check了 embeddings 的文档 2019-07-12 14:18:04 +08:00
xuyige
98ebc3c0b1 在README.md添加版本说明 2019-07-12 14:12:13 +08:00
yh
f3e19ddd9a erge conflict in bert 2019-07-12 13:29:54 +08:00
yh
39f3accace 增加Embedding的文档 2019-07-12 13:27:29 +08:00
ChenXin
af4fd46273 修改了io 模块内子模块的顺序 2019-07-12 13:16:42 +08:00
ChenXin
90c6454aed 修改了文档首页 2019-07-12 13:13:54 +08:00
yunfan
9f681dcd55 fix tutorial typo 2019-07-12 12:42:31 +08:00
ChenXin
fc0f86aa9e io、data_loader的文档结构和别名 2019-07-12 12:05:04 +08:00
ChenXin
ce72936c0f :maxdepth: 1 2019-07-12 11:38:51 +08:00
ChenXin
dcc6d5d15d models的文档结构和别名 2019-07-12 11:27:35 +08:00
ChenXin
f3a9fc5b79 encoder里面的结构和文档 2019-07-12 11:16:21 +08:00
ChenXin
a09cf518d7 modules入口的介绍和dropout的文档 2019-07-12 11:05:57 +08:00
ChenXin
d6ae241bbb decoder部分的别名 2019-07-12 10:49:18 +08:00
ChenXin
c99f02aa3b API文档入口的介绍 2019-07-12 10:46:29 +08:00
ChenXin
391793a961 最新的docs结构 2019-07-12 10:36:46 +08:00
yh
0a33a32081 Merge branch 'dev0.5.0' of https://github.com/fastnlp/fastNLP into dev0.5.0
# Conflicts:
#	fastNLP/modules/encoder/embedding.py
#	reproduction/seqence_labelling/ner/train_ontonote.py
#	reproduction/text_classification/model/lstm.py
2019-07-12 09:56:35 +08:00
yh
807a8f1fb3 1. BucketSampler不需要自己传入batch_size了,由Trainer自动设置
2. sequence labeling中增加BiLSTMCRF
3. embedding中修复bug
4. 将之前版本的reproduction移动到legacy文件夹
5. sequence labeling中增加中文NER
6. text classification中loader增强,修改lstm模型,增加train_bert.py
2019-07-12 09:27:11 +08:00
lyhuang18
026925097d
Merge pull request #191 from lyhuang18/lyhuang-reproduction
修改代码以适配新fastNLP.embeddings模块
2019-07-12 06:50:10 +08:00
lyhuang18
ffbba0f895 修改代码以适配新embeddings模块 2019-07-12 06:47:04 +08:00
lyhuang18
0d487707d9
Merge pull request #17 from fastnlp/dev0.5.0
Dev0.5.0
2019-07-12 06:00:17 +08:00
xuyige
defcaae4bd 将test_embed_loader的almost equal范围稍稍调大一些,以防止偶然的测试不通过 2019-07-12 04:39:17 +08:00
xuyige
bedb792b3c 将test_embed_loader的almost equal范围稍稍调大一些,以防止偶然的测试不通过 2019-07-12 04:33:32 +08:00
lyhuang18
4df322eb2d
Merge pull request #14 from fastnlp/dev0.5.0
Dev0.5.0
2019-07-12 04:30:20 +08:00
xuyige
65f92855ba add testing code in stack embedding 2019-07-12 04:24:08 +08:00
xuyige
327833a77f fix bug in test code 2019-07-12 04:11:03 +08:00
xuyige
76198acc5c update README.md: add description in fastNLP.embeddings 2019-07-12 04:09:27 +08:00
xuyige
570b214dfb 增加fastNLP.embeddings模块并修改对应的现有代码以适配fastNLP.embeddings 2019-07-12 04:07:47 +08:00
xuyige
6cf1a8562b rename Batch to DataSetIter in enas_trainer 2019-07-12 03:19:43 +08:00
xuyige
273657048f 更改文档内容 2019-07-12 01:47:51 +08:00
xuyige
9f3968d97b Merge remote-tracking branch 'origin/dev0.5.0' into dev0.5.0 2019-07-12 00:15:49 +08:00
xuyige
579bdb1356 更新DataSetLoader的文档以及对应教程 2019-07-12 00:15:15 +08:00
xuyige
2e523c6096 更新fastNLP框架图及流程图 2019-07-12 00:14:11 +08:00
ChenXin
df0bc2aec3 根据代码修改了文档 2019-07-12 00:04:06 +08:00
Yige XU
2c1a830b34
Merge pull request #190 from brxx122/master
[new] Update Readme.md and repair bugs with the modification of fastnlp 0.4.5
2019-07-11 22:25:01 +08:00
Danqing Wang
ec08564c1c add rouge in readme 2019-07-11 21:14:53 +08:00
Danqing Wang
897ed8a8d0 modify readme and update trainer.py 2019-07-11 21:11:49 +08:00
Yige XU
1dd8db7632
Merge pull request #188 from SrWYG/dev0.5.0
[verify] train_char_cnn optimization
2019-07-11 20:49:27 +08:00
ChenXin
6c7009dded tutorials 标题 2019-07-11 15:12:31 +08:00
Danqing Wang
2610c20c23
Merge pull request #6 from fastnlp/dev0.5.0
Dev0.5.0 pull request
2019-07-11 15:08:53 +08:00
yunfan
ca145d2050 fix import bug 2019-07-11 14:44:23 +08:00
wyg
efea6ceaf5 [verify] train_char_cnn optimization 2019-07-11 14:04:32 +08:00
ChenXin
3a74636dc0
Merge pull request #187 from fastnlp/tutorials
Tutorials
2019-07-11 13:33:17 +08:00