MCPcopy Create free account

hub / github.com/huggingface/transformers / functions

Functions4,119 in github.com/huggingface/transformers

Methodtest_run_glue
(self)
examples/test_examples.py:52
Methodtest_run_glue
(self)
examples/bert-loses-patience/test_run_glue_with_pabee.py:23
Methodtest_run_language_modeling
(self)
examples/test_examples.py:79
Methodtest_run_ner
(self)
examples/token-classification/test_ner_examples.py:15
Methodtest_run_squad
(self)
examples/test_examples.py:103
Methodtest_rust_and_python_full_tokenizers
(self)
tests/test_tokenization_gpt2.py:93
Methodtest_rust_and_python_full_tokenizers
(self)
tests/test_tokenization_bert.py:79
Methodtest_save_and_load_from_encoder_decoder_pretrained
(self)
tests/test_modeling_encoder_decoder.py:319
Methodtest_save_and_load_from_pretrained
(self)
tests/test_modeling_encoder_decoder.py:315
Methodtest_save_and_load_tokenizer
(self)
tests/test_tokenization_common.py:157
Methodtest_save_csv_files
(self)
tests/test_benchmark.py:186
Methodtest_save_csv_files
(self)
tests/test_benchmark_tf.py:137
Methodtest_save_load
(self)
tests/test_modeling_common.py:76
Methodtest_save_load
(self)
tests/test_modeling_tf_common.py:111
Methodtest_save_load_strict
(self)
tests/test_modeling_bart.py:182
Methodtest_separate_tokenizers
(self)
tests/test_tokenization_common.py:1011
Methodtest_sequence_builders
(self)
tests/test_tokenization_xlnet.py:167
Methodtest_sequence_builders
(self)
tests/test_tokenization_albert.py:65
Methodtest_sequence_builders
(self)
tests/test_tokenization_bert.py:189
Methodtest_sequence_builders
(self)
tests/test_tokenization_distilbert.py:31
Methodtest_sequence_builders
(self)
tests/test_tokenization_roberta.py:101
Methodtest_sequence_builders
(self)
tests/test_tokenization_xlm.py:87
Methodtest_sequence_builders
(self)
tests/test_tokenization_bert_japanese.py:144
Methodtest_sequence_builders
(self)
tests/test_tokenization_bert_japanese.py:214
Methodtest_sequence_classification_forward
(self)
tests/test_modeling_bart.py:382
Methodtest_sequence_classification_model_from_pretrained
(self)
tests/test_modeling_auto.py:145
Methodtest_sequence_classification_model_from_pretrained
(self)
tests/test_modeling_tf_auto.py:89
Methodtest_shift_right
(self)
tests/test_modeling_t5.py:319
Methodtest_shift_tokens_right
(self)
tests/test_modeling_bart.py:468
Methodtest_space_encoding
(self)
tests/test_tokenization_roberta.py:120
Methodtest_special_tokens_mask
(self)
tests/test_tokenization_common.py:747
Methodtest_special_tokens_mask_input_pairs
(self)
tests/test_tokenization_common.py:764
Methodtest_staging_model_list
(self)
tests/test_hf_api.py:115
Methodtest_step
(self, batch, batch_nb)
examples/lightning_base.py:129
Methodtest_step
(self, batch, batch_idx)
examples/seq2seq/finetune.py:174
Methodtest_summarization
(self)
tests/test_modeling_t5.py:358
Methodtest_summarization
(self)
tests/test_modeling_tf_t5.py:259
Methodtest_swap_special_token
(self)
tests/test_tokenization_common.py:718
Methodtest_t5_decoder_model_past
(self)
tests/test_modeling_t5.py:331
Methodtest_t5_decoder_model_past
(self)
tests/test_modeling_tf_t5.py:241
Methodtest_t5_decoder_model_past_with_attn_mask
(self)
tests/test_modeling_t5.py:335
Methodtest_t5_decoder_model_past_with_attn_mask
(self)
tests/test_modeling_tf_t5.py:245
Methodtest_t5_generate_with_past_key_value_states
(self)
tests/test_modeling_t5.py:339
Methodtest_t5_model
(self)
tests/test_modeling_t5.py:323
Methodtest_t5_model
(self)
tests/test_modeling_tf_t5.py:233
Methodtest_t5_model_fp16_forward
(self)
tests/test_modeling_t5.py:344
Methodtest_tensor_type_from_str
(self)
tests/test_tokenization_utils.py:65
Methodtest_tf_defaults
(self)
tests/test_pipelines.py:391
Methodtest_tf_encode_plus_sent_to_model
(self)
tests/test_tokenization_common.py:1395
Methodtest_tf_feature_extraction
(self)
tests/test_pipelines.py:209
Methodtest_tf_fill_mask
(self)
tests/test_pipelines.py:226
Methodtest_tf_fill_mask_results
(self)
tests/test_pipelines.py:256
Methodtest_tf_ner
(self)
tests/test_pipelines.py:175
Methodtest_tf_ner_grouped
(self)
tests/test_pipelines.py:182
Methodtest_tf_question_answering
(self)
tests/test_pipelines.py:379
Methodtest_tf_sentiment_analysis
(self)
tests/test_pipelines.py:196
Methodtest_tf_summarization
(self)
tests/test_pipelines.py:293
Methodtest_tf_text_generation
(self)
tests/test_pipelines.py:328
Methodtest_tf_translation
(self)
tests/test_pipelines.py:314
Methodtest_tie_model_weights
(self)
tests/test_modeling_common.py:597
Methodtest_tiny_model
(self)
tests/test_modeling_bart.py:196
Methodtest_token_classification_model_from_pretrained
(self)
tests/test_modeling_auto.py:171
Methodtest_token_workflow
Test the whole token save/get/delete workflow, with the desired behavior with respect to non-existent tokens.
tests/test_hf_api.py:127
Methodtest_tokenization
(self)
tests/test_modeling_bart.py:478
Methodtest_tokenization_base_easy_symbols
(self)
tests/test_tokenization_xlm_roberta.py:122
Methodtest_tokenization_base_hard_symbols
(self)
tests/test_tokenization_xlm_roberta.py:132
Methodtest_tokenization_examples
(self)
tests/test_doc_samples.py:95
Methodtest_tokenizer_equivalence_en_de
(self)
tests/test_tokenization_marian.py:63
Methodtest_tokenizer_from_model_type
(self)
tests/test_tokenization_auto.py:55
Methodtest_tokenizer_from_pretrained
(self)
tests/test_tokenization_auto.py:37
Methodtest_tokenizer_from_pretrained_identifier
(self)
tests/test_tokenization_auto.py:50
Methodtest_tokenizer_handles_empty
(self)
tests/test_modeling_marian.py:229
Methodtest_tokenizer_identifier_non_existent
(self)
tests/test_tokenization_auto.py:72
Methodtest_tokenizer_identifier_with_correct_config
(self)
tests/test_tokenization_auto.py:60
Methodtest_tokenizer_lower
(self)
tests/test_tokenization_xlnet.py:106
Methodtest_tokenizer_no_lower
(self)
tests/test_tokenization_xlnet.py:137
Methodtest_tokenizers_common_properties
(self)
tests/test_tokenization_common.py:124
Methodtest_top_k_top_p_filtering
(self)
tests/test_modeling_common.py:879
Methodtest_top_k_top_p_filtering
(self)
tests/test_modeling_tf_common.py:693
Methodtest_torch_encode_plus_sent_to_model
(self)
tests/test_tokenization_common.py:1345
Methodtest_torch_feature_extraction
(self)
tests/test_pipelines.py:203
Methodtest_torch_fill_mask
(self)
tests/test_pipelines.py:215
Methodtest_torch_fill_mask_results
(self)
tests/test_pipelines.py:238
Methodtest_torch_ner
(self)
tests/test_pipelines.py:161
Methodtest_torch_question_answering
(self)
tests/test_pipelines.py:373
Methodtest_torch_sentiment_analysis
(self)
tests/test_pipelines.py:189
Methodtest_torch_summarization
(self)
tests/test_pipelines.py:273
Methodtest_torch_text_generation
(self)
tests/test_pipelines.py:322
Methodtest_torch_translation
(self)
tests/test_pipelines.py:303
Methodtest_torchscript
(self)
tests/test_modeling_common.py:222
Methodtest_torchscript_output_attentions
(self)
tests/test_modeling_common.py:227
Methodtest_torchscript_output_hidden_state
(self)
tests/test_modeling_common.py:232
Methodtest_trace_memory
(self)
tests/test_benchmark.py:211
Methodtest_trace_memory
(self)
tests/test_benchmark_tf.py:157
Methodtest_train_encoder_decoder_with_configs
(self)
tests/test_benchmark.py:170
Methodtest_train_no_configs
(self)
tests/test_benchmark.py:90
Methodtest_train_no_configs_fp16
(self)
tests/test_benchmark.py:106
Methodtest_train_with_configs
(self)
tests/test_benchmark.py:154
Methodtest_trainer_eval_lm
(self)
tests/test_trainer.py:136
Methodtest_trainer_eval_mrpc
(self)
tests/test_trainer.py:122
← previousnext →3,901–4,000 of 4,119, ranked by callers