MCPcopy Create free account

hub / github.com/ChineseGLUE/ChineseGLUE / functions

Functions3,165 in github.com/ChineseGLUE/ChineseGLUE

↓ 1 callersMethod__init__
(self, *args, **kwargs)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_transfo_xl.py:487
↓ 1 callersMethod__init__
Reference : https://github.com/tensorflow/tensorflow/blob/r1.10/tensorflow/python/ops/candidate_sampling_ops.py `P(class) = (log(
baselines/models_pytorch/classifier_pytorch/transformers/modeling_transfo_xl_utilities.py:261
↓ 1 callersMethod__init__
Constructs a LAMBOptimizer.
baselines/models/albert/optimization.py:195
↓ 1 callersMethod__repr__
(self)
baselines/models/roberta_wwm_ext/run_squad.py:182
↓ 1 callersMethod__repr__
(self)
baselines/models/ernie/run_squad.py:182
↓ 1 callersMethod__repr__
(self)
baselines/models/bert_wwm_ext/run_squad.py:182
↓ 1 callersMethod__repr__
(self)
baselines/models/roberta_wwm_large_ext/run_squad.py:182
↓ 1 callersMethod__repr__
(self)
baselines/models/bert/run_squad.py:182
↓ 1 callersMethod__repr__
(self)
baselines/models/xlnet/run_cmrc_drcd.py:184
↓ 1 callersMethod__str__
(self)
baselines/models/roberta/create_pretraining_data.py:81
↓ 1 callersMethod__str__
(self)
baselines/models/albert/create_pretraining_data.py:82
↓ 1 callersMethod__str__
(self)
baselines/models/albert/resources/create_pretraining_data_roberta.py:81
↓ 1 callersMethod__str__
(self)
baselines/models/roberta_wwm_ext/create_pretraining_data.py:79
↓ 1 callersMethod__str__
(self)
baselines/models/ernie/create_pretraining_data.py:79
↓ 1 callersMethod__str__
(self)
baselines/models/bert_wwm_ext/create_pretraining_data.py:79
↓ 1 callersMethod__str__
(self)
baselines/models/roberta_wwm_large_ext/create_pretraining_data.py:79
↓ 1 callersMethod__str__
(self)
baselines/models/bert/create_pretraining_data.py:79
↓ 1 callersMethod_assertCompilationSucceeded
(self, result, coord)
baselines/models/xlnet/tpu_estimator.py:493
↓ 1 callersMethod_attn
(self, q, k, v, attention_mask=None, head_mask=None)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_gpt2.py:143
↓ 1 callersMethod_attn
(self, q, k, v, attention_mask=None, head_mask=None)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:166
↓ 1 callersMethod_augment_model_fn
Returns a new model_fn, which wraps the TPU support.
baselines/models/xlnet/tpu_estimator.py:2527
↓ 1 callersMethod_build_from_file
(self, vocab_file)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_transfo_xl.py:133
↓ 1 callersFunction_cache_mem
cache hidden states into memory.
baselines/models/xlnet/modeling.py:189
↓ 1 callersMethod_call_model_fn
(self, features, labels, mode, config)
baselines/models/xlnet/tpu_estimator.py:2268
↓ 1 callersMethod_call_model_fn_for_inference
Wraps `_call_model_fn` for `export_savedmodel`.
baselines/models/xlnet/tpu_estimator.py:2275
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models_pytorch/mrc_pytorch/preprocess/cmrc2018_preprocess.py:49
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models_pytorch/mrc_pytorch/preprocess/DRCD_preprocess.py:58
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models/roberta_wwm_ext/run_squad.py:513
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models/ernie/run_squad.py:513
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models/bert_wwm_ext/run_squad.py:513
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models/roberta_wwm_large_ext/run_squad.py:513
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models/bert/run_squad.py:513
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
baselines/models/xlnet/run_cmrc_drcd.py:640
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_bert.py:391
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models_pytorch/mrc_pytorch/tools/offical_tokenization.py:232
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models/roberta/tokenization.py:288
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models/albert/tokenization.py:288
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models/roberta_wwm_ext/tokenization.py:286
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models/ernie/tokenization.py:286
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models/bert_wwm_ext/tokenization.py:286
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models/roberta_wwm_large_ext/tokenization.py:286
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
baselines/models/bert/tokenization.py:286
↓ 1 callersFunction_clone_export_output_with_tensors
Clones `export_output` but with new `tensors`. Args: export_output: an `ExportOutput` object such as `ClassificationOutput`, `RegressionO
baselines/models/xlnet/tpu_estimator.py:2842
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
baselines/models/roberta_wwm_ext/run_squad.py:1035
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
baselines/models/ernie/run_squad.py:1035
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
baselines/models/bert_wwm_ext/run_squad.py:1035
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
baselines/models/roberta_wwm_large_ext/run_squad.py:1035
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
baselines/models/bert/run_squad.py:1035
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
baselines/models/xlnet/run_cmrc_drcd.py:894
↓ 1 callersFunction_convert_example
Cast int64 into int32 and float32 to bfloat16 if use_bfloat16.
baselines/models/xlnet/data_utils.py:531
↓ 1 callersFunction_create_data
(idx, input_paths)
baselines/models/xlnet/data_utils.py:79
↓ 1 callersFunction_create_global_step
(graph)
baselines/models/xlnet/tpu_estimator.py:123
↓ 1 callersMethod_create_infeed_controller
(self, name, target, args)
baselines/models/xlnet/tpu_estimator.py:490
↓ 1 callersFunction_create_mask
create causal attention mask.
baselines/models/xlnet/modeling.py:175
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta/run_pretraining.py:393
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta/run_classifier.py:892
↓ 1 callersFunction_decode_record
(record, name_to_features)
baselines/models/roberta/run_ner.py:477
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/albert/run_pretraining.py:396
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/albert/run_classifier.py:885
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta_wwm_ext/run_squad.py:701
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta_wwm_ext/run_pretraining.py:391
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta_wwm_ext/run_classifier.py:959
↓ 1 callersFunction_decode_record
(record, name_to_features)
baselines/models/roberta_wwm_ext/run_ner.py:477
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/ernie/run_squad.py:701
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/ernie/run_pretraining.py:391
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/ernie/run_classifier.py:998
↓ 1 callersFunction_decode_record
(record, name_to_features)
baselines/models/ernie/run_ner.py:477
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/bert_wwm_ext/run_squad.py:701
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/bert_wwm_ext/run_pretraining.py:391
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/bert_wwm_ext/run_classifier.py:1009
↓ 1 callersFunction_decode_record
(record, name_to_features)
baselines/models/bert_wwm_ext/run_ner.py:477
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta_wwm_large_ext/run_squad.py:701
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta_wwm_large_ext/run_pretraining.py:391
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/roberta_wwm_large_ext/run_classifier.py:1003
↓ 1 callersFunction_decode_record
(record, name_to_features)
baselines/models/roberta_wwm_large_ext/run_ner.py:477
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/bert/run_squad.py:701
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/bert/run_pretraining.py:391
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/bert/run_classifier.py:1002
↓ 1 callersFunction_decode_record
(record, name_to_features)
baselines/models/bert/run_ner.py:484
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/xlnet/run_classifier_thucnews.py:884
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/xlnet/run_classifier.py:862
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
baselines/models/xlnet/run_cmrc_drcd.py:940
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/roberta/optimization.py:188
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/roberta/optimization_finetuning.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/albert/optimization.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/albert/optimization.py:285
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/albert/optimization_finetuning.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/roberta_wwm_ext/optimization.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/ernie/optimization.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/bert_wwm_ext/optimization.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/roberta_wwm_large_ext/optimization.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/bert/optimization.py:159
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
baselines/models/xlnet/model_utils.py:370
↓ 1 callersFunction_eval_on_tpu_system
Executes `model_fn_wrapper` multiple times on all TPU shards.
baselines/models/xlnet/tpu_estimator.py:2876
↓ 1 callersFunction_export_output_to_tensors
Get a list of `Tensors` used in `export_output`. Args: export_output: an `ExportOutput` object such as `ClassificationOutput`, `Regressio
baselines/models/xlnet/tpu_estimator.py:2816
↓ 1 callersMethod_find_any_tensor
(batch_features)
baselines/models/xlnet/tpu_estimator.py:3431
↓ 1 callersMethod_flatten_input_dims
Flatten input dims with the same order as flattened input tensors.
baselines/models/xlnet/tpu_estimator.py:1052
↓ 1 callersMethod_from_pretrained
(cls, pretrained_model_name_or_path, *init_inputs, **kwargs)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_utils.py:286
↓ 1 callersFunction_get_initializer
Get variable intializer.
baselines/models/xlnet/xlnet.py:11
↓ 1 callersMethod_get_variable_name
Get the variable name from the tensor name.
baselines/models/roberta/optimization.py:198
← previousnext →701–800 of 3,165, ranked by callers