MCPcopy Create free account

hub / github.com/ChineseGLUE/ChineseGLUE / functions

Functions3,165 in github.com/ChineseGLUE/ChineseGLUE

Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:266
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:299
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:320
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:330
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:340
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:469
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:583
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:658
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:729
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:793
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:868
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:941
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_albert.py:1022
Method__init__
(self, vocab_file, do_lower_case=False, remove_space=True, keep_accents=False,
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_xlnet.py:64
Method__init__
Constructs XLNetConfig.
baselines/models_pytorch/classifier_pytorch/transformers/configuration_xlnet.py:74
Method__init__
Constructs TransfoXLConfig.
baselines/models_pytorch/classifier_pytorch/transformers/configuration_transfo_xl.py:70
Method__init__
(self, nx, n_ctx, config, scale=False)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:129
Method__init__
(self, n_ctx, config, scale=False)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:238
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:351
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:486
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_openai.py:578
Method__init__
(self, vocab_size_or_config_json_file=30522, hidden_size=768,
baselines/models_pytorch/classifier_pytorch/transformers/configuration_bert.py:79
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:43
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:220
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:258
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:315
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:418
Method__init__
(self, config)
baselines/models_pytorch/classifier_pytorch/transformers/modeling_roberta.py:457
Method__init__
(self)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_auto.py:56
Method__init__
Constructs a BertTokenizer. Args: **vocab_file**: Path to a one-wordpiece-per-line vocabulary file **do_lower_case**:
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_bert.py:129
Method__init__
Constructs a BasicTokenizer. Args: **do_lower_case**: Whether to lower case the input. **never_split**: (`optional`)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_bert.py:272
Method__init__
(self, vocab, unk_token, max_input_chars_per_word=100)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_bert.py:408
Method__init__
Constructs GPT2Config. Args: vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `GPT2Model` or a configuration js
baselines/models_pytorch/classifier_pytorch/transformers/configuration_gpt2.py:56
Method__init__
(self, **kwargs)
baselines/models_pytorch/classifier_pytorch/transformers/configuration_utils.py:51
Method__init__
(self, max_len=None, **kwargs)
baselines/models_pytorch/classifier_pytorch/transformers/tokenization_utils.py:207
Method__init__
(self, guid, text_a, text_b=None, label=None)
baselines/models_pytorch/classifier_pytorch/processors/utils.py:35
Method__init__
(self, input_ids, attention_mask, token_type_ids, label,input_len)
baselines/models_pytorch/classifier_pytorch/processors/utils.py:67
Method__init__
(self)
baselines/models_pytorch/classifier_pytorch/processors/glue.py:220
Method__init__
Constructs BertConfig. Args: vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `BertModel`. hidden_s
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:68
Method__init__
Constructs BertConfig. Args: vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `BertModel`. hidden_s
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:157
Method__init__
Construct a layernorm module in the TF style (epsilon inside the square root).
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:252
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:271
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:303
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:341
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:392
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:412
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:431
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:444
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:485
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:502
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:519
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:534
Method__init__
(self, config, bert_model_embedding_weights)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:549
Method__init__
(self, config, bert_model_embedding_weights)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:568
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:578
Method__init__
(self, config, bert_model_embedding_weights)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:588
Method__init__
(self, config, *inputs, **kwargs)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:604
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:737
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:777
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:867
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:890
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:915
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:935
Method__init__
(self, config, num_labels=2)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:956
Method__init__
(self, config, num_choices=2)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:979
Method__init__
(self, config, num_labels=2)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1006
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1028
Method__init__
(self, config)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1064
Method__init__
(self, config, dropout_rate)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1109
Method__init__
(self, config, dropout_rate)
baselines/models_pytorch/mrc_pytorch/pytorch_modeling.py:1152
Method__init__
(self, from_word, to_word=None, is_tail=True, have_child=False)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:36
Method__init__
(self, name, mapping=None)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:63
Method__init__
(self)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:102
Method__init__
(self, to_encoding)
baselines/models_pytorch/mrc_pytorch/tools/langconv.py:178
Method__init__
(self, params, lr, warmup=-1, t_total=-1, schedule='warmup_linear', b1=0.9, b2=0.999, e=1e-6,
baselines/models_pytorch/mrc_pytorch/tools/pytorch_optimization.py:69
Method__init__
(self, vocab_file, do_lower_case=True)
baselines/models_pytorch/mrc_pytorch/tools/offical_tokenization.py:68
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
baselines/models_pytorch/mrc_pytorch/tools/offical_tokenization.py:137
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
baselines/models_pytorch/mrc_pytorch/tools/offical_tokenization.py:249
Method__init__
(self, tokens, segment_ids, masked_lm_positions, masked_lm_labels, is_random_next)
baselines/models/roberta/create_pretraining_data.py:73
Method__init__
(self, vocab_file, do_lower_case=True)
baselines/models/roberta/tokenization.py:166
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
baselines/models/roberta/tokenization.py:190
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=200)
baselines/models/roberta/tokenization.py:305
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first sequence. For sing
baselines/models/roberta/run_classifier.py:136
Method__init__
(self, input_ids, input_mask, segment_ids, label_i
baselines/models/roberta/run_classifier.py:167
Method__init__
(self)
baselines/models/roberta/run_classifier.py:545
Method__init__
(self)
baselines/models/roberta/run_classifier.py:592
Method__init__
(self)
baselines/models/roberta/run_classifier.py:639
Method__init__
(self)
baselines/models/roberta/run_classifier.py:686
Method__init__
Constructs a AdamWeightDecayOptimizer.
baselines/models/roberta/optimization.py:119
Method__init__
Constructs a AdamWeightDecayOptimizer.
baselines/models/roberta/optimization_finetuning.py:90
Method__init__
Constructs BertConfig. Args: vocab_size: Vocabulary size of `inputs_ids` in `BertModel`. hidden_size: Size of the encoder layers and
baselines/models/roberta/modeling.py:34
Method__init__
Constructor for BertModel. Args: config: `BertConfig` instance. is_training: bool. true for training model, false for eval model. Con
baselines/models/roberta/modeling.py:131
Method__init__
(self)
baselines/models/roberta/conlleval.py:29
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first seque
baselines/models/roberta/run_ner.py:123
Method__init__
(self, input_ids, input_mask, segment_ids, label_ids, label_mask)
baselines/models/roberta/run_ner.py:141
Method__init__
(self, tokens, segment_ids, masked_lm_positions, masked_lm_labels, is_random_next)
baselines/models/albert/create_pretraining_data.py:74
Method__init__
(self, vocab_file, do_lower_case=True)
baselines/models/albert/tokenization.py:166
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
baselines/models/albert/tokenization.py:190
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=200)
baselines/models/albert/tokenization.py:305
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first sequence. For sing
baselines/models/albert/run_classifier.py:136
← previousnext →1,601–1,700 of 3,165, ranked by callers