MCPcopy Create free account

hub / github.com/ChineseGLUE/ChineseGLUE / functions

Functions3,165 in github.com/ChineseGLUE/ChineseGLUE

↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/bert/run_classifier.py:717
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/bert/run_classifier.py:759
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/bert/run_classifier.py:799
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/bert/run_classifier.py:839
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier_thucnews.py:232
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier_thucnews.py:425
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier_thucnews.py:467
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier_thucnews.py:508
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier_thucnews.py:565
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier.py:237
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier.py:317
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier.py:360
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier.py:399
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier.py:440
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier.py:486
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
baselines/models/xlnet/run_classifier.py:543
↓ 3 callersFunction_get_scaffold
Retrieves the Scaffold from `captured_scaffold_fn`.
baselines/models/xlnet/tpu_estimator.py:3055
↓ 3 callersMethod_parse_inputs
(return_values)
baselines/models/xlnet/tpu_estimator.py:3139
↓ 3 callersMethod_read_data
Reads a BIO data.
baselines/models/roberta/run_ner.py:165
↓ 3 callersMethod_read_data
Reads a BIO data.
baselines/models/roberta_wwm_ext/run_ner.py:165
↓ 3 callersMethod_read_data
Reads a BIO data.
baselines/models/ernie/run_ner.py:165
↓ 3 callersMethod_read_data
Reads a BIO data.
baselines/models/bert_wwm_ext/run_ner.py:165
↓ 3 callersMethod_read_data
Reads a BIO data.
baselines/models/roberta_wwm_large_ext/run_ner.py:165
↓ 3 callersMethod_read_data
Reads a BIO data.
baselines/models/bert/run_ner.py:171
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/roberta/run_ner.py:252
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/roberta/run_ner.py:314
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/roberta_wwm_ext/run_ner.py:252
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/roberta_wwm_ext/run_ner.py:314
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/ernie/run_ner.py:252
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/ernie/run_ner.py:314
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/bert_wwm_ext/run_ner.py:252
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/bert_wwm_ext/run_ner.py:314
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/roberta_wwm_large_ext/run_ner.py:252
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/roberta_wwm_large_ext/run_ner.py:314
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/bert/run_ner.py:258
↓ 3 callersMethod_read_raw
(self, input_file)
baselines/models/bert/run_ner.py:321
↓ 3 callersFunction_sync_variables_ops
Create varriables synchronization ops. Gets the variables back from TPU nodes. This means the variables updated by TPU will now be *synced* to ho
baselines/models/xlnet/tpu_estimator.py:188
↓ 3 callersFunction_transform_features
(feature)
baselines/models/xlnet/function_builder.py:329
↓ 3 callersFunction_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
baselines/models/xlnet/classifier_utils.py:44
↓ 3 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
baselines/models/bert/run_squad.py:309
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
baselines/models/roberta/tokenization.py:78
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
baselines/models/albert/tokenization.py:78
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
baselines/models/roberta_wwm_ext/tokenization.py:78
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
baselines/models/ernie/tokenization.py:78
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
baselines/models/bert_wwm_ext/tokenization.py:78
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
baselines/models/roberta_wwm_large_ext/tokenization.py:78
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
baselines/models/bert/tokenization.py:78
↓ 3 callersMethodcreate_enqueue_op
Create the op to enqueue the recorded host_calls. Returns: A list of enqueue ops, which is empty if there are no host calls.
baselines/models/xlnet/tpu_estimator.py:1716
↓ 3 callersMethodcreate_tpu_hostcall
Sends the tensors through outfeed and runs the host_fn on CPU. The tensors are concatenated along dimension 0 to form a global tensor across
baselines/models/xlnet/tpu_estimator.py:1733
↓ 3 callersMethoddataset_initializer
Returns the dataset's initializer. The initializer must be run before calling `features_and_labels`.
baselines/models/xlnet/tpu_estimator.py:3151
↓ 3 callersFunctionenqueue_ops_fn
A fn returns enqueue_ops.
baselines/models/xlnet/tpu_estimator.py:709
↓ 3 callersFunctionevaluate
(iterable, options=None)
baselines/models/roberta/conlleval.py:64
↓ 3 callersFunctionevaluate
(iterable, options=None)
baselines/models/roberta_wwm_ext/conlleval.py:64
↓ 3 callersFunctionevaluate
(iterable, options=None)
baselines/models/ernie/conlleval.py:64
↓ 3 callersFunctionevaluate
(iterable, options=None)
baselines/models/bert_wwm_ext/conlleval.py:64
↓ 3 callersFunctionevaluate
(iterable, options=None)
baselines/models/roberta_wwm_large_ext/conlleval.py:64
↓ 3 callersFunctionevaluate
(iterable, options=None)
baselines/models/bert/conlleval.py:64
↓ 3 callersFunctionfile_based_convert_examples_to_features
( examples, label_list, max_seq_length, tokenizer, output_file, output_dir, mode=None )
baselines/models/roberta/run_ner.py:445
↓ 3 callersFunctionfile_based_convert_examples_to_features
( examples, label_list, max_seq_length, tokenizer, output_file, output_dir, mode=None )
baselines/models/roberta_wwm_ext/run_ner.py:445
↓ 3 callersFunctionfile_based_convert_examples_to_features
( examples, label_list, max_seq_length, tokenizer, output_file, output_dir, mode=None )
baselines/models/ernie/run_ner.py:445
↓ 3 callersFunctionfile_based_convert_examples_to_features
( examples, label_list, max_seq_length, tokenizer, output_file, output_dir, mode=None )
baselines/models/bert_wwm_ext/run_ner.py:445
↓ 3 callersFunctionfile_based_convert_examples_to_features
( examples, label_list, max_seq_length, tokenizer, output_file, output_dir, mode=None )
baselines/models/roberta_wwm_large_ext/run_ner.py:445
↓ 3 callersFunctionfile_based_convert_examples_to_features
( examples, label_list, max_seq_length, tokenizer, output_file, output_dir, mode=None)
baselines/models/bert/run_ner.py:452
↓ 3 callersFunctionfile_based_convert_examples_to_features_for_inews
Convert a set of `InputExample`s to a TFRecord file.
baselines/models/roberta/run_classifier.py:383
↓ 3 callersFunctionfile_based_convert_examples_to_features_for_inews
Convert a set of `InputExample`s to a TFRecord file.
baselines/models/albert/run_classifier.py:460
↓ 3 callersFunctionfile_based_convert_examples_to_features_for_inews
Convert a set of `InputExample`s to a TFRecord file.
baselines/models/roberta_wwm_ext/run_classifier.py:381
↓ 3 callersFunctionfile_based_convert_examples_to_features_for_inews
Convert a set of `InputExample`s to a TFRecord file.
baselines/models/ernie/run_classifier.py:458
↓ 3 callersFunctionfile_based_convert_examples_to_features_for_inews
Convert a set of `InputExample`s to a TFRecord file.
baselines/models/bert_wwm_ext/run_classifier.py:465
↓ 3 callersFunctionfile_based_convert_examples_to_features_for_inews
Convert a set of `InputExample`s to a TFRecord file.
baselines/models/roberta_wwm_large_ext/run_classifier.py:458
↓ 3 callersFunctionfile_based_convert_examples_to_features_for_inews
Convert a set of `InputExample`s to a TFRecord file.
baselines/models/bert/run_classifier.py:380
↓ 3 callersFunctionfile_based_input_fn_builder
(input_file, seq_length, is_training, drop_remainder)
baselines/models/roberta/run_ner.py:468
↓ 3 callersFunctionfile_based_input_fn_builder
(input_file, seq_length, is_training, drop_remainder)
baselines/models/roberta_wwm_ext/run_ner.py:468
↓ 3 callersFunctionfile_based_input_fn_builder
(input_file, seq_length, is_training, drop_remainder)
baselines/models/ernie/run_ner.py:468
↓ 3 callersFunctionfile_based_input_fn_builder
(input_file, seq_length, is_training, drop_remainder)
baselines/models/bert_wwm_ext/run_ner.py:468
↓ 3 callersFunctionfile_based_input_fn_builder
(input_file, seq_length, is_training, drop_remainder)
baselines/models/roberta_wwm_large_ext/run_ner.py:468
↓ 3 callersFunctionfile_based_input_fn_builder
(input_file, seq_length, is_training, drop_remainder)
baselines/models/bert/run_ner.py:475
↓ 3 callersFunctionformat_filename
docs.
baselines/models/xlnet/data_utils.py:51
↓ 3 callersMethodfrom_json_file
Constructs a `BertConfig` from a json file of parameters.
baselines/models/roberta/modeling.py:91
↓ 3 callersMethodget_labels
See base class.
baselines/models_pytorch/classifier_pytorch/processors/glue.py:532
↓ 3 callersMethodget_pooled_out
Args: summary_type: str, "last", "first", "mean", or "attn". The method to pool the input to get a vector representation. use
baselines/models/xlnet/xlnet.py:229
↓ 3 callersMethodget_pooled_output
(self)
baselines/models/roberta_wwm_ext/modeling.py:234
↓ 3 callersMethodget_pooled_output
(self)
baselines/models/ernie/modeling.py:234
↓ 3 callersMethodget_pooled_output
(self)
baselines/models/bert_wwm_ext/modeling.py:234
↓ 3 callersMethodget_pooled_output
(self)
baselines/models/roberta_wwm_large_ext/modeling.py:234
↓ 3 callersFunctionget_shape_list
Returns a list of the shape of tensor, preferring static dimensions. Args: tensor: A tf.Tensor object to find the shape of. expected_rank: (opti
baselines/models/albert/bert_utils.py:13
↓ 3 callersMethodids_tensor
Creates a random int32 tensor of the shape within the vocab size.
baselines/models/roberta_wwm_ext/modeling_test.py:147
↓ 3 callersMethodids_tensor
Creates a random int32 tensor of the shape within the vocab size.
baselines/models/ernie/modeling_test.py:147
↓ 3 callersMethodids_tensor
Creates a random int32 tensor of the shape within the vocab size.
baselines/models/bert_wwm_ext/modeling_test.py:147
↓ 3 callersMethodids_tensor
Creates a random int32 tensor of the shape within the vocab size.
baselines/models/roberta_wwm_large_ext/modeling_test.py:147
↓ 3 callersMethodids_tensor
Creates a random int32 tensor of the shape within the vocab size.
baselines/models/bert/modeling_test.py:147
↓ 3 callersMethodinsert_stopping_signal
Inserts stopping_signal into dataset via _map_fn. Here we change the data structure in the dataset, such that the return value is a dictionar
baselines/models/xlnet/tpu_estimator.py:3252
↓ 3 callersFunctionis_tf_available
()
baselines/models_pytorch/classifier_pytorch/transformers/file_utils.py:78
↓ 3 callersFunctionlayer_norm
Run layer normalization on the last dimension of the tensor.
baselines/models/roberta/modeling.py:362
↓ 3 callersFunctionlayer_norm
Run layer normalization on the last dimension of the tensor.
baselines/models/roberta_wwm_ext/modeling.py:362
↓ 3 callersFunctionlayer_norm
Run layer normalization on the last dimension of the tensor.
baselines/models/ernie/modeling.py:362
↓ 3 callersFunctionlayer_norm
Run layer normalization on the last dimension of the tensor.
baselines/models/bert_wwm_ext/modeling.py:362
↓ 3 callersFunctionlayer_norm
Run layer normalization on the last dimension of the tensor.
baselines/models/roberta_wwm_large_ext/modeling.py:362
↓ 3 callersFunctionlayer_norm
Run layer normalization on the last dimension of the tensor.
baselines/models/bert/modeling.py:362
↓ 3 callersFunctionload_and_cache_examples
(args, task, tokenizer, data_type='train')
baselines/models_pytorch/classifier_pytorch/run_classifier.py:274
↓ 3 callersFunctionmake_eval_dict
(exact_scores, f1_scores, qid_list=None)
baselines/models/xlnet/squad_utils.py:112
← previousnext →301–400 of 3,165, ranked by callers