Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brightmart/roberta_zh
/ functions
Functions
123 in github.com/brightmart/roberta_zh
⨍
Functions
123
◇
Types & classes
14
Method
get_labels
See base class.
run_classifier.py:226
Method
get_labels
See base class.
run_classifier.py:711
Method
get_test_examples
See base class.
run_classifier.py:221
Method
get_test_examples
See base class.
run_classifier.py:706
Method
get_train_examples
See base class.
run_classifier.py:210
Method
get_train_examples
See base class.
run_classifier.py:695
Function
input_fn
The actual input function.
run_pretraining.py:333
Function
input_fn
The actual input function.
run_classifier.py:408
Function
input_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
run_classifier.py:594
Function
main
(_)
run_pretraining.py:408
Function
main
(_)
create_pretraining_data.py:597
Function
main
(_)
run_classifier.py:753
Function
metric_fn
Computes the loss and accuracy of the model.
run_pretraining.py:190
Function
metric_fn
(per_example_loss, label_ids, logits, is_real_example)
run_classifier.py:565
Function
model_fn
The `model_fn` for TPUEstimator.
run_pretraining.py:114
Function
model_fn
The `model_fn` for TPUEstimator.
run_classifier.py:505
Function
printable_text
Returns text encoded in a way suitable for print or `tf.logging`.
tokenization.py:98
Method
to_json_string
Serializes this instance to a JSON string.
modeling.py:102
Method
tokenize
Tokenizes a piece of text.
tokenization.py:198
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
tokenization.py:310
Function
tpu_scaffold
()
run_pretraining.py:162
Function
tpu_scaffold
()
run_classifier.py:536
Function
validate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
tokenization.py:28
← previous
101–123 of 123, ranked by callers