MCPcopy Create free account

hub / github.com/ShenDezhou/CAIL / functions

Functions6,528 in github.com/ShenDezhou/CAIL

Methodcompute_loss
(self, batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljzs/train.py:169
Methodcompute_loss
(self, batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljztpus/train.py:204
Methodcompute_loss
(self, batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljzt/train.py:169
Methodcompute_loss
(self, batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljztpu/train.py:204
Methodcompute_loss
(self, batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljz(hong)tpu/train.py:204
Methodcompute_loss
(self, batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljz(hong)/train.py:170
Functioncompute_predictions_log_probs
XLNet write prediction logic (more complex than Bert's). Write final predictions to the json file and log-odds of null if needed. Re
CAIL2020/ydlj/baseline/transformers/data/metrics/squad_metrics.py:572
Functioncompute_predictions_logits
Write final predictions to the json file and log-odds of null if needed.
CAIL2020/ydlj/baseline/transformers/data/metrics/squad_metrics.py:368
Functionconv3x3
3x3 convolution with padding
CAIL2020/sfks/model/qa/BertCNN.py:8
Functionconv3x3
3x3 convolution with padding
CAIL2020/sfks/model/qa/BertCNNGRU.py:13
Methodconvert
(self, tokens, which, l)
CAIL2020/sfksu/data.py:20
MethodconvertToIdxandOOVs
(self, labels, unkWord, bosWord=None, eosWord=None)
CAIL2020/sfzywg/rouge/dict.py:139
MethodconvertToIdxandOOVs
(self, labels, unkWord, bosWord=None, eosWord=None)
CAIL2020/sfzyzc/rouge/dict.py:139
MethodconvertToIdxwithOOVs
(self, labels, unkWord, bosWord=None, eosWord=None, oovs=None)
CAIL2020/sfzywg/rouge/dict.py:162
MethodconvertToIdxwithOOVs
(self, labels, unkWord, bosWord=None, eosWord=None, oovs=None)
CAIL2020/sfzyzc/rouge/dict.py:162
MethodconvertToLabels
(self, idx, stop, oovs=None)
CAIL2020/sfzywg/rouge/dict.py:183
MethodconvertToLabels
(self, idx, stop, oovs=None)
CAIL2020/sfzyzc/rouge/dict.py:183
Methodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
CAIL2020/ydlj/baseline/transformers/tokenization_openai.py:183
Methodconvert_tokens_to_string
Converts a sequence of tokens (strings for sub-words) in a single string.
CAIL2020/ydlj/baseline/transformers/tokenization_albert.py:179
Methodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
CAIL2020/ydlj/baseline/transformers/tokenization_gpt2.py:211
Methodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
CAIL2020/ydlj/baseline/transformers/tokenization_transfo_xl.py:240
Methodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
CAIL2020/ydlj/baseline/transformers/tokenization_ctrl.py:211
Methodconvert_tokens_to_string
Converts a sequence of tokens (strings for sub-words) in a single string.
CAIL2020/ydlj/baseline/transformers/tokenization_xlnet.py:181
Methodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
CAIL2020/ydlj/baseline/transformers/tokenization_bert.py:191
Methodcount_sents
sents : a list of sentences, each a list of tokenized symbols
CAIL2020/ydlj/baseline/transformers/tokenization_transfo_xl.py:123
Methodcreate_and_check_roberta_for_token_classification
(self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_roberta_test.py:157
Methodcreate_and_check_roberta_for_token_classification
(self, config, input_ids, token_type_ids, input_mask,
CAIL2020/ydlj/baseline/transformers/tests/modeling_roberta_test.py:161
Functioncreate_dico
Create a dictionary of items from a list of list of items.
CAIL2018/xsfl/data_utils.py:12
Functioncreate_dico
Create a dictionary of items from a list of list of items.
CAIL2020/jesb/data_utils.py:12
Functioncreate_input
Take sentence data and return an input for the training or the evaluation function.
CAIL2018/xsfl/data_utils.py:161
Functioncreate_input
Take sentence data and return an input for the training or the evaluation function.
CAIL2020/jesb/data_utils.py:161
Functioncreate_mapping
Create a mapping (item to ID / ID to item) from a dictionary. Items are ordered by decreasing frequency.
CAIL2018/xsfl/data_utils.py:27
Functioncreate_mapping
Create a mapping (item to ID / ID to item) from a dictionary. Items are ordered by decreasing frequency.
CAIL2020/jesb/data_utils.py:27
Functioncreate_sinusoidal_embeddings
(n_pos, dim, out)
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlm.py:47
Methodcreate_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. A RoBERTa sequence pair mask has the
CAIL2020/ydlj/baseline/transformers/tokenization_roberta.py:135
Methodcreate_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An ALBERT sequence pair mask has the
CAIL2020/ydlj/baseline/transformers/tokenization_albert.py:224
Methodcreate_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An XLM sequence pair mask has the fol
CAIL2020/ydlj/baseline/transformers/tokenization_xlm.py:803
Methodcreate_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An XLNet sequence pair mask has the f
CAIL2020/ydlj/baseline/transformers/tokenization_xlnet.py:226
Methodcreate_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. A BERT sequence pair mask has the fol
CAIL2020/ydlj/baseline/transformers/tokenization_bert.py:236
Methodcreate_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. A RoBERTa sequence pair mask has the
CAIL2020/ydlj/baseline/transformers/tokenization_camembert.py:110
Functioncross_entropy_loss
(outputs, labels)
CAIL2020/sfksz/model/loss.py:40
Functioncross_entropy_loss
(outputs, labels)
CAIL2020/sfks/model/loss.py:40
Functioncustom_tokenizers
Decorator marking a test for a custom tokenizer. Custom tokenizers require additional dependencies, and are skipped by default. Set the
CAIL2020/ydlj/baseline/transformers/tests/utils.py:44
Functioncut_text
(alltext)
CAIL2018/svc/svm.py:15
Functioncut_text
(alltext)
CAIL2020/sfzyy/rulereason/gbttrain.py:14
Functioncut_text
(alltext)
CAIL2020/sfzy/rulereason/gbttrain.py:14
Functioncut_text
(alltext)
CAIL2020/sfzyzc/sfzyy/rulereason/gbttrain.py:14
Functioncut_to_sentence
Cut text to sentences
CAIL2018/xsfl/data_utils.py:239
Functioncut_to_sentence
Cut text to sentences
CAIL2020/jesb/data_utils.py:239
Functiondeco_retry
(f)
CAIL2020/znwd/dumpes.py:21
Methoddev_example_dict
(self)
CAIL2020/ydljz/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljzs/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljztpus/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljzt/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydlj/baseline/tools/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljtpu/data_helper.py:157
Methoddev_example_dict
(self)
CAIL2020/ydljztpu/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljx/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljz(hong)tpu/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljy/data_helper.py:146
Methoddev_example_dict
(self)
CAIL2020/ydljz(hong)/data_helper.py:146
Methoddev_example_file
(self)
CAIL2020/ydljz/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljzs/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljztpus/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljzt/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydlj/baseline/tools/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljtpu/data_helper.py:75
Methoddev_example_file
(self)
CAIL2020/ydljztpu/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljx/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljz(hong)tpu/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljy/data_helper.py:64
Methoddev_example_file
(self)
CAIL2020/ydljz(hong)/data_helper.py:64
Methoddev_examples
(self)
CAIL2020/ydljz/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljzs/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljztpus/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljzt/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydlj/baseline/tools/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljtpu/data_helper.py:145
Methoddev_examples
(self)
CAIL2020/ydljztpu/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljx/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljz(hong)tpu/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljy/data_helper.py:134
Methoddev_examples
(self)
CAIL2020/ydljz(hong)/data_helper.py:134
Methoddev_feature_dict
(self)
CAIL2020/ydljz/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljzs/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljztpus/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljzt/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydlj/baseline/tools/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljtpu/data_helper.py:168
Methoddev_feature_dict
(self)
CAIL2020/ydljztpu/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljx/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljz(hong)tpu/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljy/data_helper.py:157
Methoddev_feature_dict
(self)
CAIL2020/ydljz(hong)/data_helper.py:157
Methoddev_feature_file
(self)
CAIL2020/ydljz/data_helper.py:56
Methoddev_feature_file
(self)
CAIL2020/ydljzs/data_helper.py:56
Methoddev_feature_file
(self)
CAIL2020/ydljztpus/data_helper.py:56
Methoddev_feature_file
(self)
CAIL2020/ydljzt/data_helper.py:56
Methoddev_feature_file
(self)
CAIL2020/ydlj/baseline/tools/data_helper.py:56
Methoddev_feature_file
(self)
CAIL2020/ydljtpu/data_helper.py:67
← previousnext →4,401–4,500 of 6,528, ranked by callers