MCPcopy Create free account

hub / github.com/ChineseGLUE/ChineseGLUE / functions

Functions3,165 in github.com/ChineseGLUE/ChineseGLUE

↓ 1 callersMethodtie_weights
Make sure we are sharing the input and output embeddings. Export to TorchScript can't handle parameter sharing so we are cloning them in
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:592
↓ 1 callersMethodtie_weights
Make sure we are sharing the input and output embeddings. Export to TorchScript can't handle parameter sharing so we are cloning them in
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:667
↓ 1 callersMethodtie_weights
Make sure we are sharing the input and output embeddings. Export to TorchScript can't handle parameter sharing so we are cloning them ins
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:494
↓ 1 callersMethodtie_weights
Make sure we are sharing the input and output embeddings. Export to TorchScript can't handle parameter sharing so we are cloning them ins
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:588
↓ 1 callersMethodtie_weights
Make sure we are sharing the input and output embeddings. Export to TorchScript can't handle parameter sharing so we are cloning them ins
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:229
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models_pytorch/classifier_pytorch/transformers/configuration_utils.py:195
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models_pytorch/classifier_pytorch/processors/utils.py:44
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models_pytorch/classifier_pytorch/processors/utils.py:77
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:143
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:236
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models/roberta/modeling.py:97
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models/albert/modeling.py:97
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models/roberta_wwm_ext/modeling.py:97
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models/ernie/modeling.py:97
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models/bert_wwm_ext/modeling.py:97
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models/roberta_wwm_large_ext/modeling.py:97
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
baselines/models/bert/modeling.py:97
↓ 1 callersMethodto_json
Save XLNetConfig to a json file.
baselines/models/xlnet/xlnet.py:68
↓ 1 callersMethodto_json_file
Save this instance to a json file.
baselines/models_pytorch/classifier_pytorch/transformers/configuration_utils.py:204
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models_pytorch/classifier_pytorch/processors/utils.py:82
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:148
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:241
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models/roberta_wwm_ext/modeling.py:102
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models/ernie/modeling.py:102
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models/bert_wwm_ext/modeling.py:102
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models/roberta_wwm_large_ext/modeling.py:102
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
baselines/models/bert/modeling.py:102
↓ 1 callersMethodtokenize
Converts a string in a sequence of tokens (string), using the tokenizer. Split in words for word-based vocabulary or sub-words for sub-wo
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_utils.py:601
↓ 1 callersFunctiontrain
Train the model
baselines/models_pytorch/classifier_pytorch/run_classifier.py:59
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
baselines/models/roberta/modeling.py:754
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
baselines/models/roberta_wwm_ext/modeling.py:754
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
baselines/models/ernie/modeling.py:754
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
baselines/models/bert_wwm_ext/modeling.py:754
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
baselines/models/roberta_wwm_large_ext/modeling.py:754
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
baselines/models/bert/modeling.py:754
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
baselines/models/roberta/create_pretraining_data.py:579
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
baselines/models/albert/resources/create_pretraining_data_roberta.py:579
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
baselines/models/roberta_wwm_ext/create_pretraining_data.py:418
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
baselines/models/ernie/create_pretraining_data.py:418
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
baselines/models/bert_wwm_ext/create_pretraining_data.py:418
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
baselines/models/roberta_wwm_large_ext/create_pretraining_data.py:418
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
baselines/models/bert/create_pretraining_data.py:418
↓ 1 callersMethodtruncate_sequences
Truncates a sequence pair in place to the maximum length. truncation_strategy: string selected in the following options: -
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_utils.py:882
↓ 1 callersFunctiontwo_stream_rel_attn
Two-stream attention with relative positional encoding.
baselines/models/xlnet/modeling.py:319
↓ 1 callersMethodunflatten_features_and_labels
Restores the flattened inputs to original features and labels form. Args: flattened_inputs: Flattened inputs for each shard. Ret
baselines/models/xlnet/tpu_estimator.py:1116
↓ 1 callersFunctionuniq
(iterable)
baselines/models/roberta/conlleval.py:147
↓ 1 callersFunctionuniq
(iterable)
baselines/models/roberta_wwm_ext/conlleval.py:147
↓ 1 callersFunctionuniq
(iterable)
baselines/models/ernie/conlleval.py:147
↓ 1 callersFunctionuniq
(iterable)
baselines/models/bert_wwm_ext/conlleval.py:147
↓ 1 callersFunctionuniq
(iterable)
baselines/models/roberta_wwm_large_ext/conlleval.py:147
↓ 1 callersFunctionuniq
(iterable)
baselines/models/bert/conlleval.py:147
↓ 1 callersFunctionurl_to_filename
Convert `url` into a hashed filename in a repeatable way. If `etag` is specified, append its hash to the url's, delimited by a period.
baselines/models_pytorch/classifier_pytorch/transformers/file_utils.py:105
↓ 1 callersFunctionurl_to_filename
Convert `url` into a hashed filename in a repeatable way. If `etag` is specified, append its hash to the url's, delimited by a period.
baselines/models_pytorch/mrc_pytorch/tools/file_utils.py:29
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
baselines/models/roberta_wwm_ext/run_squad.py:1097
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
baselines/models/ernie/run_squad.py:1097
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
baselines/models/bert_wwm_ext/run_squad.py:1097
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
baselines/models/roberta_wwm_large_ext/run_squad.py:1097
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
baselines/models/bert/run_squad.py:1097
↓ 1 callersFunctionwarmup_linear
(x, warmup=0.002)
baselines/models_pytorch/mrc_pytorch/tools/pytorch_optimization.py:36
↓ 1 callersFunctionwhite_space_fix
(text)
baselines/models/xlnet/squad_utils.py:50
↓ 1 callersFunctionwhitespace_tokenize
Runs basic whitespace cleaning and splitting on a peice of text.
baselines/models_pytorch/mrc_pytorch/preprocess/DRCD_preprocess.py:12
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/roberta/create_pretraining_data.py:98
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/albert/create_pretraining_data.py:99
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/albert/resources/create_pretraining_data_roberta.py:98
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/roberta_wwm_ext/create_pretraining_data.py:96
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/ernie/create_pretraining_data.py:96
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/bert_wwm_ext/create_pretraining_data.py:96
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/roberta_wwm_large_ext/create_pretraining_data.py:96
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
baselines/models/bert/create_pretraining_data.py:96
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
baselines/models_pytorch/mrc_pytorch/preprocess/cmrc2018_output.py:159
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
baselines/models/roberta_wwm_ext/run_squad.py:741
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
baselines/models/ernie/run_squad.py:741
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
baselines/models/bert_wwm_ext/run_squad.py:741
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
baselines/models/roberta_wwm_large_ext/run_squad.py:741
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
baselines/models/bert/run_squad.py:741
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
baselines/models/xlnet/run_cmrc_drcd.py:735
↓ 1 callersFunctionwrite_tokens
(tokens, mode)
baselines/models/roberta/run_ner.py:346
↓ 1 callersFunctionwrite_tokens
(tokens, mode)
baselines/models/roberta_wwm_ext/run_ner.py:346
↓ 1 callersFunctionwrite_tokens
(tokens, mode)
baselines/models/ernie/run_ner.py:346
↓ 1 callersFunctionwrite_tokens
(tokens, mode)
baselines/models/bert_wwm_ext/run_ner.py:346
↓ 1 callersFunctionwrite_tokens
(tokens, mode)
baselines/models/roberta_wwm_large_ext/run_ner.py:346
↓ 1 callersFunctionwrite_tokens
(tokens, mode)
baselines/models/bert/run_ner.py:353
MethodAddOp
(self, op)
baselines/models/xlnet/tpu_estimator.py:3091
Method__call__
(self, step, info={})
baselines/models_pytorch/classifier_pytorch/tools/progressbar.py:17
Method__contains__
(self, k)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:93
Method__enter__
(self)
baselines/models/xlnet/tpu_estimator.py:3097
Method__eq__
(self, other)
baselines/models_pytorch/classifier_pytorch/transformers/configuration_utils.py:189
Method__exit__
(self, _, __, ___)
baselines/models/xlnet/tpu_estimator.py:3104
Method__getitem__
(self, k)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:86
Method__getstate__
(self)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_xlnet.py:96
Method__init_
(self)
baselines/models/roberta/run_ner.py:221
Method__init_
(self)
baselines/models/roberta/run_ner.py:285
Method__init_
(self)
baselines/models/roberta_wwm_ext/run_ner.py:221
Method__init_
(self)
baselines/models/roberta_wwm_ext/run_ner.py:285
Method__init_
(self)
baselines/models/ernie/run_ner.py:221
Method__init_
(self)
baselines/models/ernie/run_ner.py:285
Method__init_
(self)
baselines/models/bert_wwm_ext/run_ner.py:221
Method__init_
(self)
baselines/models/bert_wwm_ext/run_ner.py:285
Method__init_
(self)
baselines/models/roberta_wwm_large_ext/run_ner.py:221
Method__init_
(self)
baselines/models/roberta_wwm_large_ext/run_ner.py:285
← previousnext →1,401–1,500 of 3,165, ranked by callers