Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HuiResearch/cail2019_track2
/ types & classes
Types & classes
35 in github.com/HuiResearch/cail2019_track2
⨍
Functions
274
◇
Types & classes
35
↓ 5 callers
Class
InputExample
A single training/test example for simple sequence classification.
bert/run_classifier.py:127
↓ 2 callers
Class
BERTModel
utils/predict.py:74
↓ 2 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
bert/run_squad.py:1058
↓ 2 callers
Class
InputFeatures
A single set of features of data.
train.py:215
↓ 2 callers
Class
InputFeatures
A single set of features of data.
bert/run_classifier.py:161
↓ 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 exampl
train.py:202
↓ 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
bert/run_classifier.py:148
↓ 1 callers
Class
AdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
bert/optimization.py:87
↓ 1 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
bert/tokenization.py:185
↓ 1 callers
Class
BertConfig
Configuration for `BertModel`.
bert/modeling.py:31
↓ 1 callers
Class
InputExample
A single training/test example for simple sequence classification.
train.py:181
↓ 1 callers
Class
InputExample
bert/extract_features.py:81
↓ 1 callers
Class
InputFeatures
A single set of features of data.
utils/predict.py:14
↓ 1 callers
Class
InputFeatures
A single set of features of data.
bert/run_squad.py:197
↓ 1 callers
Class
InputFeatures
A single set of features of data.
bert/extract_features.py:89
↓ 1 callers
Class
Judger
utils/evaluate.py:6
↓ 1 callers
Class
SquadExample
A single training/test example for simple sequence classification. For examples without an answer, the start and end position are -1.
bert/run_squad.py:157
↓ 1 callers
Class
TrainingInstance
A single training instance (sentence pair).
createPretrainData.py:78
↓ 1 callers
Class
TrainingInstance
A single training instance (sentence pair).
bert/create_pretraining_data.py:64
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenziation.
bert/tokenization.py:300
Class
BertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted into WordPiece token
bert/modeling.py:107
Class
BertModelTest
bert/modeling_test.py:29
Class
BertModelTester
bert/modeling_test.py:31
Class
ColaProcessor
Processor for the CoLA data set (GLUE version).
bert/run_classifier.py:336
Class
DataProcessor
Base class for data converters for sequence classification data sets.
train.py:231
Class
DataProcessor
Base class for data converters for sequence classification data sets.
bert/run_classifier.py:177
Class
FullTokenizer
Runs end-to-end tokenziation.
bert/tokenization.py:161
Class
MnliProcessor
Processor for the MultiNLI data set (GLUE version).
bert/run_classifier.py:255
Class
MrpcProcessor
Processor for the MRPC data set (GLUE version).
bert/run_classifier.py:296
Class
MultilabelClassfier
Processor for the CoLA data set (GLUE version).
train.py:265
Class
OptimizationTest
bert/optimization_test.py:23
Class
RCNN
utils/models.py:3
Class
RCNNATT
utils/models.py:43
Class
TokenizationTest
bert/tokenization_test.py:26
Class
XnliProcessor
Processor for the XNLI data set.
bert/run_classifier.py:207