yh_cc
ff8b9a37a7
修复Embedding注释错误与core.utils.py代码错误
5 years ago
ChenXin
4557202023
更新了 ControlC 的 API
5 years ago
yh_cc
18747e632e
修复Vocabulary在load的时候可能发生的bug
5 years ago
yh_cc
ab047a2aa3
新增对RobertaEmbedding和GPT2Embedding的支持
6 years ago
yh_cc
7398f2b0b2
1.增加RobertaEmbedding与GPT2Embedding
6 years ago
yh_cc
45139ebbff
BertEmbedding支持选择是否缩小词表
6 years ago
yh_cc
ace8aafdb2
修复BertEmbedding在include_cls_sep=True时,SEP位置的值不正确的问题
6 years ago
yh_cc
ba645f4483
1.将collect_fn修改为collate_fn使得与pytorch保持一致; 2.增加对BatchSampler的支持
6 years ago
yh_cc
367edb7ad1
修复move_to_device中device为None时可能出现错误的问题; BERTEmbedding中增加一个可选参数
6 years ago
yh_cc
a8aa1035d3
修复batch转tensor的bug; 新增对TorchLoaderIter的说明
6 years ago
yh_cc
885c74022c
增加对ConfusionMatrix的测试用例
6 years ago
yh_cc
7f01971321
调整涉及到多个field取batch的实现方式
6 years ago
yh_cc
dce1a73f53
Merge branch 'master' of github.com:fastnlp/fastNLP
6 years ago
yh_cc
8fe7a4f191
防止BERTEmbedding在中文场景下被错误使用
6 years ago
Yige Xu
56bf05adf1
Update test_classification.py
6 years ago
ChenXin
26ee41f923
DataSet 增加了 apply_more 和 apply_filed_more 两个新方法
6 years ago
yunfan
54dcc23ad7
[update] collect_fn keep tracks for field
6 years ago
yunfan
423e8e3746
[update] huge modify on collect_fn
6 years ago
yunfan
127d6d194b
[add] collect_fn for multi field combined inputs
6 years ago
yh_cc
5ffd46ae8d
Merge branch 'master' of github.com:fastnlp/fastNLP
6 years ago
yh_cc
8acb0f4ad6
1.新增Vocabulary的save与load功能; 2.修复BERTEmbedding drop_word的bug; 3.新增各种Embedding的使用注释
6 years ago
ChenXin
2d1500651f
三个纬度 check: DataSet Tutorial
6 years ago
yh_cc
9bed203a35
Merge branch 'master' of github.com:fastnlp/fastNLP
6 years ago
yh_cc
51e8c3c3b4
update static_embedding to make its property words_to_words is sequential
6 years ago
ROGERDJQ
f3ee16a5f6
[new] add ConfusionMatrix, ConfusionMatrixMetric ( #272 )
* add ConfusionMatrix, ConfusionMatrixMetric
* add confusionmatrix to utils
* add ConfusionMatrixmetric
* add ConfusionMatrixMetric
* init for test
* begin test
* test finish
* doc finish
6 years ago
Yige Xu
58762810ec
[update] Re-organize classification loader and pipe
6 years ago
yh_cc
4518a8fccb
[bug fix] test bug fix
6 years ago
yunfan
1139986b36
[bugfix] fix logger's logging level
6 years ago
yh_cc
9293a6c1ab
修复一个小bug
新增CheckPointCallback用于恢复Trainer的训练; CheckPointCallback会将optimizer,model以及Trainer的状态恢复到保存的epoch
6 years ago
yh_cc
03e9ca2147
修复CWSPipe中无法读取包含<, >的数据的问题 https://github.com/fastnlp/fastNLP/issues/258#issue-533768454
6 years ago
yh_cc
faec3245d4
update CMRC2018Metric测试
6 years ago
yh_cc
38fea0fcfa
1.增强CMRC2018Metric的使用范围; 2. StaticEmbedding支持仅使用来自于pretrain embedding的token
6 years ago
Yige Xu
be432c3b39
fix a bug in ClassifyFPRMetric
6 years ago
Yige Xu
0547572d58
add ClassifyFPRMetric
6 years ago
yh
f887da12a1
解决CrossEntropyLoss测试因为数值问题无法通过测试的问题
6 years ago
yh
9c0190fbd8
新增对CrossEntropyLoss中class_in_dim的测试
6 years ago
yh
70d572cb3e
Merge branch 'dev0.5.0' of https://github.com/fastnlp/fastNLP into dev0.5.0
6 years ago
yh
7e41b9d355
1.新增CMRC2018的metric,loss,pipe,loader等; 2. 新增中文Bert的使用教程
6 years ago
Yige Xu
209a8fedba
Update test_matching.py
6 years ago
Yige Xu
e3fd94070f
Merge pull request #232 from benbijituo/dev0.5.0
添加了TruncateBertPipe()并在LCQMC,BQCorpus,CNXNLI的全部数据上测试通过
6 years ago
Yige Xu
da2416a1b8
fix test bugs in: 1. use prettytable to print instance; 2. CNXNLI loader and pipe.
6 years ago
benbijituo
0431a958b0
修改了CNXNLI的_load(),可以处理特殊的instance格式如下:
“XXX\t"XXX\tXXX
6 years ago
yunfan
c73f327a3e
[bugfix] fix test cases
6 years ago
Yige Xu
ad95707718
1. reorganize auto download datasets in io/file_utils.py; 2. add auto download for CNNDM and THUCNews; 3. rename XNLI loader and pipe to CNXNLI*; 4. update documents in some download method.
6 years ago
Yige Xu
a4babc04e2
1. add summary loader; 2. reorganize code in ExtCNNDMPipe; 3. reorganize test data and code for ExtCNNDMPipe;
6 years ago
ChenXin
4f0ec4a081
add the test for EarlyStopCallback, BUG found!
6 years ago
ChenXin
d8fa75b058
add the test for ControlC callback
6 years ago
ChenXin
e28ecb8b33
hide the EchoCallback
6 years ago
ChenXin
0a4f17f4ce
add test for ModelSaver & ModelLoader
6 years ago
ChenXin
b874fba8f2
add the test for modules.utils.summary
6 years ago