Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HuiResearch/cail2019_track2
/ functions
Functions
274 in github.com/HuiResearch/cail2019_track2
⨍
Functions
274
◇
Types & classes
35
Method
getLogits
(self)
utils/models.py:91
Function
getMatch
添加规则测试,采用正则表达式匹配,最后与模型结果取并集
evaluation.py:34
Method
getPre
(arr, id2label)
utils/predict.py:155
Method
getPredictLabel
(array, id2label)
utils/predict.py:162
Function
get_assignment_map_from_checkpoint
Compute the union of the current variables and checkpoint variables.
bert/modeling.py:317
Method
get_dev_examples
See base class.
train.py:274
Method
get_dev_examples
See base class.
bert/run_classifier.py:232
Method
get_dev_examples
See base class.
bert/run_classifier.py:263
Method
get_dev_examples
See base class.
bert/run_classifier.py:304
Method
get_dev_examples
See base class.
bert/run_classifier.py:344
Method
get_labels
See base class.
train.py:284
Method
get_labels
See base class.
bert/run_classifier.py:250
Method
get_labels
See base class.
bert/run_classifier.py:274
Method
get_labels
See base class.
bert/run_classifier.py:314
Method
get_labels
See base class.
bert/run_classifier.py:354
Method
get_test_examples
See base class.
train.py:279
Method
get_test_examples
See base class.
bert/run_classifier.py:269
Method
get_test_examples
See base class.
bert/run_classifier.py:309
Method
get_test_examples
See base class.
bert/run_classifier.py:349
Method
get_train_examples
See base class.
train.py:268
Method
get_train_examples
See base class.
bert/run_classifier.py:213
Method
get_train_examples
See base class.
bert/run_classifier.py:258
Method
get_train_examples
See base class.
bert/run_classifier.py:299
Method
get_train_examples
See base class.
bert/run_classifier.py:339
Function
input_fn
The actual input function.
train.py:480
Function
input_fn
The actual input function.
run_pretrain.py:341
Function
input_fn
The actual input function.
bert/run_squad.py:715
Function
input_fn
The actual input function.
bert/run_pretraining.py:331
Function
input_fn
The actual input function.
bert/run_classifier.py:535
Function
input_fn
The actual input function.
bert/extract_features.py:114
Function
input_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
train.py:738
Function
input_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
bert/run_classifier.py:713
Function
main
(_)
train.py:808
Function
main
(_)
createPretrainData.py:423
Function
main
(_)
run_pretrain.py:416
Function
main
(_)
bert/run_squad.py:1126
Function
main
(_)
bert/run_classifier_with_tfhub.py:158
Function
main
(_)
bert/run_pretraining.py:406
Function
main
(_)
bert/create_pretraining_data.py:409
Function
main
(_)
bert/run_classifier.py:783
Function
main
(_)
bert/extract_features.py:343
Function
metric_fn
(per_example_loss, label_ids, logits, is_real_example)
train.py:698
Function
metric_fn
Computes the loss and accuracy of the model.
run_pretrain.py:197
Function
metric_fn
(per_example_loss, label_ids, logits)
bert/run_classifier_with_tfhub.py:120
Function
metric_fn
Computes the loss and accuracy of the model.
bert/run_pretraining.py:187
Function
metric_fn
(per_example_loss, label_ids, logits, is_real_example)
bert/run_classifier.py:684
Function
model_fn
The `model_fn` for TPUEstimator.
train.py:637
Function
model_fn
The `model_fn` for TPUEstimator.
run_pretrain.py:124
Function
model_fn
The `model_fn` for TPUEstimator.
bert/run_squad.py:595
Function
model_fn
The `model_fn` for TPUEstimator.
bert/run_classifier_with_tfhub.py:91
Function
model_fn
The `model_fn` for TPUEstimator.
bert/run_pretraining.py:114
Function
model_fn
The `model_fn` for TPUEstimator.
bert/run_classifier.py:624
Function
model_fn
The `model_fn` for TPUEstimator.
bert/extract_features.py:152
Function
printable_text
Returns text encoded in a way suitable for print or `tf.logging`.
bert/tokenization.py:98
Function
readThreshold
读取json阈值文件
evaluation.py:14
Method
test_adam
(self)
bert/optimization_test.py:25
Method
test_basic_tokenizer_lower
(self)
bert/tokenization_test.py:58
Method
test_basic_tokenizer_no_lower
(self)
bert/tokenization_test.py:66
Method
test_chinese
(self)
bert/tokenization_test.py:51
Method
test_config_to_json_string
(self)
bert/modeling_test.py:129
Method
test_convert_tokens_to_ids
(self)
bert/tokenization_test.py:93
Method
test_default
(self)
bert/modeling_test.py:126
Method
test_full_tokenizer
(self)
bert/tokenization_test.py:28
Method
test_is_control
(self)
bert/tokenization_test.py:117
Method
test_is_punctuation
(self)
bert/tokenization_test.py:126
Method
test_is_whitespace
(self)
bert/tokenization_test.py:107
Method
test_wordpiece_tokenizer
(self)
bert/tokenization_test.py:73
Function
tpu_scaffold
()
train.py:669
Function
tpu_scaffold
()
run_pretrain.py:169
Function
tpu_scaffold
()
bert/run_squad.py:626
Function
tpu_scaffold
()
bert/run_pretraining.py:159
Function
tpu_scaffold
()
bert/run_classifier.py:655
Function
tpu_scaffold
()
bert/extract_features.py:178
Function
validate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
bert/tokenization.py:28
← previous
201–274 of 274, ranked by callers