MCPcopy Create free account

hub / github.com/brightmart/roberta_zh / functions

Functions123 in github.com/brightmart/roberta_zh

Methodget_labels
See base class.
run_classifier.py:226
Methodget_labels
See base class.
run_classifier.py:711
Methodget_test_examples
See base class.
run_classifier.py:221
Methodget_test_examples
See base class.
run_classifier.py:706
Methodget_train_examples
See base class.
run_classifier.py:210
Methodget_train_examples
See base class.
run_classifier.py:695
Functioninput_fn
The actual input function.
run_pretraining.py:333
Functioninput_fn
The actual input function.
run_classifier.py:408
Functioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
run_classifier.py:594
Functionmain
(_)
run_pretraining.py:408
Functionmain
(_)
create_pretraining_data.py:597
Functionmain
(_)
run_classifier.py:753
Functionmetric_fn
Computes the loss and accuracy of the model.
run_pretraining.py:190
Functionmetric_fn
(per_example_loss, label_ids, logits, is_real_example)
run_classifier.py:565
Functionmodel_fn
The `model_fn` for TPUEstimator.
run_pretraining.py:114
Functionmodel_fn
The `model_fn` for TPUEstimator.
run_classifier.py:505
Functionprintable_text
Returns text encoded in a way suitable for print or `tf.logging`.
tokenization.py:98
Methodto_json_string
Serializes this instance to a JSON string.
modeling.py:102
Methodtokenize
Tokenizes a piece of text.
tokenization.py:198
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the given voca
tokenization.py:310
Functiontpu_scaffold
()
run_pretraining.py:162
Functiontpu_scaffold
()
run_classifier.py:536
Functionvalidate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
tokenization.py:28
← previous101–123 of 123, ranked by callers