Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brightmart/text_classification
/ functions
Functions
642 in github.com/brightmart/text_classification
⨍
Functions
642
◇
Types & classes
45
Method
smoothing_cross_entropy
Cross entropy with label smoothing to limit over-confidence.
a08_EntityNetwork/a3_entity_network.py:224
Function
test
()
a05_HierarchicalAttentionNetwork/p1_HierarchicalAttention_model.py:393
Function
test
()
a05_HierarchicalAttentionNetwork/p1_HierarchicalAttention_model_transformer.py:429
Function
test
()
a05_HierarchicalAttentionNetwork/HAN_model.py:186
Function
test
()
aa4_TextCNN_with_RCNN/p72_TextCNN_with_RCNN_model.py:252
Function
test
()
a07_Transformer/a2_poistion_wise_feed_forward.py:72
Function
test
()
a07_Transformer/a2_layer_norm_residual_conn.py:48
Function
test
()
a07_Transformer/a2_attention_between_enc_dec.py:41
Function
test
()
a01_FastText/old_single_label/p5_fastTextB_model.py:93
Function
test
()
a02_TextCNN/p7_TextCNN_model.py:206
Function
test
()
a02_TextCNN/other_experiement/p7_TextCNN_model_multilayers.py:152
Function
test
()
a08_EntityNetwork/a3_entity_network.py:283
Function
test
()
a04_TextRCNN/p71_TextRCNN_model.py:182
Function
test
()
a04_TextRCNN/p71_TextRCNN_mode2.py:195
Function
test_decoder
()
a07_Transformer/a2_decoder.py:137
Function
test_decoder_single_layer
()
a07_Transformer/a2_decoder.py:130
Function
test_pad
()
aa1_data_util/data_util_zhihu.py:460
Function
test_pad
()
a07_Transformer/data_util_zhihu.py:459
Function
test_pad
()
a02_TextCNN/other_experiement/data_util_zhihu.py:461
Function
test_pad
()
a08_EntityNetwork/data_util_zhihu.py:459
Function
test_postion_wise_feed_forward
(encoder_class,x,layer_index)
a07_Transformer/a2_encoder.py:101
Function
test_predict
()
a07_Transformer/a2_transformer.py:187
Function
test_predict
()
a07_Transformer/a2_transformer_classification.py:181
Function
test_sub_layer_multi_head_attention
(encoder_class,index_layer,Q,K_s)
a07_Transformer/a2_encoder.py:97
Function
test_training
()
a07_Transformer/a2_transformer.py:142
Function
test_training
()
a07_Transformer/a2_transformer_classification.py:138
Function
test_training_batch
()
a07_Transformer/a2_transformer.py:231
Method
to_json_string
Serializes this instance to a JSON string.
a00_Bert/bert_modeling.py:101
Method
tokenize
Tokenizes a piece of text.
a00_Bert/tokenization.py:145
Method
tokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the given voca
a00_Bert/tokenization.py:257
Function
tpu_scaffold
()
a00_Bert/unused/run_classifier_multi_labels_bert.py:785
Function
train
()
a09_DynamicMemoryNet/a8_dynamic_memory_network.py:315
Method
train_old
based on the loss, use SGD to update parameter
a02_TextCNN/p7_TextCNN_model.py:185
Method
train_old
based on the loss, use SGD to update parameter
a02_TextCNN/other_experiement/p7_TextCNN_model_multilayers.py:142
Function
transform_multilabel_as_multihotO
(label_list,label_size=1999)
aa1_data_util/data_util_zhihu.py:398
Function
transform_multilabel_as_multihotO
(label_list,label_size=1999)
a07_Transformer/data_util_zhihu.py:398
Function
transform_multilabel_as_multihotO
(label_list,label_size=1999)
a02_TextCNN/other_experiement/data_util_zhihu.py:400
Function
transform_multilabel_as_multihotO
(label_list,label_size=1999)
a08_EntityNetwork/data_util_zhihu.py:398
Function
write_uigram_to_trigram
()
aa1_data_util/data_util_zhihu.py:454
Function
write_uigram_to_trigram
()
a07_Transformer/data_util_zhihu.py:453
Function
write_uigram_to_trigram
()
a02_TextCNN/other_experiement/data_util_zhihu.py:455
Function
write_uigram_to_trigram
()
a08_EntityNetwork/data_util_zhihu.py:453
← previous
601–642 of 642, ranked by callers