Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/huggingface/transformers
/ functions
Functions
4,119 in github.com/huggingface/transformers
⨍
Functions
4,119
◇
Types & classes
939
↳
Endpoints
4
Method
test_inference_no_head
(self)
tests/test_modeling_mobilebert.py:467
Method
test_inference_no_head
(self)
tests/test_modeling_longformer.py:324
Method
test_inference_no_head
(self)
tests/test_modeling_tf_roberta.py:258
Method
test_inference_torchscript
(self)
tests/test_benchmark.py:57
Method
test_inference_with_configs
(self)
tests/test_benchmark.py:122
Method
test_inference_with_configs_eager
(self)
tests/test_benchmark_tf.py:71
Method
test_inference_with_configs_graph
(self)
tests/test_benchmark_tf.py:88
Method
test_initialization
(self)
tests/test_modeling_common.py:101
Method
test_initialization
(self)
tests/test_modeling_tf_common.py:99
Method
test_initialization_more
(self)
tests/test_modeling_bart.py:135
Method
test_inputs_embeds
(self)
tests/test_modeling_common.py:650
Method
test_inputs_embeds
(self)
tests/test_modeling_bart.py:193
Method
test_inputs_embeds
(self)
tests/test_modeling_tf_common.py:472
Method
test_integration_torch_summarization
(self)
tests/test_pipelines.py:284
Method
test_integration_training_args
(self)
tests/test_hf_argparser.py:155
Method
test_internal_consistency
(self)
tests/test_tokenization_common.py:367
Method
test_is_control
(self)
tests/test_tokenization_bert.py:171
Method
test_is_punctuation
(self)
tests/test_tokenization_bert.py:179
Method
test_is_whitespace
(self)
tests/test_tokenization_bert.py:161
Method
test_keras_save_load
(self)
tests/test_modeling_tf_common.py:125
Method
test_keyword_and_dict_args
(self)
tests/test_modeling_tf_common.py:321
Method
test_kwargs_data
(self)
tests/test_pipelines.py:62
Method
test_kwargs_x
(self)
tests/test_pipelines.py:49
Method
test_list_objs
(self)
tests/test_hf_api.py:106
Method
test_lm_forward
(self)
tests/test_modeling_bart.py:408
Method
test_lm_generate_ctrl
(self)
tests/test_modeling_tf_ctrl.py:189
Method
test_lm_generate_ctrl
(self)
tests/test_modeling_ctrl.py:199
Method
test_lm_generate_distilgpt2
(self)
tests/test_modeling_gpt2.py:382
Method
test_lm_generate_distilgpt2
(self)
tests/test_modeling_tf_gpt2.py:348
Method
test_lm_generate_gpt2
(self)
tests/test_modeling_gpt2.py:352
Method
test_lm_generate_gpt2
(self)
tests/test_modeling_tf_gpt2.py:319
Method
test_lm_generate_openai_gpt
(self)
tests/test_modeling_openai.py:209
Method
test_lm_generate_openai_gpt
(self)
tests/test_modeling_tf_openai_gpt.py:224
Method
test_lm_generate_transfo_xl_wt103
(self)
tests/test_modeling_transfo_xl.py:290
Method
test_lm_generate_transfo_xl_wt103
(self)
tests/test_modeling_tf_transfo_xl.py:202
Method
test_lm_generate_xlm_mlm_en_2048
(self)
tests/test_modeling_tf_xlm.py:320
Method
test_lm_generate_xlm_mlm_en_2048
(self)
tests/test_modeling_xlm.py:399
Method
test_lm_generate_xlnet_base_cased
(self)
tests/test_modeling_tf_xlnet.py:435
Method
test_lm_generate_xlnet_base_cased
(self)
tests/test_modeling_xlnet.py:518
Method
test_lm_head_model_random_beam_search_generate
(self)
tests/test_modeling_common.py:722
Method
test_lm_head_model_random_beam_search_generate
(self)
tests/test_modeling_tf_common.py:557
Method
test_lm_head_model_random_no_beam_search_generate
(self)
tests/test_modeling_common.py:679
Method
test_lm_head_model_random_no_beam_search_generate
(self)
tests/test_modeling_tf_common.py:521
Method
test_lm_model_forward
(self)
tests/test_modeling_reformer.py:883
Method
test_lm_tokenizer_with_padding
(self)
tests/test_trainer.py:100
Method
test_lm_tokenizer_without_padding
(self)
tests/test_trainer.py:82
Method
test_lm_uneven_forward
(self)
tests/test_modeling_bart.py:418
Method
test_lmhead_model_from_pretrained
(self)
tests/test_modeling_auto.py:97
Method
test_lmhead_model_from_pretrained
(self)
tests/test_modeling_tf_auto.py:77
Method
test_local_layer_forward
(self)
tests/test_modeling_reformer.py:822
Method
test_local_layer_forward_complex
(self)
tests/test_modeling_reformer.py:838
Method
test_local_lm_model_grad
(self)
tests/test_modeling_reformer.py:899
Method
test_local_model_forward
(self)
tests/test_modeling_reformer.py:869
Method
test_login_invalid
(self)
tests/test_hf_api.py:47
Method
test_login_valid
(self)
tests/test_hf_api.py:51
Method
test_longformer_for_masked_lm
(self)
tests/test_modeling_longformer.py:301
Method
test_longformer_for_question_answering
(self)
tests/test_modeling_longformer.py:305
Method
test_longformer_model
(self)
tests/test_modeling_longformer.py:297
Method
test_loss_computation
(self)
tests/test_modeling_tf_common.py:590
Method
test_lsh_layer_forward
(self)
tests/test_modeling_reformer.py:787
Method
test_lsh_layer_forward_complex
(self)
tests/test_modeling_reformer.py:803
Method
test_lsh_lm_model_grad
(self)
tests/test_modeling_reformer.py:931
Method
test_lsh_model_forward
(self)
tests/test_modeling_reformer.py:854
Method
test_mask_output
(self)
tests/test_tokenization_common.py:406
Method
test_maximum_encoding_length_pair_input
(self)
tests/test_tokenization_common.py:515
Method
test_maximum_encoding_length_pair_input
(self)
tests/test_tokenization_bert_japanese.py:77
Method
test_maximum_encoding_length_pair_input
(self)
tests/test_tokenization_bert_japanese.py:183
Method
test_maximum_encoding_length_single_input
(self)
tests/test_tokenization_common.py:438
Method
test_maximum_encoding_length_single_input
(self)
tests/test_tokenization_bert_japanese.py:80
Method
test_maximum_encoding_length_single_input
(self)
tests/test_tokenization_bert_japanese.py:186
Method
test_mbart_enro_config
(self)
tests/test_modeling_bart.py:271
Method
test_mbart_fast_forward
(self)
tests/test_modeling_bart.py:284
Method
test_mecab_tokenizer
(self)
tests/test_tokenization_bert_japanese.py:90
Method
test_mecab_tokenizer_lower
(self)
tests/test_tokenization_bert_japanese.py:98
Method
test_mecab_tokenizer_no_normalize
(self)
tests/test_tokenization_bert_japanese.py:120
Method
test_mecab_tokenizer_with_option
(self)
tests/test_tokenization_bert_japanese.py:106
Method
test_mnli_inference
(self)
tests/test_modeling_bart.py:589
Method
test_mobilebert_model
(self)
tests/test_modeling_tf_mobilebert.py:284
Method
test_mobilebert_model
(self)
tests/test_modeling_mobilebert.py:392
Method
test_mobilebert_model_as_decoder
(self)
tests/test_modeling_mobilebert.py:396
Method
test_mobilebert_model_as_decoder_with_default_input_mask
(self)
tests/test_modeling_mobilebert.py:400
Method
test_model_card_common_properties
(self)
tests/test_model_card.py:46
Method
test_model_card_from_and_save_pretrained
(self)
tests/test_model_card.py:74
Method
test_model_card_to_json_file
(self)
tests/test_model_card.py:64
Method
test_model_card_to_json_string
(self)
tests/test_model_card.py:58
Method
test_model_common_attributes
(self)
tests/test_modeling_common.py:570
Method
test_model_common_attributes
(self)
tests/test_modeling_tf_common.py:428
Method
test_model_for_causal_lm
(self)
tests/test_modeling_auto.py:109
Method
test_model_for_encoder_decoder_lm
(self)
tests/test_modeling_auto.py:133
Method
test_model_for_masked_lm
(self)
tests/test_modeling_auto.py:121
Method
test_model_for_pretraining_from_pretrained
(self)
tests/test_modeling_auto.py:82
Method
test_model_for_pretraining_from_pretrained
(self)
tests/test_modeling_tf_auto.py:61
Method
test_model_from_pretrained
(self)
templates/adding_a_new_model/tests/test_modeling_tf_xxx.py:250
Method
test_model_from_pretrained
(self)
templates/adding_a_new_model/tests/test_modeling_xxx.py:271
Method
test_model_from_pretrained
(self)
tests/test_modeling_roberta.py:262
Method
test_model_from_pretrained
(self)
tests/test_modeling_common.py:856
Method
test_model_from_pretrained
(self)
tests/test_modeling_tf_albert.py:260
Method
test_model_from_pretrained
(self)
tests/test_modeling_auto.py:68
Method
test_model_from_pretrained
(self)
tests/test_modeling_transfo_xl.py:219
Method
test_model_from_pretrained
(self)
tests/test_modeling_tf_transfo_xl.py:193
← previous
next →
3,701–3,800 of 4,119, ranked by callers