Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZhuiyiTechnology/WoBERT
/ functions
Functions
39 in github.com/ZhuiyiTechnology/WoBERT
⨍
Functions
39
◇
Types & classes
17
↓ 5 callers
Method
predict
(self, inputs, output_ids, states)
test/csl.py:103
↓ 3 callers
Function
evaluate
(data)
test/sentiment.py:95
↓ 3 callers
Function
load_data
(filename)
test/csl.py:35
↓ 3 callers
Function
load_data
(filename)
test/lcsts.py:35
↓ 3 callers
Function
load_data
(filename)
test/sentiment.py:26
↓ 2 callers
Function
load_data
(filename)
test/tnews.py:28
↓ 2 callers
Function
load_data
(filename)
test/iflytek.py:27
↓ 1 callers
Function
corpus
语料生成器
train.py:32
↓ 1 callers
Function
evaluate
(data)
test/tnews.py:100
↓ 1 callers
Function
evaluate
(data)
test/iflytek.py:99
↓ 1 callers
Method
evaluate
(self, data, topk=1)
test/csl.py:134
↓ 1 callers
Method
evaluate
(self, data, topk=1)
test/lcsts.py:134
↓ 1 callers
Method
generate
(self, text, topk=1)
test/csl.py:109
↓ 1 callers
Method
generate
(self, text, topk=1)
test/lcsts.py:109
↓ 1 callers
Function
random_masking
对输入进行随机mask
train.py:88
↓ 1 callers
Function
text_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
Method
compute_loss
(self, inputs, mask=None)
train.py:133
Method
compute_loss
(self, inputs, mask=None)
test/csl.py:78
Method
compute_loss
(self, inputs, mask=None)
test/lcsts.py:78
Method
on_epoch_end
(self, epoch, logs=None)
train.py:175
Method
on_epoch_end
(self, epoch, logs=None)
test/tnews.py:114
Method
on_epoch_end
(self, epoch, logs=None)
test/csl.py:126
Method
on_epoch_end
(self, epoch, logs=None)
test/lcsts.py:126
Method
on_epoch_end
(self, epoch, logs=None)
test/sentiment.py:109
Method
on_epoch_end
(self, epoch, logs=None)
test/iflytek.py:113
Method
predict
(self, inputs, output_ids, states)
test/lcsts.py:103
Function
predict_to_file
输出预测结果到文件 结果文件可以提交到 https://www.cluebenchmarks.com 评测。
test/tnews.py:125
Function
predict_to_file
输出预测结果到文件 结果文件可以提交到 https://www.cluebenchmarks.com 评测。
test/iflytek.py:124