MCPcopy Create free account

hub / github.com/CLUEbenchmark/CLUE / types & classes

Types & classes431 in github.com/CLUEbenchmark/CLUE

↓ 16 callersClassBertLayerNorm
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:251
↓ 15 callersClassPaddingInputExample
Fake example so the num input examples is a multiple of the batch size. When running eval/predict on the TPU, we need to pad the number of examples
baselines/models/xlnet/run_classifier.py:158
↓ 11 callersClass_CapturedObject
A placeholder to capture an object. This is useful when we need to capture a Python object in the Tensorflow control flow body function and use i
baselines/models/xlnet/tpu_estimator.py:3028
↓ 10 callersClassInputExample
A single training/test example for simple sequence classification. Args: guid: Unique id for the example. text_a: string. Th
baselines/models_pytorch/classifier_pytorch/processors/utils.py:6
↓ 10 callersClassInputExample
A single training/test example for simple sequence classification.
baselines/models/classifier_utils.py:56
↓ 9 callersClassConv1D
baselines/models_pytorch/classifier_pytorch/transformers/modeling_utils.py:442
↓ 8 callersClassBertModel
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:736
↓ 7 callersClassAlbertModel
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Flo
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:439
↓ 7 callersClassBertModel
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Float
baselines/models_pytorch/classifier_pytorch/transformers/modeling_bert.py:536
↓ 5 callersClassSequenceSummary
r""" Compute a single vector summary of a sequence hidden states according to various possibilities: Args of the config class: sum
baselines/models_pytorch/classifier_pytorch/transformers/modeling_utils.py:681
↓ 5 callersClassXLNetModel
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Float
baselines/models_pytorch/classifier_pytorch/transformers/modeling_xlnet.py:568
↓ 4 callersClassALBertModel
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:776
↓ 4 callersClassIdentity
r"""A placeholder identity operator that is argument-insensitive.
baselines/models_pytorch/classifier_pytorch/transformers/modeling_utils.py:43
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/roberta/run_classifier.py:138
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/albert/run_classifier.py:134
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/roberta_wwm_ext/run_classifier.py:133
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/ernie/run_classifier.py:133
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/bert_wwm_ext/run_classifier.py:133
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/roberta_wwm_large_ext/run_classifier.py:136
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/bert/run_classifier.py:134
↓ 4 callersClassInputFeatures
A single set of features of data.
baselines/models/xlnet/run_classifier.py:169
↓ 4 callersClassXLMModel
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Float
baselines/models_pytorch/classifier_pytorch/transformers/modeling_xlm.py:318
↓ 3 callersClassAlbertModel
baselines/models_pytorch/mrc_pytorch/google_albert_pytorch_modeling.py:353
↓ 3 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
baselines/models_pytorch/mrc_pytorch/tools/official_tokenization.py:179
↓ 3 callersClassBertLayerNorm
baselines/models_pytorch/mrc_pytorch/google_albert_pytorch_modeling.py:147
↓ 3 callersClassDistilBertModel
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Float
baselines/models_pytorch/classifier_pytorch/transformers/modeling_distilbert.py:397
↓ 3 callersClassInputExample
A single training/test example for simple sequence classification.
baselines/models/roberta/run_ner.py:120
↓ 3 callersClassInputExample
A single training/test example for simple sequence classification.
baselines/models/roberta_wwm_ext/run_ner.py:120
↓ 3 callersClassInputExample
A single training/test example for simple sequence classification.
baselines/models/ernie/run_ner.py:120
↓ 3 callersClassInputExample
A single training/test example for simple sequence classification.
baselines/models/bert_wwm_ext/run_ner.py:120
↓ 3 callersClassInputExample
A single training/test example for simple sequence classification.
baselines/models/roberta_wwm_large_ext/run_ner.py:120
↓ 3 callersClassInputExample
A single training/test example for simple sequence classification.
baselines/models/bert/run_ner.py:126
↓ 3 callersClassProgressBar
custom progress bar Example: >>> pbar = ProgressBar(n_total=30,desc='Training') >>> step = 2 >>> pbar(step=step)
baselines/models_pytorch/classifier_pytorch/tools/progressbar.py:3
↓ 3 callersClassRobertaModel
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Float
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:132
↓ 3 callersClass_Inputs
A data structure representing the input_fn returned values. This also supports the returned value from input_fn as `Dataset`.
baselines/models/xlnet/tpu_estimator.py:3108
↓ 3 callersClass_InputsWithStoppingSignals
Inputs with `_StopSignals` inserted into the dataset.
baselines/models/xlnet/tpu_estimator.py:3178
↓ 3 callersClass_OutfeedHostCall
Support for `eval_metrics` and `host_call` in TPUEstimatorSpec.
baselines/models/xlnet/tpu_estimator.py:1635
↓ 3 callersClass_OutfeedHostCallHook
Hook to run host calls when use_tpu=False.
baselines/models/xlnet/tpu_estimator.py:1818
↓ 2 callersClassALBertForMultipleChoice
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1210
↓ 2 callersClassALBertForQA
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1111
↓ 2 callersClassAlbertForMRC
baselines/models_pytorch/mrc_pytorch/google_albert_pytorch_modeling.py:426
↓ 2 callersClassAlbertForMultipleChoice
baselines/models_pytorch/mrc_pytorch/google_albert_pytorch_modeling.py:473
↓ 2 callersClassAlbertLMPredictionHead
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:298
↓ 2 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_bert.py:269
↓ 2 callersClassBertConfig
Configuration class to store the configuration of a `BertModel`.
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:64
↓ 2 callersClassBertForMultipleChoice
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:977
↓ 2 callersClassBertForQuestionAnswering
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1030
↓ 2 callersClassBertIntermediate
baselines/models_pytorch/classifier_pytorch/transformers/modeling_bert.py:289
↓ 2 callersClassBertLMPredictionHead
baselines/models_pytorch/classifier_pytorch/transformers/modeling_bert.py:398
↓ 2 callersClassBertLMPredictionHead
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:548
↓ 2 callersClassBertLayer
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:463
↓ 2 callersClassBertPooler
baselines/models_pytorch/classifier_pytorch/transformers/modeling_bert.py:366
↓ 2 callersClassBertPooler
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:518
↓ 2 callersClassBertPreTrainingHeads
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:587
↓ 2 callersClassBertPredictionHeadTransform
baselines/models_pytorch/classifier_pytorch/transformers/modeling_bert.py:381
↓ 2 callersClassBertSelfAttention
baselines/models_pytorch/classifier_pytorch/transformers/modeling_bert.py:177
↓ 2 callersClassBertTokenizer
Runs end-to-end tokenization: punctuation splitting + wordpiece
baselines/models_pytorch/mrc_pytorch/tools/official_tokenization.py:110
↓ 2 callersClassChidExample
baselines/models_pytorch/mrc_pytorch/preprocess/CHID_preprocess.py:26
↓ 2 callersClassConverter
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:177
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
baselines/models/roberta_wwm_ext/run_squad.py:1058
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
baselines/models/ernie/run_squad.py:1058
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
baselines/models/bert_wwm_ext/run_squad.py:1058
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
baselines/models/roberta_wwm_large_ext/run_squad.py:1058
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
baselines/models/bert/run_squad.py:1058
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
baselines/models/xlnet/run_cmrc_drcd.py:677
↓ 2 callersClassFormatError
baselines/models/roberta/conlleval.py:22
↓ 2 callersClassFormatError
baselines/models/roberta_wwm_ext/conlleval.py:22
↓ 2 callersClassFormatError
baselines/models/ernie/conlleval.py:22
↓ 2 callersClassFormatError
baselines/models/bert_wwm_ext/conlleval.py:22
↓ 2 callersClassFormatError
baselines/models/roberta_wwm_large_ext/conlleval.py:22
↓ 2 callersClassFormatError
baselines/models/bert/conlleval.py:22
↓ 2 callersClassGPT2Model
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Float
baselines/models_pytorch/classifier_pytorch/transformers/modeling_gpt2.py:320
↓ 2 callersClassLMOrderedIterator
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_transfo_xl.py:272
↓ 2 callersClassNode
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:35
↓ 2 callersClassOpenAIGPTModel
r""" Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs: **last_hidden_state**: ``torch.Float
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:329
↓ 2 callersClassPoolerAnswerClass
Compute SQuAD 2.0 answer class from classification and start tokens hidden states.
baselines/models_pytorch/classifier_pytorch/transformers/modeling_utils.py:528
↓ 2 callersClassPoolerEndLogits
Compute SQuAD end_logits from sequence hidden states and start token hidden state.
baselines/models_pytorch/classifier_pytorch/transformers/modeling_utils.py:484
↓ 2 callersClassPoolerStartLogits
Compute SQuAD start_logits from sequence hidden states.
baselines/models_pytorch/classifier_pytorch/transformers/modeling_utils.py:461
↓ 2 callersClassStatesMachine
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:101
↓ 2 callersClassTPUInfeedOutfeedSessionHook
A Session hook setting up the TPU initialization, infeed, and outfeed. This hook does two major things: 1. initialize and shutdown TPU system.
baselines/models/xlnet/tpu_estimator.py:413
↓ 2 callersClassTrainingInstance
A single training instance (sentence pair).
baselines/models/roberta/create_pretraining_data.py:70
↓ 2 callersClassTrainingInstance
A single training instance (sentence pair).
baselines/models/albert/create_pretraining_data.py:71
↓ 2 callersClassTrainingInstance
A single training instance (sentence pair).
baselines/models/albert/resources/create_pretraining_data_roberta.py:70
↓ 2 callersClass_CapturingContext
Tracks references to Tensors defined in TPU replication.
baselines/models/xlnet/tpu_estimator.py:3078
↓ 2 callersClass_OpQueueContext
Manages work queue and thread for a infeed/outfeed thread.
baselines/models/xlnet/tpu_estimator.py:365
↓ 1 callersClassALBertEmbeddings
ALBert embeddings.
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:300
↓ 1 callersClassALBertEncoder
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:501
↓ 1 callersClassALBertForPreTraining
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:889
↓ 1 callersClassAdamW
Implements Adam algorithm with weight decay fix. Parameters: lr (float): learning rate. Default 1e-3. betas (tuple of 2 floats):
baselines/models_pytorch/classifier_pytorch/transformers/optimization.py:107
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/roberta/optimization.py:116
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/roberta/optimization_finetuning.py:87
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/albert/optimization_finetuning.py:87
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/roberta_wwm_ext/optimization.py:87
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/ernie/optimization.py:87
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/bert_wwm_ext/optimization.py:87
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/roberta_wwm_large_ext/optimization.py:87
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/bert/optimization.py:87
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
baselines/models/xlnet/model_utils.py:295
↓ 1 callersClassAdaptiveEmbedding
baselines/models_pytorch/classifier_pytorch/transformers/modeling_transfo_xl.py:393
↓ 1 callersClassAlbertConfig
Configuration for `AlbertModel`. The default settings match the configuration of model `albert_xxlarge`.
baselines/models_pytorch/mrc_pytorch/google_albert_pytorch_modeling.py:51
next →1–100 of 431, ranked by callers