Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brightmart/albert_zh
/ types & classes
Types & classes
49 in github.com/brightmart/albert_zh
⨍
Functions
427
◇
Types & classes
49
↓ 10 callers
Class
InputExample
A single training/test example for simple sequence classification.
classifier_utils.py:56
↓ 6 callers
Class
InputExample
A single training/test example for simple sequence classification.
run_classifier_sp_google.py:139
↓ 4 callers
Class
InputFeatures
A single set of features of data.
run_classifier_clue.py:134
↓ 4 callers
Class
PaddingInputExample
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 callers
Class
InputExample
A single training/test example for simple sequence classification.
run_classifier.py:128
↓ 3 callers
Class
InputFeatures
A single set of features of data.
run_classifier.py:159
↓ 2 callers
Class
InputFeatures
A single set of features of data.
run_classifier_sp_google.py:170
↓ 2 callers
Class
PaddingInputExample
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 callers
Class
TrainingInstance
A single training instance (sentence pair).
create_pretraining_data.py:71
↓ 2 callers
Class
TrainingInstance
A single training instance (sentence pair).
resources/create_pretraining_data_roberta.py:70
↓ 1 callers
Class
AdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization_google.py:118
↓ 1 callers
Class
AdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization_finetuning.py:87
↓ 1 callers
Class
AlbertConfig
Configuration for `AlbertModel`. The default settings match the configuration of model `albert_xxlarge`.
modeling_google_fast.py:36
↓ 1 callers
Class
AlbertConfig
Configuration for `AlbertModel`. The default settings match the configuration of model `albert_xxlarge`.
modeling_google.py:36
↓ 1 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
tokenization.py:187
↓ 1 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
tokenization_google.py:282
↓ 1 callers
Class
BertConfig
Configuration for `BertModel`.
modeling.py:31
↓ 1 callers
Class
BertSim
similarity.py:36
↓ 1 callers
Class
LAMBOptimizer
LAMBOptimizer optimizer. https://github.com/ymcui/LAMB_Optimizer_TF # IMPORTANT NOTE - This is NOT an official implementation. -
optimization.py:178
↓ 1 callers
Class
SimProcessor
similarity.py:18
↓ 1 callers
Class
TrainingInstance
A single training instance (sentence pair).
create_pretraining_data_google.py:97
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenziation.
tokenization.py:302
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenziation.
tokenization_google.py:397
Class
AFQMCProcessor
Processor for the internal data set. sentence pair classification
classifier_utils.py:332
Class
AdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization.py:87
Class
AlbertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted from strings into ids
modeling_google_fast.py:126
Class
AlbertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted from strings into ids
modeling_google.py:126
Class
BertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted into WordPiece token
modeling.py:107
Class
CMNLIProcessor
Processor for the CMNLI data set.
classifier_utils.py:367
Class
COPAProcessor
Processor for the internal data set. sentence pair classification
classifier_utils.py:841
Class
ColaProcessor
Processor for the CoLA data set (GLUE version).
run_classifier_sp_google.py:390
Class
CslProcessor
Processor for the CSL data set.
classifier_utils.py:405
Class
DataProcessor
Base class for data converters for sequence classification data sets.
classifier_utils.py:87
Class
DataProcessor
Base class for data converters for sequence classification data sets.
run_classifier.py:175
Class
DataProcessor
Base class for data converters for sequence classification data sets.
run_classifier_sp_google.py:186
Class
FullTokenizer
Runs end-to-end tokenziation.
tokenization.py:163
Class
FullTokenizer
Runs end-to-end tokenziation.
tokenization_google.py:232
Class
LAMBOptimizer
LAMB (Layer-wise Adaptive Moments optimizer for Batch training).
lamb_optimizer_google.py:34
Class
LCQMCPairClassificationProcessor
Processor for the internal data set. sentence pair classification
run_classifier.py:610
Class
LCQMCPairClassificationProcessor
Processor for the internal data set. sentence pair classification
run_classifier_sp_google.py:306
Class
MnliProcessor
Processor for the MultiNLI data set (GLUE version).
run_classifier_sp_google.py:264
Class
MrpcProcessor
Processor for the MRPC data set (GLUE version).
run_classifier_sp_google.py:349
Class
PaddingInputExample
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
Class
SentencePairClassificationProcessor
Processor for the internal data set. sentence pair classification
run_classifier.py:655
Class
TnewsProcessor
Processor for the MRPC data set (GLUE version).
classifier_utils.py:214
Class
WSCProcessor
Processor for the internal data set. sentence pair classification
classifier_utils.py:779
Class
XnliProcessor
Processor for the XNLI data set.
classifier_utils.py:137
Class
XnliProcessor
Processor for the XNLI data set.
run_classifier_sp_google.py:216
Class
iFLYTEKDataProcessor
Processor for the iFLYTEKData data set (GLUE version).
classifier_utils.py:294