Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Espoirzxl/bert-textcnn-for-multi-label-text-classfication
/ functions
Functions
8 in github.com/Espoirzxl/bert-textcnn-for-multi-label-text-classfication
⨍
Functions
8
◇
Types & classes
0
↓ 2 callers
Function
build_bert_textcnn_model
:param config_path: bert_config.json所在位置。 :param checkpoint_path: bert_model.ckpt所在位置。 :param class_nums: 最终模型的输出的维度(分类的类别)。 :return:
bert_textcnn_model.py:28
↓ 2 callers
Function
encoding_text
(content_list)
model_train.py:32
↓ 2 callers
Function
load_data
(txt_file_path)
model_train.py:20
↓ 1 callers
Function
evaluate
()
model_evaluate.py:43
↓ 1 callers
Function
load_data
(txt_file_path)
model_evaluate.py:22
↓ 1 callers
Function
predict_single_text
(text)
model_evaluate.py:33
↓ 1 callers
Function
predict_single_text
(text)
model_predict.py:21
↓ 1 callers
Function
textcnn
(inputs)
bert_textcnn_model.py:9