Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProHiryu/albert-chinese-ner
/ types & classes
Types & classes
14 in github.com/ProHiryu/albert-chinese-ner
⨍
Functions
141
◇
Types & classes
14
↓ 2 callers
Class
TrainingInstance
A single training instance (sentence pair).
create_pretraining_data.py:71
↓ 1 callers
Class
AdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization_finetuning.py:87
↓ 1 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
tokenization.py:187
↓ 1 callers
Class
BertConfig
Configuration for `BertModel`.
modeling.py:31
↓ 1 callers
Class
InputExample
A single training/test example for simple sequence classification.
albert_ner.py:132
↓ 1 callers
Class
InputFeatures
A single set of features of data.
albert_ner.py:162
↓ 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
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
albert_ner.py:151
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenziation.
tokenization.py:302
Class
AdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
optimization.py:87
Class
BertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted into WordPiece token
modeling.py:107
Class
DataProcessor
Base class for data converters for sequence classification data sets.
albert_ner.py:177
Class
FullTokenizer
Runs end-to-end tokenziation.
tokenization.py:163
Class
NerProcessor
albert_ner.py:222