Commit Graph

1344 Commits

Author SHA1 Message Date
ChenXin
df4c5a3d16 fix a lot of doc bugs in codes
TODO:
    split __init__'s doc and classes' doc
2019-09-10 15:52:32 +08:00
ChenXin
9e3251dff4 fix a lot of doc bugs in codes 2019-09-10 15:52:32 +08:00
yh
429dfe53c0 Merge branch 'dev0.5.0' of https://github.com/fastnlp/fastNLP into dev0.5.0 2019-09-10 12:48:31 +08:00
yh
9b8265dc7e 修复char_embedding bug 2019-09-10 12:39:57 +08:00
ChenXin
587edd5438 update the doc-checking tool 2019-09-10 11:08:27 +08:00
yh
164f74e12a Merge branch 'dev0.5.0' of https://github.com/fastnlp/fastNLP into dev0.5.0 2019-09-10 10:38:07 +08:00
yh
917cedf808 增加新的tutorial; 删除各embedding中requires_grad的设置,统一到基类实现 2019-09-10 10:38:02 +08:00
Yige Xu
0e0ba10ab5
Merge pull request #219 from HrWang96/loader-pr
[modify]dataset_loader.py的CSVLoader
2019-09-09 22:18:18 +08:00
Yige Xu
9d31ded8b8
Merge branch 'dev0.5.0' into loader-pr 2019-09-09 22:12:44 +08:00
Yige Xu
2fc14790c7
Merge pull request #217 from ZikaiGuo/dev0.5.0
[bugfix]Update transformer.py
2019-09-09 13:02:05 +08:00
ZikaiGuo
1caa83d0ca
Update transformer.py 2019-09-08 14:54:31 +02:00
学习的菜鸡红瑞
776840439f loader-pr 2019-09-08 16:28:53 +08:00
学习的菜鸡红瑞
53bcc0b26a loader-pr 2019-09-08 16:28:15 +08:00
yh_cc
8c8e22cc9b DataSet中增加print_field_meta方法,使得其可以获取field的input和target信息 2019-09-07 18:47:03 +08:00
yhcc
04a54df226
Update requirements.txt 2019-09-07 16:06:35 +08:00
unknown
2fbc1d7851 change the print format for dataset and instance 2019-09-07 15:22:43 +08:00
ChenXin
f004a070b4 update the doc tool 2019-09-05 15:13:08 +08:00
ChenXin
5b7e9b6572 update the ChnSentiCorpPipe in docs 2019-09-05 14:32:37 +08:00
ChenXin
b5a7db0b66 delete the output part in dot-utils 2019-09-05 14:31:38 +08:00
Yige Xu
880e3ad969 1. add mini_elmo.pkl and test codes for testing ElmoEmbedding; 2. update bert testing codes 2019-09-05 01:26:22 +08:00
yh
14d048f340 修复bert embedding的bug 2019-09-05 00:21:46 +08:00
ChenXin
60a535db08 fix a little error in doc.
TODO: fix the bug doc of the class which inherit the class from outer space
2019-09-04 17:15:21 +08:00
ChenXin
b1fe5f5321 split the class's doc & __init__'s doc (core part) 2019-09-04 16:53:31 +08:00
ChenXin
a2e3158488 update the auto alias tool 2019-09-04 15:50:01 +08:00
ChenXin
4caacadeae delete the alias in files. 2019-09-04 14:51:50 +08:00
ChenXin
3651d61f41 delete the alias in files. 2019-09-04 14:47:45 +08:00
ChenXin
113ef8b11a add code to detect the defined location automatically 2019-09-04 14:31:45 +08:00
yh_cc
e903db0e70 增加中文分类Pipe;使用矩阵加速BertEmbedding部分pool_method;调整部分测试用例名称;修复metric中对warning的误报 2019-09-04 12:47:52 +08:00
Yige Xu
d15ad75d96 fix a bug in test code 2019-09-03 23:33:10 +08:00
Yige Xu
b3718b10dc 1. rename init_embed to embed in models/*; 2. update documents in models/bert.py; 3. update tutorial six. 2019-09-03 23:19:18 +08:00
ChenXin
53f744a87d fix some bugs in docs 2019-09-02 19:43:28 +08:00
yh
1994029ab8 1.当前支持的encoding_type都支持从tag_vocab中自动判断;避免触发无意识导致的metric bug; 2. 修复部分inplace操作无法求导的问题; 3.Vocabulary将一些属性通过property暴露 2019-09-02 15:59:45 +08:00
Yige Xu
b9aa05f6cf add testing codes and data for loader and pipe. 2019-09-01 11:22:42 +08:00
yunfan
1c2ee50c47 [fix] EchoCallback 2019-09-01 10:31:14 +08:00
Yige Xu
091f24e393 fix some bugs in test code. 2019-09-01 10:15:11 +08:00
yh
dc2885c6bc 修复sequence labeling 测试报错 2019-09-01 02:00:03 +08:00
Yige Xu
4440801dbf 1. update bert.py and fix a bug in bert_embedding to adapt torch 1.2.0; 2. update models/bert.py and add BertForSentenceMatching model, now a BertEmbedding param should be passed to these five models; 3. create a small bert version for testing and modify test/models/test_bert.py; 4. move small glove and word2vec files to data_for_tests/embedding/small_static_embedding dir and fix relevant test codes; 5. delete some __init__.py files in test dir. 2019-09-01 01:19:10 +08:00
yunfan
bbda73c14f [update] transformer 2019-08-30 21:48:09 +08:00
yunfan
44af647839 [update] change data-loader to pipe 2019-08-30 21:48:08 +08:00
yunfan
82b5726686 update transformer 2019-08-30 21:48:08 +08:00
yh
9529f89abd 增加DataBundle的方法;增加BilSTMCRF的注释 2019-08-30 19:54:28 +08:00
lyhuang18
b134c9f7e7
Merge pull request #211 from lyhuang18/lyhuang-reproduction
datasetloader改成pipe
2019-08-30 01:23:41 +08:00
lyhuang18
9e6f4ffb8b datasetloader改成pipe 2019-08-30 01:21:59 +08:00
lyhuang18
f7d6ea20a4
Merge pull request #18 from fastnlp/dev0.5.0
Dev0.5.0
2019-08-30 00:48:47 +08:00
Yige Xu
0908c736eb fix code in BertModel.from_pretrained and BertEmbedding 2019-08-29 16:38:17 +08:00
yh_cc
1756e3ffdf 1.修复MNLILoader中的bug; 2.修复field中的tensor warning 2019-08-29 11:16:59 +08:00
yh_cc
146a004dee 修改travis converage设置 2019-08-29 10:12:30 +08:00
yhcc
09d0b74595
Update .travis.yml
TRAVIS默认已经加入了
2019-08-29 09:56:36 +08:00
Yige Xu
39de27f472 Update BertModel.from_pretrained function. Now can pass a model_dir_or_name instead of model_dir. 2019-08-29 08:19:36 +08:00
xuyige
8142bad87a Merge branch 'dev0.5.0' of https://github.com/fastnlp/fastNLP into dev0.5.0 2019-08-29 01:43:19 +08:00