MCPcopy Create free account

hub / github.com/ChineseGLUE/ChineseGLUE / functions

Functions3,165 in github.com/ChineseGLUE/ChineseGLUE

↓ 1 callersMethodget_test_examples
Gets a collection of `InputExample`s for prediction.
baselines/models/xlnet/run_classifier_thucnews.py:178
↓ 1 callersFunctionget_total_parameters
get total parameters of a graph :return:
baselines/models/albert/test_changes.py:16
↓ 1 callersMethodget_train_examples
See base class.
baselines/models_pytorch/classifier_pytorch/processors/glue.py:522
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/roberta/run_classifier.py:595
↓ 1 callersMethodget_train_examples
(self, data_dir)
baselines/models/roberta/run_ner.py:193
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/albert/run_classifier.py:546
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/roberta_wwm_ext/run_classifier.py:653
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/ernie/run_classifier.py:772
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/bert_wwm_ext/run_classifier.py:702
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/roberta_wwm_large_ext/run_classifier.py:697
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/bert/run_classifier.py:696
↓ 1 callersMethodget_train_examples
(self, data_dir)
baselines/models/xlnet/run_classifier_thucnews.py:721
↓ 1 callersMethodget_train_examples
See base class.
baselines/models/xlnet/run_classifier.py:465
↓ 1 callersMethodget_unreachable_ops
Finds all of the tensors in graph that are unreachable from outputs.
baselines/models/roberta_wwm_ext/modeling_test.py:194
↓ 1 callersMethodget_unreachable_ops
Finds all of the tensors in graph that are unreachable from outputs.
baselines/models/ernie/modeling_test.py:194
↓ 1 callersMethodget_unreachable_ops
Finds all of the tensors in graph that are unreachable from outputs.
baselines/models/bert_wwm_ext/modeling_test.py:194
↓ 1 callersMethodget_unreachable_ops
Finds all of the tensors in graph that are unreachable from outputs.
baselines/models/roberta_wwm_large_ext/modeling_test.py:194
↓ 1 callersMethodget_unreachable_ops
Finds all of the tensors in graph that are unreachable from outputs.
baselines/models/bert/modeling_test.py:194
↓ 1 callersFunctionhttp_get
(url, temp_file, proxies=None)
baselines/models_pytorch/classifier_pytorch/transformers/file_utils.py:237
↓ 1 callersFunctionhttp_get
(url: str, temp_file: IO)
baselines/models_pytorch/mrc_pytorch/tools/file_utils.py:152
↓ 1 callersMethodinit_from_flags
(self, FLAGS)
baselines/models/xlnet/xlnet.py:58
↓ 1 callersMethodinit_from_json
(self, json_path)
baselines/models/xlnet/xlnet.py:62
↓ 1 callersFunctioninit_logger
Example: >>> init_logger(log_file) >>> logger.info("abc'")
baselines/models_pytorch/classifier_pytorch/tools/common.py:20
↓ 1 callersFunctioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
baselines/models/roberta_wwm_ext/extract_features.py:100
↓ 1 callersFunctioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
baselines/models/ernie/extract_features.py:100
↓ 1 callersFunctioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
baselines/models/bert_wwm_ext/extract_features.py:100
↓ 1 callersFunctioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
baselines/models/roberta_wwm_large_ext/extract_features.py:100
↓ 1 callersFunctioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
baselines/models/bert/extract_features.py:100
↓ 1 callersMethodis_follow
(self, chars)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:53
↓ 1 callersFunctionis_fuhao
(c)
baselines/models_pytorch/mrc_pytorch/preprocess/cmrc2018_preprocess.py:105
↓ 1 callersFunctionis_fuhao
(c)
baselines/models_pytorch/mrc_pytorch/preprocess/DRCD_preprocess.py:124
↓ 1 callersMethodis_original_long_word
(self)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:50
↓ 1 callersFunctionis_whitespace
(c)
baselines/models_pytorch/mrc_pytorch/preprocess/cmrc2018_preprocess.py:127
↓ 1 callersFunctionis_whitespace
(c)
baselines/models_pytorch/mrc_pytorch/preprocess/DRCD_preprocess.py:146
↓ 1 callersFunctionis_whitespace
(c)
baselines/models/roberta_wwm_ext/run_squad.py:232
↓ 1 callersFunctionis_whitespace
(c)
baselines/models/ernie/run_squad.py:232
↓ 1 callersFunctionis_whitespace
(c)
baselines/models/bert_wwm_ext/run_squad.py:232
↓ 1 callersFunctionis_whitespace
(c)
baselines/models/roberta_wwm_large_ext/run_squad.py:232
↓ 1 callersFunctionis_whitespace
(c)
baselines/models/bert/run_squad.py:232
↓ 1 callersMethodja_tokenize
(self, text)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_xlm.py:596
↓ 1 callersFunctionlayer_norm
Run layer normalization on the last dimension of the tensor.
baselines/models/albert/run_classifier.py:999
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
baselines/models/roberta/modeling.py:368
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
baselines/models/albert/modeling.py:390
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
baselines/models/roberta_wwm_ext/modeling.py:368
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
baselines/models/ernie/modeling.py:368
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
baselines/models/bert_wwm_ext/modeling.py:368
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
baselines/models/roberta_wwm_large_ext/modeling.py:368
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
baselines/models/bert/modeling.py:368
↓ 1 callersFunctionlayer_scope
(idx, shared_type)
baselines/models/albert/modeling.py:1150
↓ 1 callersFunctionload_tf_weights_in_albert
Load tf checkpoints in a pytorch model.
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:47
↓ 1 callersFunctionload_tf_weights_in_bert
Load tf checkpoints in a pytorch model.
baselines/models_pytorch/classifier_pytorch/transformers/modeling_bert.py:55
↓ 1 callersFunctionload_tf_weights_in_xlnet
Load tf checkpoints in a pytorch model
baselines/models_pytorch/classifier_pytorch/transformers/modeling_xlnet.py:115
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_bert.py:89
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models_pytorch/mrc_pytorch/tools/offical_tokenization.py:42
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models/roberta/tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models/albert/tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models/roberta_wwm_ext/tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models/ernie/tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models/bert_wwm_ext/tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models/roberta_wwm_large_ext/tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
baselines/models/bert/tokenization.py:121
↓ 1 callersMethodlog_prob
r""" Computes log probabilities for all :math:`n\_classes` From: https://github.com/pytorch/pytorch/blob/master/torch/nn/modules/adaptive.py
baselines/models_pytorch/classifier_pytorch/transformers/modeling_transfo_xl_utilities.py:198
↓ 1 callersFunctionlower
(text)
baselines/models/xlnet/squad_utils.py:55
↓ 1 callersFunctionlowercase_and_remove_accent
Lowercase and strips accents from a piece of text based on https://github.com/facebookresearch/XLM/blob/master/tools/lowercase_and_remove_acc
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_xlm.py:428
↓ 1 callersFunctionmain
()
baselines/models_pytorch/classifier_pytorch/run_classifier.py:332
↓ 1 callersFunctionmain
()
baselines/models_pytorch/classifier_pytorch/transformers/__main__.py:2
↓ 1 callersFunctionmain
(argv)
baselines/models/roberta/conlleval.py:289
↓ 1 callersFunctionmain
(argv)
baselines/models/roberta_wwm_ext/conlleval.py:289
↓ 1 callersFunctionmain
(argv)
baselines/models/ernie/conlleval.py:289
↓ 1 callersFunctionmain
(argv)
baselines/models/bert_wwm_ext/conlleval.py:289
↓ 1 callersFunctionmain
(argv)
baselines/models/roberta_wwm_large_ext/conlleval.py:289
↓ 1 callersFunctionmain
(argv)
baselines/models/bert/conlleval.py:289
↓ 1 callersFunctionmain
()
baselines/models/xlnet/squad_utils.py:271
↓ 1 callersFunctionmake_qid_to_has_ans
(dataset)
baselines/models/xlnet/squad_utils.py:37
↓ 1 callersMethodmerge_heads
(self, x)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_gpt2.py:167
↓ 1 callersMethodmerge_heads
(self, x)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:191
↓ 1 callersFunctionmetric_fn
(per_example_loss, label_ids, logits, is_real_example)
baselines/models/xlnet/run_classifier_thucnews.py:959
↓ 1 callersFunctionmetric_fn
(per_example_loss, label_ids, logits, is_real_example)
baselines/models/xlnet/run_classifier.py:937
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/roberta/run_pretraining.py:109
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/roberta/run_classifier.py:999
↓ 1 callersFunctionmodel_fn_builder
(bert_config, num_labels, init_checkpoint, learning_rate, num_train_steps, num_warmup_ste
baselines/models/roberta/run_ner.py:548
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/albert/run_pretraining.py:109
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/albert/run_classifier.py:1005
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/roberta_wwm_ext/run_squad.py:590
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/roberta_wwm_ext/run_classifier_with_tfhub.py:87
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/roberta_wwm_ext/run_pretraining.py:109
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/roberta_wwm_ext/run_classifier.py:1057
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/roberta_wwm_ext/extract_features.py:148
↓ 1 callersFunctionmodel_fn_builder
(bert_config, num_labels, init_checkpoint, learning_rate, num_train_steps, num_warmup_ste
baselines/models/roberta_wwm_ext/run_ner.py:548
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/ernie/run_squad.py:590
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/ernie/run_classifier_with_tfhub.py:87
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/ernie/run_pretraining.py:109
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/ernie/run_classifier.py:1096
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/ernie/extract_features.py:148
↓ 1 callersFunctionmodel_fn_builder
(bert_config, num_labels, init_checkpoint, learning_rate, num_train_steps, num_warmup_ste
baselines/models/ernie/run_ner.py:548
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/bert_wwm_ext/run_squad.py:590
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/bert_wwm_ext/run_classifier_with_tfhub.py:87
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/bert_wwm_ext/run_pretraining.py:109
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/bert_wwm_ext/run_classifier.py:1107
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
baselines/models/bert_wwm_ext/extract_features.py:148
← previousnext →1,201–1,300 of 3,165, ranked by callers