MCPcopy Create free account

hub / github.com/brightmart/albert_zh / types & classes

Types & classes49 in github.com/brightmart/albert_zh

↓ 10 callersClassInputExample
A single training/test example for simple sequence classification.
classifier_utils.py:56
↓ 6 callersClassInputExample
A single training/test example for simple sequence classification.
run_classifier_sp_google.py:139
↓ 4 callersClassInputFeatures
A single set of features of data.
run_classifier_clue.py:134
↓ 4 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
run_classifier.py:148
↓ 3 callersClassInputExample
A single training/test example for simple sequence classification.
run_classifier.py:128
↓ 3 callersClassInputFeatures
A single set of features of data.
run_classifier.py:159
↓ 2 callersClassInputFeatures
A single set of features of data.
run_classifier_sp_google.py:170
↓ 2 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
run_classifier_sp_google.py:159
↓ 2 callersClassTrainingInstance
A single training instance (sentence pair).
create_pretraining_data.py:71
↓ 2 callersClassTrainingInstance
A single training instance (sentence pair).
resources/create_pretraining_data_roberta.py:70
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization_google.py:118
↓ 1 callersClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization_finetuning.py:87
↓ 1 callersClassAlbertConfig
Configuration for `AlbertModel`. The default settings match the configuration of model `albert_xxlarge`.
modeling_google_fast.py:36
↓ 1 callersClassAlbertConfig
Configuration for `AlbertModel`. The default settings match the configuration of model `albert_xxlarge`.
modeling_google.py:36
↓ 1 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
tokenization.py:187
↓ 1 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
tokenization_google.py:282
↓ 1 callersClassBertConfig
Configuration for `BertModel`.
modeling.py:31
↓ 1 callersClassBertSim
similarity.py:36
↓ 1 callersClassLAMBOptimizer
LAMBOptimizer optimizer. https://github.com/ymcui/LAMB_Optimizer_TF # IMPORTANT NOTE - This is NOT an official implementation. -
optimization.py:178
↓ 1 callersClassSimProcessor
similarity.py:18
↓ 1 callersClassTrainingInstance
A single training instance (sentence pair).
create_pretraining_data_google.py:97
↓ 1 callersClassWordpieceTokenizer
Runs WordPiece tokenziation.
tokenization.py:302
↓ 1 callersClassWordpieceTokenizer
Runs WordPiece tokenziation.
tokenization_google.py:397
ClassAFQMCProcessor
Processor for the internal data set. sentence pair classification
classifier_utils.py:332
ClassAdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization.py:87
ClassAlbertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted from strings into ids
modeling_google_fast.py:126
ClassAlbertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted from strings into ids
modeling_google.py:126
ClassBertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted into WordPiece token
modeling.py:107
ClassCMNLIProcessor
Processor for the CMNLI data set.
classifier_utils.py:367
ClassCOPAProcessor
Processor for the internal data set. sentence pair classification
classifier_utils.py:841
ClassColaProcessor
Processor for the CoLA data set (GLUE version).
run_classifier_sp_google.py:390
ClassCslProcessor
Processor for the CSL data set.
classifier_utils.py:405
ClassDataProcessor
Base class for data converters for sequence classification data sets.
classifier_utils.py:87
ClassDataProcessor
Base class for data converters for sequence classification data sets.
run_classifier.py:175
ClassDataProcessor
Base class for data converters for sequence classification data sets.
run_classifier_sp_google.py:186
ClassFullTokenizer
Runs end-to-end tokenziation.
tokenization.py:163
ClassFullTokenizer
Runs end-to-end tokenziation.
tokenization_google.py:232
ClassLAMBOptimizer
LAMB (Layer-wise Adaptive Moments optimizer for Batch training).
lamb_optimizer_google.py:34
ClassLCQMCPairClassificationProcessor
Processor for the internal data set. sentence pair classification
run_classifier.py:610
ClassLCQMCPairClassificationProcessor
Processor for the internal data set. sentence pair classification
run_classifier_sp_google.py:306
ClassMnliProcessor
Processor for the MultiNLI data set (GLUE version).
run_classifier_sp_google.py:264
ClassMrpcProcessor
Processor for the MRPC data set (GLUE version).
run_classifier_sp_google.py:349
ClassPaddingInputExample
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
classifier_utils.py:76
ClassSentencePairClassificationProcessor
Processor for the internal data set. sentence pair classification
run_classifier.py:655
ClassTnewsProcessor
Processor for the MRPC data set (GLUE version).
classifier_utils.py:214
ClassWSCProcessor
Processor for the internal data set. sentence pair classification
classifier_utils.py:779
ClassXnliProcessor
Processor for the XNLI data set.
classifier_utils.py:137
ClassXnliProcessor
Processor for the XNLI data set.
run_classifier_sp_google.py:216
ClassiFLYTEKDataProcessor
Processor for the iFLYTEKData data set (GLUE version).
classifier_utils.py:294