MCPcopy Create free account

hub / github.com/brightmart/bert_language_understanding / functions

Functions125 in github.com/brightmart/bert_language_understanding

Functionmain
(_)
train_bert_lm.py:54
Functionmain
(_)
train_bert_fine_tuning.py:60
Functionmain
(_)
train_transform.py:53
Functionmain
(_)
run_classifier_predict_online.py:323
Functionmask_language_model_multi_processing
generate data for perform mask language model. :parameter source_file: source file where raw data come from :parameter target_file: save
pretrain_task.py:141
Functionmulti_head_attention_for_sentence_vectorized
(layer_number)
model/multi_head_attention.py:118
Methodposition_wise_feed_forward_fc_fn
positional wise fully connected feed forward implement as original version. FFN(x) = max(0,xW1+b1)W2+b2 this function provide
model/poistion_wise_feed_forward.py:57
Functionpredict
()
model/bert_cnn_model.py:327
Functionpredict
()
model/transfomer_model.py:149
Functionpredict
()
model/bert_model.py:239
Functionprocess_one_chunk_lm
process one chunk for generate data of language model :return:
pretrain_task.py:217
Methodproject_tasks
project the representation, then to do classification. :param h: [batch_size,sequence_length,d_model] :return: logits: [batch
model/bert_cnn_model.py:156
Methodproject_tasks
project the representation, then to do classification. :param h: [batch_size,sequence_length,d_model] :return: logits: [batch
model/bert_model.py:143
Methodscaled_dot_product_attention_batch_mine
scaled dot product attention :param Q: query. shape:[batch,sequence_length,d_model] :param K_s: keys. shape:[batch,sequenc
model/multi_head_attention.py:56
Functiontest
()
model/layer_norm_residual_conn.py:48
Functiontest
()
model/encoder.py:115
Functiontest
()
model/poistion_wise_feed_forward.py:97
Functiontest_postion_wise_feed_forward
(encoder_class,x,layer_index)
model/encoder.py:101
Functiontest_sub_layer_multi_head_attention
(encoder_class,index_layer,Q,K_s,V_s)
model/encoder.py:105
Functiontrain
()
model/bert_cnn_model.py:294
Functiontrain
()
model/transfomer_model.py:119
Functiontrain
()
model/bert_model.py:206
Methodtrain_lm_old
based on the loss, use SGD to update parameter
model/bert_cnn_model.py:239
Methodtrain_old
based on the loss, use SGD to update parameter
model/bert_cnn_model.py:260
Functiontransform_mulitihot_as_dense_list
(multihot_list)
data_util_hdf5.py:207
← previous101–125 of 125, ranked by callers