MCPcopy Create free account

hub / github.com/ChineseGLUE/ChineseGLUE / functions

Functions3,165 in github.com/ChineseGLUE/ChineseGLUE

↓ 1 callersFunctioncreate_instances_from_document
Creates `TrainingInstance`s for a single document.
baselines/models/bert/create_pretraining_data.py:223
↓ 1 callersFunctioncreate_instances_from_document_albert
Creates `TrainingInstance`s for a single document. This method is changed to create sentence-order prediction (SOP) followed by idea from paper o
baselines/models/albert/create_pretraining_data.py:260
↓ 1 callersMethodcreate_mask
Creates causal attention mask. Float mask where 1.0 indicates masked, 0.0 indicates not-masked. Args: qlen: TODO Lysandr
baselines/models_pytorch/classifier_pytorch/transformers/modeling_xlnet.py:624
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
baselines/models/roberta_wwm_ext/create_pretraining_data.py:342
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
baselines/models/ernie/create_pretraining_data.py:342
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
baselines/models/bert_wwm_ext/create_pretraining_data.py:342
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
baselines/models/roberta_wwm_large_ext/create_pretraining_data.py:342
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
baselines/models/bert/create_pretraining_data.py:342
↓ 1 callersFunctioncreate_model
(args, pyreader_name, ernie_config, is_prediction=False)
baselines/models_pytorch/classifier_pytorch/convert_ernie_original_pad_checkpoint_to_pytorch.py:21
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/roberta/run_classifier.py:945
↓ 1 callersFunctioncreate_model
(bert_config, is_training, input_ids, input_mask, label_mask, segment_ids, labels, num_labels
baselines/models/roberta/run_ner.py:502
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/albert/run_classifier.py:938
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/roberta_wwm_ext/run_squad.py:550
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/roberta_wwm_ext/run_classifier_with_tfhub.py:37
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/roberta_wwm_ext/run_classifier.py:1012
↓ 1 callersFunctioncreate_model
(bert_config, is_training, input_ids, input_mask, label_mask, segment_ids, labels, num_labels
baselines/models/roberta_wwm_ext/run_ner.py:502
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/ernie/run_squad.py:550
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/ernie/run_classifier_with_tfhub.py:37
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/ernie/run_classifier.py:1051
↓ 1 callersFunctioncreate_model
(bert_config, is_training, input_ids, input_mask, label_mask, segment_ids, labels, num_labels
baselines/models/ernie/run_ner.py:502
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/bert_wwm_ext/run_squad.py:550
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/bert_wwm_ext/run_classifier_with_tfhub.py:37
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/bert_wwm_ext/run_classifier.py:1062
↓ 1 callersFunctioncreate_model
(bert_config, is_training, input_ids, input_mask, label_mask, segment_ids, labels, num_labels
baselines/models/bert_wwm_ext/run_ner.py:502
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/roberta_wwm_large_ext/run_squad.py:550
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/roberta_wwm_large_ext/run_classifier_with_tfhub.py:37
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/roberta_wwm_large_ext/run_classifier.py:1056
↓ 1 callersFunctioncreate_model
(bert_config, is_training, input_ids, input_mask, label_mask, segment_ids, labels, num_labels
baselines/models/roberta_wwm_large_ext/run_ner.py:502
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/bert/run_squad.py:550
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/bert/run_classifier_with_tfhub.py:37
↓ 1 callersFunctioncreate_model
Creates a classification model.
baselines/models/bert/run_classifier.py:1055
↓ 1 callersFunctioncreate_model
(bert_config, is_training, input_ids, input_mask, label_mask, segment_ids, labels, num_labels
baselines/models/bert/run_ner.py:509
↓ 1 callersMethodcreate_model
(self)
baselines/models/roberta_wwm_ext/modeling_test.py:71
↓ 1 callersMethodcreate_model
(self)
baselines/models/ernie/modeling_test.py:71
↓ 1 callersMethodcreate_model
(self)
baselines/models/bert_wwm_ext/modeling_test.py:71
↓ 1 callersMethodcreate_model
(self)
baselines/models/roberta_wwm_large_ext/modeling_test.py:71
↓ 1 callersMethodcreate_model
(self)
baselines/models/bert/modeling_test.py:71
↓ 1 callersFunctioncreate_sinusoidal_embeddings
(n_pos, dim, out)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_distilbert.py:52
↓ 1 callersFunctioncreate_sinusoidal_embeddings
(n_pos, dim, out)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_xlm.py:50
↓ 1 callersFunctioncreate_tfrecords
(save_dir, basename, data, bsz_per_host, seq_len, bi_data, sp)
baselines/models/xlnet/data_utils.py:395
↓ 1 callersMethodcreate_token_type_ids_from_sequences
(self, token_ids_0, token_ids_1=None)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_utils.py:922
↓ 1 callersFunctioncreate_tokenizer_from_hub_module
Get the vocab file and casing info from the Hub module.
baselines/models/roberta_wwm_ext/run_classifier_with_tfhub.py:146
↓ 1 callersFunctioncreate_tokenizer_from_hub_module
Get the vocab file and casing info from the Hub module.
baselines/models/ernie/run_classifier_with_tfhub.py:146
↓ 1 callersFunctioncreate_tokenizer_from_hub_module
Get the vocab file and casing info from the Hub module.
baselines/models/bert_wwm_ext/run_classifier_with_tfhub.py:146
↓ 1 callersFunctioncreate_tokenizer_from_hub_module
Get the vocab file and casing info from the Hub module.
baselines/models/roberta_wwm_large_ext/run_classifier_with_tfhub.py:146
↓ 1 callersFunctioncreate_tokenizer_from_hub_module
Get the vocab file and casing info from the Hub module.
baselines/models/bert/run_classifier_with_tfhub.py:146
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/roberta/create_pretraining_data.py:182
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/albert/create_pretraining_data.py:182
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/albert/resources/create_pretraining_data_roberta.py:182
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/roberta_wwm_ext/create_pretraining_data.py:179
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/ernie/create_pretraining_data.py:179
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/bert_wwm_ext/create_pretraining_data.py:179
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/roberta_wwm_large_ext/create_pretraining_data.py:179
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
baselines/models/bert/create_pretraining_data.py:179
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
baselines/models/roberta/modeling.py:380
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
baselines/models/roberta_wwm_ext/modeling.py:380
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
baselines/models/ernie/modeling.py:380
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
baselines/models/bert_wwm_ext/modeling.py:380
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
baselines/models/roberta_wwm_large_ext/modeling.py:380
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
baselines/models/bert/modeling.py:380
↓ 1 callersFunctionembedding_lookup
TPU and GPU embedding_lookup function.
baselines/models/xlnet/modeling.py:25
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
baselines/models/roberta/modeling.py:428
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
baselines/models/albert/modeling.py:507
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
baselines/models/roberta_wwm_ext/modeling.py:428
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
baselines/models/ernie/modeling.py:428
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
baselines/models/bert_wwm_ext/modeling.py:428
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
baselines/models/roberta_wwm_large_ext/modeling.py:428
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
baselines/models/bert/modeling.py:428
↓ 1 callersMethodend
(self)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:211
↓ 1 callersFunctionevaluate
(model, args, eval_examples, eval_features, device, global_steps, best_f1, best_em, best_f1_em)
baselines/models_pytorch/mrc_pytorch/run_mrc.py:19
↓ 1 callersFunctionevaluate
(ground_truth_file, prediction_file)
baselines/models_pytorch/mrc_pytorch/preprocess/cmrc2018_evaluate.py:77
↓ 1 callersFunctionevaluate
(ground_truth_file, prediction_file)
baselines/models/xlnet/cmrc2018_evaluate_drcd.py:79
↓ 1 callersFunctionevaluate2
(ground_truth_file, prediction_file)
baselines/models_pytorch/mrc_pytorch/preprocess/cmrc2018_evaluate.py:106
↓ 1 callersFunctionextract_weights
(args)
baselines/models_pytorch/classifier_pytorch/convert_ernie_original_pad_checkpoint_to_pytorch.py:149
↓ 1 callersFunctionfbeta
Multi-class fbeta metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pre
baselines/models/roberta/tf_metrics.py:97
↓ 1 callersFunctionfbeta
Multi-class fbeta metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pre
baselines/models/roberta_wwm_ext/tf_metrics.py:97
↓ 1 callersFunctionfbeta
Multi-class fbeta metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pre
baselines/models/ernie/tf_metrics.py:97
↓ 1 callersFunctionfbeta
Multi-class fbeta metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pre
baselines/models/bert_wwm_ext/tf_metrics.py:97
↓ 1 callersFunctionfbeta
Multi-class fbeta metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pre
baselines/models/roberta_wwm_large_ext/tf_metrics.py:97
↓ 1 callersFunctionfbeta
Multi-class fbeta metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pre
baselines/models/bert/tf_metrics.py:97
↓ 1 callersMethodfeed
(self, char)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:183
↓ 1 callersFunctionfind_all_best_thresh
(main_eval, preds, exact_raw, f1_raw, na_probs, qid_to_has_ans)
baselines/models/xlnet/squad_utils.py:253
↓ 1 callersFunctionfind_lcs
(s1, s2)
baselines/models_pytorch/mrc_pytorch/preprocess/cmrc2018_evaluate.py:63
↓ 1 callersFunctionfind_lcs
(s1, s2)
baselines/models/xlnet/cmrc2018_evaluate_drcd.py:65
↓ 1 callersMethodflatten_recursive
Flattens (potentially nested) a tuple/dictionary/list to a list.
baselines/models/roberta_wwm_ext/modeling_test.py:257
↓ 1 callersMethodflatten_recursive
Flattens (potentially nested) a tuple/dictionary/list to a list.
baselines/models/ernie/modeling_test.py:257
↓ 1 callersMethodflatten_recursive
Flattens (potentially nested) a tuple/dictionary/list to a list.
baselines/models/bert_wwm_ext/modeling_test.py:257
↓ 1 callersMethodflatten_recursive
Flattens (potentially nested) a tuple/dictionary/list to a list.
baselines/models/roberta_wwm_large_ext/modeling_test.py:257
↓ 1 callersMethodflatten_recursive
Flattens (potentially nested) a tuple/dictionary/list to a list.
baselines/models/bert/modeling_test.py:257
↓ 1 callersMethodforward
(self, input_ids, attention_mask=None, token_type_ids=None, position_ids=None, head_mask=None)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:171
↓ 1 callersMethodfrom_dict
Constructs a `Config` from a Python dictionary of parameters.
baselines/models_pytorch/classifier_pytorch/transformers/configuration_utils.py:175
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
baselines/models/roberta/modeling.py:83
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
baselines/models/albert/modeling.py:83
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
baselines/models/roberta_wwm_ext/modeling.py:83
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
baselines/models/ernie/modeling.py:83
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
baselines/models/bert_wwm_ext/modeling.py:83
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
baselines/models/roberta_wwm_large_ext/modeling.py:83
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
baselines/models/bert/modeling.py:83
↓ 1 callersFunctiongather_indexes
Gathers the vectors at the specific positions over a minibatch.
baselines/models/roberta/run_pretraining.py:310
↓ 1 callersFunctiongather_indexes
Gathers the vectors at the specific positions over a minibatch.
baselines/models/albert/run_pretraining.py:313
← previousnext →1,001–1,100 of 3,165, ranked by callers