MCPcopy Create free account

hub / github.com/ZhuiyiTechnology/WoBERT / functions

Functions39 in github.com/ZhuiyiTechnology/WoBERT

↓ 5 callersMethodpredict
(self, inputs, output_ids, states)
test/csl.py:103
↓ 3 callersFunctionevaluate
(data)
test/sentiment.py:95
↓ 3 callersFunctionload_data
(filename)
test/csl.py:35
↓ 3 callersFunctionload_data
(filename)
test/lcsts.py:35
↓ 3 callersFunctionload_data
(filename)
test/sentiment.py:26
↓ 2 callersFunctionload_data
(filename)
test/tnews.py:28
↓ 2 callersFunctionload_data
(filename)
test/iflytek.py:27
↓ 1 callersFunctioncorpus
语料生成器
train.py:32
↓ 1 callersFunctionevaluate
(data)
test/tnews.py:100
↓ 1 callersFunctionevaluate
(data)
test/iflytek.py:99
↓ 1 callersMethodevaluate
(self, data, topk=1)
test/csl.py:134
↓ 1 callersMethodevaluate
(self, data, topk=1)
test/lcsts.py:134
↓ 1 callersMethodgenerate
(self, text, topk=1)
test/csl.py:109
↓ 1 callersMethodgenerate
(self, text, topk=1)
test/lcsts.py:109
↓ 1 callersFunctionrandom_masking
对输入进行随机mask
train.py:88
↓ 1 callersFunctiontext_process
分割文本
train.py:44
Method__init__
(self)
test/tnews.py:111
Method__init__
(self)
test/csl.py:121
Method__init__
(self)
test/lcsts.py:121
Method__init__
(self)
test/sentiment.py:106
Method__init__
(self)
test/iflytek.py:110
Method__iter__
(self, random=False)
train.py:112
Method__iter__
(self, random=False)
test/tnews.py:57
Method__iter__
(self, random=False)
test/csl.py:60
Method__iter__
(self, random=False)
test/lcsts.py:60
Method__iter__
(self, random=False)
test/sentiment.py:51
Method__iter__
(self, random=False)
test/iflytek.py:56
Methodcompute_loss
(self, inputs, mask=None)
train.py:133
Methodcompute_loss
(self, inputs, mask=None)
test/csl.py:78
Methodcompute_loss
(self, inputs, mask=None)
test/lcsts.py:78
Methodon_epoch_end
(self, epoch, logs=None)
train.py:175
Methodon_epoch_end
(self, epoch, logs=None)
test/tnews.py:114
Methodon_epoch_end
(self, epoch, logs=None)
test/csl.py:126
Methodon_epoch_end
(self, epoch, logs=None)
test/lcsts.py:126
Methodon_epoch_end
(self, epoch, logs=None)
test/sentiment.py:109
Methodon_epoch_end
(self, epoch, logs=None)
test/iflytek.py:113
Methodpredict
(self, inputs, output_ids, states)
test/lcsts.py:103
Functionpredict_to_file
输出预测结果到文件 结果文件可以提交到 https://www.cluebenchmarks.com 评测。
test/tnews.py:125
Functionpredict_to_file
输出预测结果到文件 结果文件可以提交到 https://www.cluebenchmarks.com 评测。
test/iflytek.py:124