Path Lines of Code templates/adding_a_missing_tokenization_test/cookiecutter-template-{{cookiecutter.modelname}}/test_tokenization_{{cookiecutter.lowercase_modelname}}.py 48 tests/__init__.py 1 tests/bettertransformer/__init__.py 1 tests/bettertransformer/test_integration.py 44 tests/causal_lm_tester.py 378 tests/deepspeed/test_deepspeed.py 920 tests/deepspeed/test_model_zoo.py 200 tests/extended/test_trainer_ext.py 225 tests/fsdp/test_fsdp.py 340 tests/generation/__init__.py 1 tests/generation/test_beam_constraints.py 66 tests/generation/test_beam_search.py 390 tests/generation/test_candidate_generator.py 248 tests/generation/test_configuration_utils.py 577 tests/generation/test_flash_attention_parity.py 96 tests/generation/test_fsdp.py 110 tests/generation/test_logits_process.py 902 tests/generation/test_paged_attention.py 71 tests/generation/test_stopping_criteria.py 202 tests/generation/test_streamers.py 117 tests/generation/test_utils.py 3926 tests/models/__init__.py 1 tests/models/albert/__init__.py 1 tests/models/albert/test_modeling_albert.py 316 tests/models/align/__init__.py 1 tests/models/align/test_modeling_align.py 505 tests/models/align/test_processor_align.py 131 tests/models/altclip/__init__.py 1 tests/models/altclip/test_modeling_altclip.py 491 tests/models/altclip/test_processor_altclip.py 22 tests/models/arcee/__init__.py 1 tests/models/arcee/test_modeling_arcee.py 110 tests/models/aria/__init__.py 1 tests/models/aria/test_image_processing_aria.py 214 tests/models/aria/test_modeling_aria.py 422 tests/models/aria/test_processor_aria.py 214 tests/models/audio_spectrogram_transformer/__init__.py 1 tests/models/audio_spectrogram_transformer/test_feature_extraction_audio_spectrogram_transformer.py 150 tests/models/audio_spectrogram_transformer/test_modeling_audio_spectrogram_transformer.py 197 tests/models/auto/__init__.py 1 tests/models/auto/test_configuration_auto.py 96 tests/models/auto/test_feature_extraction_auto.py 129 tests/models/auto/test_image_processing_auto.py 189 tests/models/auto/test_modeling_auto.py 426 tests/models/auto/test_processor_auto.py 367 tests/models/auto/test_tokenization_auto.py 378 tests/models/auto/test_video_processing_auto.py 174 tests/models/autoformer/__init__.py 1 tests/models/autoformer/test_modeling_autoformer.py 383 tests/models/aya_vision/__init__.py 1 tests/models/aya_vision/test_modeling_aya_vision.py 499 tests/models/aya_vision/test_processor_aya_vision.py 113 tests/models/bamba/__init__.py 1 tests/models/bamba/test_modeling_bamba.py 541 tests/models/bark/__init__.py 1 tests/models/bark/test_modeling_bark.py 969 tests/models/bark/test_processor_bark.py 83 tests/models/bart/__init__.py 1 tests/models/bart/test_modeling_bart.py 1331 tests/models/bart/test_tokenization_bart.py 150 tests/models/barthez/__init__.py 1 tests/models/barthez/test_tokenization_barthez.py 77 tests/models/bartpho/__init__.py 1 tests/models/bartpho/test_tokenization_bartpho.py 44 tests/models/beit/__init__.py 1 tests/models/beit/test_image_processing_beit.py 244 tests/models/beit/test_modeling_beit.py 430 tests/models/bert/__init__.py 1 tests/models/bert/test_modeling_bert.py 661 tests/models/bert/test_tokenization_bert.py 255 tests/models/bert_generation/__init__.py 1 tests/models/bert_generation/test_modeling_bert_generation.py 270 tests/models/bert_japanese/__init__.py 1 tests/models/bert_japanese/test_tokenization_bert_japanese.py 369 tests/models/bertweet/__init__.py 1 tests/models/bertweet/test_tokenization_bertweet.py 43 tests/models/big_bird/__init__.py 1 tests/models/bigbird_pegasus/__init__.py 1 tests/models/biogpt/__init__.py 1 tests/models/biogpt/test_modeling_biogpt.py 335 tests/models/biogpt/test_tokenization_biogpt.py 67 tests/models/bit/__init__.py 1 tests/models/bit/test_image_processing_bit.py 96 tests/models/bit/test_modeling_bit.py 220 tests/models/bitnet/__init__.py 1 tests/models/bitnet/test_modeling_bitnet.py 202 tests/models/blenderbot/__init__.py 1 tests/models/blenderbot/test_modeling_blenderbot.py 432 tests/models/blenderbot/test_tokenization_blenderbot.py 49 tests/models/blenderbot_small/__init__.py 1 tests/models/blenderbot_small/test_modeling_blenderbot_small.py 442 tests/models/blenderbot_small/test_tokenization_blenderbot_small.py 61 tests/models/blip/__init__.py 1 tests/models/blip/test_image_processing_blip.py 101 tests/models/blip/test_modeling_blip.py 1097 tests/models/blip/test_modeling_blip_text.py 129 tests/models/blip/test_processor_blip.py 105 tests/models/blip_2/__init__.py 1 tests/models/blip_2/test_modeling_blip_2.py 1527 tests/models/blip_2/test_processor_blip_2.py 83 tests/models/bloom/__init__.py 1 tests/models/bloom/test_modeling_bloom.py 612 tests/models/bloom/test_tokenization_bloom.py 115 tests/models/bridgetower/__init__.py 1 tests/models/bridgetower/test_image_processing_bridgetower.py 123 tests/models/bridgetower/test_modeling_bridgetower.py 510 tests/models/bridgetower/test_processor_bridgetower.py 150 tests/models/bros/__init__.py 1 tests/models/bros/test_modeling_bros.py 386 tests/models/byt5/__init__.py 1 tests/models/byt5/test_tokenization_byt5.py 261 tests/models/camembert/__init__.py 1 tests/models/camembert/test_modeling_camembert.py 53 tests/models/camembert/test_tokenization_camembert.py 158 tests/models/canine/__init__.py 1 tests/models/canine/test_tokenization_canine.py 244 tests/models/chameleon/__init__.py 1 tests/models/chameleon/test_image_processing_chameleon.py 151 tests/models/chameleon/test_modeling_chameleon.py 388 tests/models/chameleon/test_processor_chameleon.py 45 tests/models/chinese_clip/__init__.py 1 tests/models/chinese_clip/test_image_processing_chinese_clip.py 134 tests/models/chinese_clip/test_modeling_chinese_clip.py 604 tests/models/chinese_clip/test_processor_chinese_clip.py 150 tests/models/clap/__init__.py 1 tests/models/clap/test_feature_extraction_clap.py 467 tests/models/clap/test_modeling_clap.py 593 tests/models/clap/test_processor_clap.py 75 tests/models/clip/__init__.py 1 tests/models/clip/test_image_processing_clip.py 96 tests/models/clip/test_modeling_clip.py 730 tests/models/clip/test_processor_clip.py 132 tests/models/clip/test_tokenization_clip.py 135 tests/models/clipseg/__init__.py 1 tests/models/clipseg/test_modeling_clipseg.py 550 tests/models/clipseg/test_processor_clipseg.py 125 tests/models/clvp/__init__.py 1 tests/models/clvp/test_feature_extraction_clvp.py 167 tests/models/clvp/test_modeling_clvp.py 476 tests/models/clvp/test_processor_clvp.py 79 tests/models/code_llama/__init__.py 1 tests/models/codegen/__init__.py 1 tests/models/codegen/test_modeling_codegen.py 365 tests/models/cohere/__init__.py 1 tests/models/cohere/test_modeling_cohere.py 192 tests/models/cohere/test_tokenization_cohere.py 195 tests/models/cohere2/__init__.py 1 tests/models/cohere2/test_modeling_cohere2.py 228 tests/models/colpali/__init__.py 1 tests/models/colpali/test_modeling_colpali.py 264 tests/models/colpali/test_processing_colpali.py 183 tests/models/colqwen2/__init__.py 1 tests/models/colqwen2/test_modeling_colqwen2.py 253 tests/models/colqwen2/test_processing_colqwen2.py 179 tests/models/conditional_detr/__init__.py 1 tests/models/conditional_detr/test_image_processing_conditional_detr.py 460 tests/models/conditional_detr/test_modeling_conditional_detr.py 472 tests/models/convbert/__init__.py 1 tests/models/convbert/test_modeling_convbert.py 402 tests/models/convnext/__init__.py 1 tests/models/convnext/test_image_processing_convnext.py 89 tests/models/convnext/test_modeling_convnext.py 213 tests/models/convnextv2/__init__.py 1 tests/models/convnextv2/test_modeling_convnextv2.py 228 tests/models/cpm/__init__.py 1 tests/models/cpm/test_tokenization_cpm.py 28 tests/models/cpmant/__init__.py 1 tests/models/cpmant/test_modeling_cpmant.py 183 tests/models/cpmant/test_tokenization_cpmant.py 47 tests/models/csm/__init__.py 1 tests/models/csm/test_modeling_csm.py 533 tests/models/ctrl/__init__.py 1 tests/models/ctrl/test_modeling_ctrl.py 221 tests/models/ctrl/test_tokenization_ctrl.py 44 tests/models/cvt/__init__.py 1 tests/models/cvt/test_modeling_cvt.py 196 tests/models/d_fine/__init__.py 1 tests/models/d_fine/test_modeling_d_fine.py 655 tests/models/dab_detr/__init__.py 1 tests/models/dab_detr/test_modeling_dab_detr.py 636 tests/models/dac/__init__.py 1 tests/models/dac/test_feature_extraction_dac.py 140 tests/models/dac/test_modeling_dac.py 527 tests/models/data2vec/__init__.py 1 tests/models/data2vec/test_modeling_data2vec_audio.py 531 tests/models/data2vec/test_modeling_data2vec_text.py 441 tests/models/data2vec/test_modeling_data2vec_vision.py 286 tests/models/dbrx/__init__.py 1 tests/models/dbrx/test_modeling_dbrx.py 108 tests/models/deberta/__init__.py 1 tests/models/deberta/test_modeling_deberta.py 253 tests/models/deberta/test_tokenization_deberta.py 130 tests/models/deberta_v2/__init__.py 1 tests/models/deberta_v2/test_modeling_deberta_v2.py 270 tests/models/decision_transformer/__init__.py 1 tests/models/decision_transformer/test_modeling_decision_transformer.py 185 tests/models/deepseek_v3/__init__.py 1 tests/models/deepseek_v3/test_modeling_deepseek_v3.py 448 tests/models/deformable_detr/__init__.py 1 tests/models/deformable_detr/test_image_processing_deformable_detr.py 556 tests/models/deformable_detr/test_modeling_deformable_detr.py 590 tests/models/deit/__init__.py 1 tests/models/deit/test_image_processing_deit.py 92 tests/models/deit/test_modeling_deit.py 351 tests/models/depth_anything/__init__.py 1 tests/models/depth_anything/test_modeling_depth_anything.py 226 tests/models/depth_pro/__init__.py 1 tests/models/depth_pro/test_image_processing_depth_pro.py 90 tests/models/depth_pro/test_modeling_depth_pro.py 304 tests/models/detr/__init__.py 1 tests/models/detr/test_image_processing_detr.py 597 tests/models/detr/test_modeling_detr.py 551 tests/models/dia/__init__.py 1 tests/models/dia/test_feature_extraction_dia.py 152 tests/models/dia/test_modeling_dia.py 580 tests/models/dia/test_processor_dia.py 187 tests/models/diffllama/__init__.py 1 tests/models/diffllama/test_modeling_diffllama.py 676 tests/models/dinat/__init__.py 1 tests/models/dinat/test_modeling_dinat.py 287 tests/models/dinov2/__init__.py 1 tests/models/dinov2/test_modeling_dinov2.py 252 tests/models/dinov2_with_registers/__init__.py 1 tests/models/dinov2_with_registers/test_modeling_dinov2_with_registers.py 281 tests/models/distilbert/__init__.py 1 tests/models/distilbert/test_modeling_distilbert.py 381 tests/models/distilbert/test_tokenization_distilbert.py 20 tests/models/dit/__init__.py 1 tests/models/dit/test_modeling_dit.py 31 tests/models/donut/__init__.py 1 tests/models/donut/test_image_processing_donut.py 200 tests/models/donut/test_modeling_donut_swin.py 293 tests/models/donut/test_processor_donut.py 37 tests/models/dots1/__init__.py 1 tests/models/dots1/test_modeling_dots1.py 102 tests/models/dpr/__init__.py 1 tests/models/dpr/test_modeling_dpr.py 246 tests/models/dpr/test_tokenization_dpr.py 60 tests/models/dpt/__init__.py 1 tests/models/dpt/test_image_processing_dpt.py 275 tests/models/dpt/test_modeling_dpt.py 327 tests/models/dpt/test_modeling_dpt_auto_backbone.py 229 tests/models/dpt/test_modeling_dpt_hybrid.py 258 tests/models/efficientnet/__init__.py 1 tests/models/efficientnet/test_image_processing_efficientnet.py 140 tests/models/efficientnet/test_modeling_efficientnet.py 188 tests/models/electra/__init__.py 1 tests/models/electra/test_modeling_electra.py 425 tests/models/electra/test_tokenization_electra.py 250 tests/models/emu3/__init__.py 1 tests/models/emu3/test_modeling_emu3.py 444 tests/models/emu3/test_processor_emu3.py 58 tests/models/encodec/__init__.py 1 tests/models/encodec/test_feature_extraction_encodec.py 171 tests/models/encodec/test_modeling_encodec.py 466 tests/models/encoder_decoder/__init__.py 1 tests/models/eomt/__init__.py 1 tests/models/eomt/test_image_processing_eomt.py 218 tests/models/eomt/test_modeling_eomt.py 357 tests/models/ernie/__init__.py 1 tests/models/ernie/test_modeling_ernie.py 504 tests/models/esm/__init__.py 1 tests/models/esm/test_modeling_esm.py 310 tests/models/esm/test_modeling_esmfold.py 220 tests/models/esm/test_tokenization_esm.py 77 tests/models/falcon/__init__.py 1 tests/models/falcon/test_modeling_falcon.py 169 tests/models/falcon_h1/__init__.py 1 tests/models/falcon_h1/test_modeling_falcon_h1.py 357 tests/models/falcon_mamba/__init__.py 1 tests/models/falcon_mamba/test_modeling_falcon_mamba.py 456 tests/models/fastspeech2_conformer/__init__.py 1 tests/models/flaubert/__init__.py 1 tests/models/flaubert/test_modeling_flaubert.py 437 tests/models/flaubert/test_tokenization_flaubert.py 43 tests/models/flava/__init__.py 1 tests/models/flava/test_image_processing_flava.py 336 tests/models/flava/test_modeling_flava.py 1106 tests/models/flava/test_processor_flava.py 160 tests/models/fnet/__init__.py 1 tests/models/focalnet/__init__.py 1 tests/models/focalnet/test_modeling_focalnet.py 337 tests/models/fsmt/__init__.py 1 tests/models/fsmt/test_modeling_fsmt.py 492 tests/models/fsmt/test_tokenization_fsmt.py 115 tests/models/funnel/__init__.py 1 tests/models/funnel/test_modeling_funnel.py 438 tests/models/funnel/test_tokenization_funnel.py 64 tests/models/fuyu/__init__.py 1 tests/models/fuyu/test_image_processing_fuyu.py 47 tests/models/fuyu/test_modeling_fuyu.py 185 tests/models/gemma/__init__.py 1 tests/models/gemma/test_modeling_gemma.py 329 tests/models/gemma2/__init__.py 1 tests/models/gemma2/test_modeling_gemma2.py 361 tests/models/gemma3/__init__.py 1 tests/models/gemma3/test_image_processing_gemma3.py 199 tests/models/gemma3/test_modeling_gemma3.py 591 tests/models/gemma3n/__init__.py 1 tests/models/gemma3n/test_feature_extraction_gemma3n.py 202 tests/models/gemma3n/test_modeling_gemma3n.py 679 tests/models/gemma3n/test_processing_gemma3n.py 127 tests/models/git/__init__.py 1 tests/models/git/test_modeling_git.py 464 tests/models/git/test_processor_git.py 85 tests/models/glm/__init__.py 1 tests/models/glm/test_modeling_glm.py 142 tests/models/glm4/__init__.py 1 tests/models/glm4/test_modeling_glm4.py 180 tests/models/glm4v/__init__.py 1 tests/models/glm4v/test_modeling_glm4v.py 409 tests/models/glm4v/test_video_processing_glm4v.py 263 tests/models/glpn/__init__.py 1 tests/models/glpn/test_image_processing_glpn.py 109 tests/models/glpn/test_modeling_glpn.py 258 tests/models/got_ocr2/__init__.py 1 tests/models/got_ocr2/test_image_processing_got_ocr2.py 126 tests/models/got_ocr2/test_modeling_got_ocr2.py 286 tests/models/got_ocr2/test_processor_got_ocr2.py 49 tests/models/gpt2/__init__.py 1 tests/models/gpt2/test_modeling_gpt2.py 707 tests/models/gpt2/test_tokenization_gpt2.py 269 tests/models/gpt_bigcode/__init__.py 1 tests/models/gpt_bigcode/test_modeling_gpt_bigcode.py 444 tests/models/gpt_neo/__init__.py 1 tests/models/gpt_neo/test_modeling_gpt_neo.py 433 tests/models/gpt_neox/__init__.py 1 tests/models/gpt_neox/test_modeling_gpt_neox.py 365 tests/models/gpt_neox_japanese/__init__.py 1 tests/models/gpt_neox_japanese/test_modeling_gpt_neox_japanese.py 202 tests/models/gpt_neox_japanese/test_tokenization_gpt_neox_japanese.py 101 tests/models/gpt_sw3/__init__.py 1 tests/models/gptj/__init__.py 1 tests/models/gptj/test_modeling_gptj.py 441 tests/models/granite/__init__.py 1 tests/models/granite/test_modeling_granite.py 291 tests/models/granite_speech/__init__.py 1 tests/models/granite_speech/test_modeling_granite_speech.py 313 tests/models/granite_speech/test_processor_granite_speech.py 151 tests/models/granitemoe/__init__.py 1 tests/models/granitemoe/test_modeling_granitemoe.py 300 tests/models/granitemoehybrid/__init__.py 1 tests/models/granitemoehybrid/test_modeling_granitemoehybrid.py 105 tests/models/granitemoeshared/__init__.py 1 tests/models/granitemoeshared/test_modeling_granitemoeshared.py 303 tests/models/grounding_dino/__init__.py 1 tests/models/grounding_dino/test_image_processing_grounding_dino.py 485 tests/models/grounding_dino/test_modeling_grounding_dino.py 626 tests/models/grounding_dino/test_processor_grounding_dino.py 197 tests/models/groupvit/__init__.py 1 tests/models/groupvit/test_modeling_groupvit.py 552 tests/models/helium/__init__.py 1 tests/models/helium/test_modeling_helium.py 72 tests/models/herbert/__init__.py 1 tests/models/herbert/test_tokenization_herbert.py 101 tests/models/hgnet_v2/__init__.py 1 tests/models/hgnet_v2/test_modeling_hgnet_v2.py 211 tests/models/hiera/__init__.py 1 tests/models/hiera/test_modeling_hiera.py 472 tests/models/hubert/__init__.py 1 tests/models/hubert/test_modeling_hubert.py 736 tests/models/ibert/__init__.py 1 tests/models/ibert/test_modeling_ibert.py 562 tests/models/idefics/__init__.py 1 tests/models/idefics/test_image_processing_idefics.py 145 tests/models/idefics/test_modeling_idefics.py 745 tests/models/idefics/test_processor_idefics.py 145 tests/models/idefics2/__init__.py 1 tests/models/idefics2/test_image_processing_idefics2.py 301 tests/models/idefics2/test_modeling_idefics2.py 506 tests/models/idefics2/test_processor_idefics2.py 245 tests/models/idefics3/__init__.py 1 tests/models/idefics3/test_image_processing_idefics3.py 261 tests/models/idefics3/test_modeling_idefics3.py 399 tests/models/idefics3/test_processor_idefics3.py 320 tests/models/ijepa/__init__.py 1 tests/models/ijepa/test_modeling_ijepa.py 255 tests/models/imagegpt/__init__.py 1 tests/models/imagegpt/test_image_processing_imagegpt.py 195 tests/models/imagegpt/test_modeling_imagegpt.py 277 tests/models/informer/__init__.py 1 tests/models/informer/test_modeling_informer.py 435 tests/models/instructblip/__init__.py 1 tests/models/instructblip/test_modeling_instructblip.py 653 tests/models/instructblip/test_processor_instructblip.py 122 tests/models/instructblipvideo/__init__.py 1 tests/models/instructblipvideo/test_modeling_instructblipvideo.py 621 tests/models/instructblipvideo/test_processor_instructblipvideo.py 124 tests/models/instructblipvideo/test_video_processing_instructblipvideo.py 84 tests/models/internvl/__init__.py 1 tests/models/internvl/test_modeling_internvl.py 855 tests/models/internvl/test_processor_internvl.py 278 tests/models/internvl/test_video_processor_internvl.py 74 tests/models/jamba/__init__.py 1 tests/models/jamba/test_modeling_jamba.py 519 tests/models/janus/__init__.py 1 tests/models/janus/test_image_processing_janus.py 132 tests/models/janus/test_modeling_janus.py 451 tests/models/janus/test_processor_janus.py 344 tests/models/jetmoe/__init__.py 1 tests/models/jetmoe/test_modeling_jetmoe.py 157 tests/models/kosmos2/__init__.py 1 tests/models/kosmos2/test_modeling_kosmos2.py 693 tests/models/kosmos2/test_processor_kosmos2.py 449 tests/models/kyutai_speech_to_text/__init__.py 1 tests/models/kyutai_speech_to_text/test_modeling_kyutai_speech_to_text.py 580 tests/models/layoutlm/__init__.py 1 tests/models/layoutlm/test_modeling_layoutlm.py 307 tests/models/layoutlm/test_tokenization_layoutlm.py 53 tests/models/layoutlmv2/__init__.py 1 tests/models/layoutlmv2/test_modeling_layoutlmv2.py 459 tests/models/layoutlmv3/__init__.py 1 tests/models/layoutlmv3/test_modeling_layoutlmv3.py 339 tests/models/layoutxlm/__init__.py 1 tests/models/led/__init__.py 1 tests/models/led/test_tokenization_led.py 158 tests/models/levit/__init__.py 1 tests/models/levit/test_image_processing_levit.py 90 tests/models/levit/test_modeling_levit.py 311 tests/models/lightglue/__init__.py 1 tests/models/lightglue/test_image_processing_lightglue.py 65 tests/models/lightglue/test_modeling_lightglue.py 429 tests/models/lilt/__init__.py 1 tests/models/lilt/test_modeling_lilt.py 270 tests/models/llama/__init__.py 1 tests/models/llama/test_modeling_llama.py 470 tests/models/llama4/__init__.py 1 tests/models/llama4/test_image_processing_llama4.py 97 tests/models/llama4/test_modeling_llama4.py 81 tests/models/llama4/test_processor_llama4.py 28 tests/models/llava/__init__.py 1 tests/models/llava/test_configuration_llava.py 51 tests/models/llava/test_image_processing_llava.py 176 tests/models/llava/test_modeling_llava.py 537 tests/models/llava/test_processor_llava.py 68 tests/models/llava_next/__init__.py 1 tests/models/llava_next/test_image_processing_llava_next.py 189 tests/models/llava_next/test_modeling_llava_next.py 447 tests/models/llava_next/test_processor_llava_next.py 72 tests/models/llava_next_video/__init__.py 1 tests/models/llava_next_video/test_modeling_llava_next_video.py 394 tests/models/llava_next_video/test_processor_llava_next_video.py 79 tests/models/llava_next_video/test_video_processing_llava_next_video.py 93 tests/models/llava_onevision/__init__.py 1 tests/models/llava_onevision/test_image_processing_llava_onevision.py 206 tests/models/llava_onevision/test_modeling_llava_onevision.py 458 tests/models/llava_onevision/test_processor_llava_onevision.py 84 tests/models/llava_onevision/test_video_processing_llava_onevision.py 82 tests/models/longformer/__init__.py 1 tests/models/longformer/test_modeling_longformer.py 636 tests/models/longformer/test_tokenization_longformer.py 233 tests/models/longt5/__init__.py 1 tests/models/longt5/test_modeling_longt5.py 1019 tests/models/luke/__init__.py 1 tests/models/luke/test_modeling_luke.py 817 tests/models/luke/test_tokenization_luke.py 511 tests/models/lxmert/__init__.py 1 tests/models/lxmert/test_modeling_lxmert.py 684 tests/models/lxmert/test_tokenization_lxmert.py 59 tests/models/m2m_100/__init__.py 1 tests/models/m2m_100/test_modeling_m2m_100.py 355 tests/models/mamba/__init__.py 1 tests/models/mamba/test_modeling_mamba.py 418 tests/models/mamba2/__init__.py 1 tests/models/mamba2/test_modeling_mamba2.py 365 tests/models/marian/__init__.py 1 tests/models/marian/test_modeling_marian.py 664 tests/models/markuplm/__init__.py 1 tests/models/markuplm/test_feature_extraction_markuplm.py 39 tests/models/markuplm/test_modeling_markuplm.py 309 tests/models/mask2former/__init__.py 1 tests/models/mask2former/test_image_processing_mask2former.py 417 tests/models/mask2former/test_modeling_mask2former.py 433 tests/models/maskformer/__init__.py 1 tests/models/maskformer/test_image_processing_maskformer.py 407 tests/models/maskformer/test_modeling_maskformer.py 516 tests/models/maskformer/test_modeling_maskformer_swin.py 327 tests/models/mbart/__init__.py 1 tests/models/mbart/test_modeling_mbart.py 585 tests/models/mbart/test_tokenization_mbart.py 242 tests/models/mbart50/__init__.py 1 tests/models/megatron_bert/__init__.py 1 tests/models/megatron_bert/test_modeling_megatron_bert.py 321 tests/models/megatron_gpt2/__init__.py 1 tests/models/megatron_gpt2/test_modeling_megatron_gpt2.py 59 tests/models/mgp_str/__init__.py 1 tests/models/mgp_str/test_modeling_mgp_str.py 190 tests/models/mgp_str/test_processor_mgp_str.py 130 tests/models/mgp_str/test_tokenization_mgp_str.py 66 tests/models/mimi/__init__.py 1 tests/models/mimi/test_modeling_mimi.py 460 tests/models/minimax/__init__.py 1 tests/models/minimax/test_modeling_minimax.py 206 tests/models/mistral/__init__.py 1 tests/models/mistral/test_modeling_mistral.py 359 tests/models/mistral3/__init__.py 1 tests/models/mistral3/test_modeling_mistral3.py 417 tests/models/mixtral/__init__.py 1 tests/models/mixtral/test_modeling_mixtral.py 163 tests/models/mlcd/__init__.py 1 tests/models/mlcd/test_modeling_mlcd.py 162 tests/models/mllama/__init__.py 1 tests/models/mllama/test_image_processing_mllama.py 284 tests/models/mllama/test_modeling_mllama.py 594 tests/models/mllama/test_processor_mllama.py 305 tests/models/mluke/__init__.py 1 tests/models/mluke/test_tokenization_mluke.py 516 tests/models/mobilebert/__init__.py 1 tests/models/mobilebert/test_modeling_mobilebert.py 350 tests/models/mobilebert/test_tokenization_mobilebert.py 254 tests/models/mobilenet_v1/__init__.py 1 tests/models/mobilenet_v1/test_image_processing_mobilenet_v1.py 79 tests/models/mobilenet_v1/test_modeling_mobilenet_v1.py 178 tests/models/mobilenet_v2/__init__.py 1 tests/models/mobilenet_v2/test_image_processing_mobilenet_v2.py 79 tests/models/mobilenet_v2/test_modeling_mobilenet_v2.py 252 tests/models/mobilevit/__init__.py 1 tests/models/mobilevit/test_image_processing_mobilevit.py 209 tests/models/mobilevit/test_modeling_mobilevit.py 267 tests/models/mobilevitv2/__init__.py 1 tests/models/mobilevitv2/test_modeling_mobilevitv2.py 278 tests/models/modernbert/__init__.py 1 tests/models/modernbert/test_modeling_modernbert.py 407 tests/models/moonshine/__init__.py 1 tests/models/moonshine/test_modeling_moonshine.py 431 tests/models/moshi/__init__.py 1 tests/models/moshi/test_modeling_moshi.py 788 tests/models/moshi/test_tokenization_moshi.py 322 tests/models/mpnet/__init__.py 1 tests/models/mpnet/test_modeling_mpnet.py 219 tests/models/mpnet/test_tokenization_mpnet.py 54 tests/models/mpt/__init__.py 1 tests/models/mpt/test_modeling_mpt.py 405 tests/models/mra/__init__.py 1 tests/models/mra/test_modeling_mra.py 331 tests/models/mt5/__init__.py 1 tests/models/mt5/test_modeling_mt5.py 868 tests/models/musicgen/__init__.py 1 tests/models/musicgen/test_modeling_musicgen.py 1184 tests/models/musicgen/test_processor_musicgen.py 103 tests/models/musicgen_melody/__init__.py 1 tests/models/musicgen_melody/test_feature_extraction_musicgen_melody.py 152 tests/models/musicgen_melody/test_modeling_musicgen_melody.py 1185 tests/models/musicgen_melody/test_processor_musicgen_melody.py 108 tests/models/mvp/__init__.py 1 tests/models/mvp/test_modeling_mvp.py 670 tests/models/mvp/test_tokenization_mvp.py 149 tests/models/myt5/__init__.py 1 tests/models/myt5/test_tokenization_myt5.py 114 tests/models/nemotron/__init__.py 1 tests/models/nemotron/test_modeling_nemotron.py 124 tests/models/nllb/__init__.py 1 tests/models/nllb/test_tokenization_nllb.py 363 tests/models/nllb_moe/__init__.py 1 tests/models/nougat/__init__.py 1 tests/models/nougat/test_image_processing_nougat.py 261 tests/models/nystromformer/__init__.py 1 tests/models/nystromformer/test_modeling_nystromformer.py 262 tests/models/olmo/__init__.py 1 tests/models/olmo/test_modeling_olmo.py 301 tests/models/olmo2/__init__.py 1 tests/models/olmo2/test_modeling_olmo2.py 282 tests/models/olmoe/__init__.py 1 tests/models/olmoe/test_modeling_olmoe.py 244 tests/models/omdet_turbo/__init__.py 1 tests/models/omdet_turbo/test_modeling_omdet_turbo.py 705 tests/models/omdet_turbo/test_processor_omdet_turbo.py 134 tests/models/oneformer/__init__.py 1 tests/models/oneformer/test_image_processing_oneformer.py 290 tests/models/oneformer/test_modeling_oneformer.py 501 tests/models/oneformer/test_processor_oneformer.py 601 tests/models/openai/__init__.py 1 tests/models/openai/test_modeling_openai.py 245 tests/models/openai/test_tokenization_openai.py 96 tests/models/opt/__init__.py 1 tests/models/opt/test_modeling_opt.py 446 tests/models/owlv2/__init__.py 1 tests/models/owlv2/test_image_processing_owlv2.py 126 tests/models/owlv2/test_modeling_owlv2.py 818 tests/models/owlv2/test_processor_owlv2.py 27 tests/models/owlvit/__init__.py 1 tests/models/owlvit/test_image_processing_owlvit.py 93 tests/models/owlvit/test_modeling_owlvit.py 810 tests/models/owlvit/test_processor_owlvit.py 171 tests/models/paligemma/__init__.py 1 tests/models/paligemma/test_modeling_paligemma.py 498 tests/models/paligemma/test_processor_paligemma.py 76 tests/models/paligemma2/__init__.py 1 tests/models/paligemma2/test_modeling_paligemma2.py 277 tests/models/patchtsmixer/__init__.py 1 tests/models/patchtsmixer/test_modeling_patchtsmixer.py 921 tests/models/patchtst/__init__.py 1 tests/models/patchtst/test_modeling_patchtst.py 302 tests/models/pegasus/__init__.py 1 tests/models/pegasus_x/__init__.py 1 tests/models/pegasus_x/test_modeling_pegasus_x.py 681 tests/models/perceiver/__init__.py 1 tests/models/perceiver/test_image_processing_perceiver.py 161 tests/models/perceiver/test_modeling_perceiver.py 800 tests/models/perceiver/test_tokenization_perceiver.py 210 tests/models/persimmon/__init__.py 1 tests/models/persimmon/test_modeling_persimmon.py 90 tests/models/phi/__init__.py 1 tests/models/phi/test_modeling_phi.py 107 tests/models/phi3/__init__.py 1 tests/models/phi3/test_modeling_phi3.py 253 tests/models/phi4_multimodal/__init__.py 1 tests/models/phi4_multimodal/test_feature_extractor_phi4_multimodal.py 214 tests/models/phi4_multimodal/test_image_processing_phi4_multimodal.py 224 tests/models/phi4_multimodal/test_modeling_phi4_multimodal.py 314 tests/models/phimoe/__init__.py 1 tests/models/phimoe/test_modeling_phimoe.py 140 tests/models/phobert/__init__.py 1 tests/models/phobert/test_tokenization_phobert.py 44 tests/models/pix2struct/__init__.py 1 tests/models/pix2struct/test_image_processing_pix2struct.py 251 tests/models/pix2struct/test_modeling_pix2struct.py 666 tests/models/pix2struct/test_processor_pix2struct.py 222 tests/models/pixtral/__init__.py 1 tests/models/pixtral/test_image_processing_pixtral.py 207 tests/models/pixtral/test_modeling_pixtral.py 93 tests/models/pixtral/test_processor_pixtral.py 172 tests/models/plbart/__init__.py 1 tests/models/plbart/test_modeling_plbart.py 538 tests/models/plbart/test_tokenization_plbart.py 315 tests/models/poolformer/__init__.py 1 tests/models/poolformer/test_image_processing_poolformer.py 94 tests/models/poolformer/test_modeling_poolformer.py 172 tests/models/pop2piano/__init__.py 1 tests/models/pop2piano/test_feature_extraction_pop2piano.py 199 tests/models/pop2piano/test_modeling_pop2piano.py 574 tests/models/pop2piano/test_processor_pop2piano.py 198 tests/models/pop2piano/test_tokenization_pop2piano.py 300 tests/models/prompt_depth_anything/__init__.py 1 tests/models/prompt_depth_anything/test_image_processing_prompt_depth_anything.py 98 tests/models/prompt_depth_anything/test_modeling_prompt_depth_anything.py 243 tests/models/prophetnet/__init__.py 1 tests/models/prophetnet/test_modeling_prophetnet.py 1089 tests/models/prophetnet/test_tokenization_prophetnet.py 146 tests/models/pvt/__init__.py 1 tests/models/pvt/test_image_processing_pvt.py 80 tests/models/pvt/test_modeling_pvt.py 223 tests/models/pvt_v2/__init__.py 1 tests/models/pvt_v2/test_modeling_pvt_v2.py 282 tests/models/qwen2/__init__.py 1 tests/models/qwen2_5_omni/__init__.py 1 tests/models/qwen2_5_omni/test_modeling_qwen2_5_omni.py 631 tests/models/qwen2_5_omni/test_processor_qwen2_5_omni.py 488 tests/models/qwen2_5_vl/__init__.py 1 tests/models/qwen2_5_vl/test_modeling_qwen2_5_vl.py 529 tests/models/qwen2_5_vl/test_processor_qwen2_5_vl.py 263 tests/models/qwen2_audio/__init__.py 1 tests/models/qwen2_audio/test_modeling_qwen2_audio.py 309 tests/models/qwen2_audio/test_processor_qwen2_audio.py 104 tests/models/qwen2_moe/__init__.py 1 tests/models/qwen2_moe/test_modeling_qwen2_moe.py 206 tests/models/qwen2_vl/__init__.py 1 tests/models/qwen2_vl/test_image_processing_qwen2_vl.py 274 tests/models/qwen2_vl/test_modeling_qwen2_vl.py 445 tests/models/qwen2_vl/test_processor_qwen2_vl.py 283 tests/models/qwen2_vl/test_video_processing_qwen2_vl.py 270 tests/models/qwen3/__init__.py 1 tests/models/qwen3_moe/__init__.py 1 tests/models/qwen3_moe/test_modeling_qwen3_moe.py 191 tests/models/rag/__init__.py 1 tests/models/rag/test_modeling_rag.py 983 tests/models/rag/test_retrieval_rag.py 276 tests/models/rag/test_tokenization_rag.py 138 tests/models/recurrent_gemma/__init__.py 1 tests/models/reformer/__init__.py 1 tests/models/reformer/test_modeling_reformer.py 1147 tests/models/reformer/test_tokenization_reformer.py 297 tests/models/regnet/__init__.py 1 tests/models/regnet/test_modeling_regnet.py 179 tests/models/rembert/__init__.py 1 tests/models/rembert/test_modeling_rembert.py 405 tests/models/rembert/test_tokenization_rembert.py 191 tests/models/resnet/__init__.py 1 tests/models/resnet/test_modeling_resnet.py 226 tests/models/roberta/__init__.py 1 tests/models/roberta/test_modeling_roberta.py 492 tests/models/roberta/test_tokenization_roberta.py 233 tests/models/roberta_prelayernorm/__init__.py 1 tests/models/roberta_prelayernorm/test_modeling_roberta_prelayernorm.py 443 tests/models/roc_bert/__init__.py 1 tests/models/roc_bert/test_modeling_roc_bert.py 629 tests/models/roc_bert/test_tokenization_roc_bert.py 229 tests/models/roformer/__init__.py 1 tests/models/roformer/test_modeling_roformer.py 500 tests/models/roformer/test_tokenization_roformer.py 65 tests/models/rt_detr/__init__.py 1 tests/models/rt_detr/test_image_processing_rt_detr.py 329 tests/models/rt_detr/test_modeling_rt_detr.py 616 tests/models/rt_detr/test_modeling_rt_detr_resnet.py 71 tests/models/rt_detr_v2/__init__.py 1 tests/models/rt_detr_v2/test_modeling_rt_detr_v2.py 617 tests/models/rwkv/__init__.py 1 tests/models/rwkv/test_modeling_rwkv.py 344 tests/models/sam/__init__.py 1 tests/models/sam/test_modeling_sam.py 795 tests/models/sam/test_processor_sam.py 112 tests/models/sam_hq/__init__.py 1 tests/models/sam_hq/test_modeling_sam_hq.py 854 tests/models/sam_hq/test_processor_samhq.py 101 tests/models/seamless_m4t/__init__.py 1 tests/models/seamless_m4t/test_feature_extraction_seamless_m4t.py 241 tests/models/seamless_m4t/test_modeling_seamless_m4t.py 847 tests/models/seamless_m4t/test_processor_seamless_m4t.py 77 tests/models/seamless_m4t/test_tokenization_seamless_m4t.py 508 tests/models/seamless_m4t_v2/__init__.py 1 tests/models/seamless_m4t_v2/test_modeling_seamless_m4t_v2.py 893 tests/models/segformer/__init__.py 1 tests/models/segformer/test_image_processing_segformer.py 202 tests/models/segformer/test_modeling_segformer.py 333 tests/models/seggpt/__init__.py 1 tests/models/seggpt/test_image_processing_seggpt.py 224 tests/models/seggpt/test_modeling_seggpt.py 353 tests/models/sew/__init__.py 1 tests/models/sew/test_modeling_sew.py 405 tests/models/sew_d/__init__.py 1 tests/models/sew_d/test_modeling_sew_d.py 420 tests/models/shieldgemma2/__init__.py 1 tests/models/shieldgemma2/test_modeling_shieldgemma2.py 33 tests/models/shieldgemma2/test_processing_shieldgemma2.py 123 tests/models/siglip/__init__.py 1 tests/models/siglip/test_image_processing_siglip.py 94 tests/models/siglip/test_modeling_siglip.py 613 tests/models/siglip/test_tokenization_siglip.py 336 tests/models/siglip2/__init__.py 1 tests/models/siglip2/test_image_processing_siglip2.py 136 tests/models/siglip2/test_modeling_siglip2.py 596 tests/models/smollm3/__init__.py 1 tests/models/smollm3/test_modeling_smollm3.py 176 tests/models/smolvlm/__init__.py 1 tests/models/smolvlm/test_image_processing_smolvlm.py 261 tests/models/smolvlm/test_modeling_smolvlm.py 421 tests/models/smolvlm/test_processor_smolvlm.py 461 tests/models/smolvlm/test_video_processing_smolvlm.py 122 tests/models/speech_encoder_decoder/__init__.py 1 tests/models/speech_encoder_decoder/test_modeling_speech_encoder_decoder.py 542 tests/models/speech_to_text/__init__.py 1 tests/models/speech_to_text/test_feature_extraction_speech_to_text.py 255 tests/models/speech_to_text/test_modeling_speech_to_text.py 565 tests/models/speech_to_text/test_processor_speech_to_text.py 104 tests/models/speecht5/__init__.py 1 tests/models/speecht5/test_feature_extraction_speecht5.py 302 tests/models/speecht5/test_modeling_speecht5.py 1534 tests/models/speecht5/test_processor_speecht5.py 125 tests/models/splinter/__init__.py 1 tests/models/splinter/test_modeling_splinter.py 410 tests/models/squeezebert/__init__.py 1 tests/models/squeezebert/test_modeling_squeezebert.py 246 tests/models/squeezebert/test_tokenization_squeezebert.py 28 tests/models/stablelm/__init__.py 1 tests/models/stablelm/test_modeling_stablelm.py 119 tests/models/starcoder2/__init__.py 1 tests/models/starcoder2/test_modeling_starcoder2.py 123 tests/models/superglue/__init__.py 1 tests/models/superglue/test_image_processing_superglue.py 283 tests/models/superglue/test_modeling_superglue.py 312 tests/models/superpoint/__init__.py 1 tests/models/superpoint/test_image_processing_superpoint.py 127 tests/models/superpoint/test_modeling_superpoint.py 240 tests/models/swiftformer/__init__.py 1 tests/models/swiftformer/test_modeling_swiftformer.py 214 tests/models/swin/__init__.py 1 tests/models/swin/test_modeling_swin.py 395 tests/models/swin2sr/__init__.py 1 tests/models/swin2sr/test_image_processing_swin2sr.py 135 tests/models/swin2sr/test_modeling_swin2sr.py 283 tests/models/swinv2/__init__.py 1 tests/models/swinv2/test_modeling_swinv2.py 407 tests/models/switch_transformers/__init__.py 1 tests/models/switch_transformers/test_modeling_switch_transformers.py 874 tests/models/t5/__init__.py 1 tests/models/t5/test_modeling_t5.py 1478 tests/models/t5gemma/__init__.py 1 tests/models/t5gemma/test_modeling_t5gemma.py 1310 tests/models/table_transformer/__init__.py 1 tests/models/table_transformer/test_modeling_table_transformer.py 455 tests/models/tapas/__init__.py 1 tests/models/tapas/test_modeling_tapas.py 904 tests/models/textnet/__init__.py 1 tests/models/textnet/test_image_processing_textnet.py 94 tests/models/textnet/test_modeling_textnet.py 265 tests/models/time_series_transformer/__init__.py 1 tests/models/time_series_transformer/test_modeling_time_series_transformer.py 443 tests/models/timesfm/__init__.py 1 tests/models/timesfm/test_modeling_timesfm.py 150 tests/models/timesformer/__init__.py 1 tests/models/timesformer/test_modeling_timesformer.py 258 tests/models/timm_backbone/__init__.py 1 tests/models/timm_backbone/test_modeling_timm_backbone.py 193 tests/models/timm_wrapper/__init__.py 1 tests/models/timm_wrapper/test_image_processing_timm_wrapper.py 57 tests/models/timm_wrapper/test_modeling_timm_wrapper.py 295 tests/models/trocr/__init__.py 1 tests/models/trocr/test_modeling_trocr.py 134 tests/models/trocr/test_processor_trocr.py 99 tests/models/tvp/__init__.py 1 tests/models/tvp/test_image_processing_tvp.py 238 tests/models/tvp/test_modeling_tvp.py 255 tests/models/udop/__init__.py 1 tests/models/udop/test_modeling_udop.py 530 tests/models/umt5/__init__.py 1 tests/models/umt5/test_modeling_umt5.py 610 tests/models/unispeech/__init__.py 1 tests/models/unispeech/test_modeling_unispeech.py 443 tests/models/unispeech_sat/__init__.py 1 tests/models/unispeech_sat/test_modeling_unispeech_sat.py 709 tests/models/univnet/__init__.py 1 tests/models/univnet/test_feature_extraction_univnet.py 266 tests/models/univnet/test_modeling_univnet.py 238 tests/models/upernet/__init__.py 1 tests/models/upernet/test_modeling_upernet.py 236 tests/models/video_llava/__init__.py 1 tests/models/video_llava/test_modeling_video_llava.py 438 tests/models/video_llava/test_video_processing_video_llava.py 89 tests/models/videomae/__init__.py 1 tests/models/videomae/test_image_processing_videomae.py 151 tests/models/videomae/test_modeling_videomae.py 361 tests/models/vilt/__init__.py 1 tests/models/vilt/test_image_processing_vilt.py 139 tests/models/vilt/test_modeling_vilt.py 516 tests/models/vipllava/__init__.py 1 tests/models/vipllava/test_modeling_vipllava.py 254 tests/models/vision_encoder_decoder/__init__.py 1 tests/models/vision_text_dual_encoder/__init__.py 1 tests/models/vision_text_dual_encoder/test_modeling_vision_text_dual_encoder.py 327 tests/models/vision_text_dual_encoder/test_processor_vision_text_dual_encoder.py 118 tests/models/visual_bert/__init__.py 1 tests/models/visual_bert/test_modeling_visual_bert.py 565 tests/models/vit/__init__.py 1 tests/models/vit/test_image_processing_vit.py 80 tests/models/vit/test_modeling_vit.py 243 tests/models/vit_mae/__init__.py 1 tests/models/vit_mae/test_modeling_vit_mae.py 314 tests/models/vit_msn/__init__.py 1 tests/models/vit_msn/test_modeling_vit_msn.py 169 tests/models/vitdet/__init__.py 1 tests/models/vitdet/test_modeling_vitdet.py 227 tests/models/vitmatte/__init__.py 1 tests/models/vitmatte/test_image_processing_vitmatte.py 258 tests/models/vitmatte/test_modeling_vitmatte.py 215 tests/models/vitpose/__init__.py 1 tests/models/vitpose/test_image_processing_vitpose.py 163 tests/models/vitpose/test_modeling_vitpose.py 244 tests/models/vitpose_backbone/__init__.py 1 tests/models/vitpose_backbone/test_modeling_vitpose_backbone.py 151 tests/models/vits/__init__.py 1 tests/models/vits/test_modeling_vits.py 369 tests/models/vivit/__init__.py 1 tests/models/vivit/test_image_processing_vivit.py 160 tests/models/vivit/test_modeling_vivit.py 277 tests/models/vjepa2/__init__.py 1 tests/models/vjepa2/test_modeling_vjepa2.py 262 tests/models/wav2vec2/__init__.py 1 tests/models/wav2vec2/test_feature_extraction_wav2vec2.py 158 tests/models/wav2vec2/test_modeling_wav2vec2.py 1500 tests/models/wav2vec2/test_processor_wav2vec2.py 115 tests/models/wav2vec2_bert/__init__.py 1 tests/models/wav2vec2_bert/test_modeling_wav2vec2_bert.py 634 tests/models/wav2vec2_bert/test_processor_wav2vec2_bert.py 116 tests/models/wav2vec2_conformer/__init__.py 1 tests/models/wav2vec2_conformer/test_modeling_wav2vec2_conformer.py 707 tests/models/wav2vec2_phoneme/__init__.py 1 tests/models/wav2vec2_phoneme/test_tokenization_wav2vec2_phoneme.py 287 tests/models/wav2vec2_with_lm/__init__.py 1 tests/models/wav2vec2_with_lm/test_processor_wav2vec2_with_lm.py 352 tests/models/wavlm/__init__.py 1 tests/models/wavlm/test_modeling_wavlm.py 430 tests/models/whisper/__init__.py 1 tests/models/whisper/test_feature_extraction_whisper.py 249 tests/models/whisper/test_processor_whisper.py 354 tests/models/x_clip/__init__.py 1 tests/models/x_clip/test_modeling_x_clip.py 587 tests/models/xglm/__init__.py 1 tests/models/xglm/test_modeling_xglm.py 357 tests/models/xglm/test_tokenization_xglm.py 153 tests/models/xlm/__init__.py 1 tests/models/xlm/test_modeling_xlm.py 450 tests/models/xlm/test_tokenization_xlm.py 66 tests/models/xlm_roberta/__init__.py 1 tests/models/xlm_roberta/test_modeling_xlm_roberta.py 52 tests/models/xlm_roberta_xl/__init__.py 1 tests/models/xlm_roberta_xl/test_modeling_xlm_roberta_xl.py 456 tests/models/xlnet/__init__.py 1 tests/models/xmod/__init__.py 1 tests/models/xmod/test_modeling_xmod.py 544 tests/models/yolos/__init__.py 1 tests/models/yolos/test_image_processing_yolos.py 469 tests/models/yolos/test_modeling_yolos.py 281 tests/models/yoso/__init__.py 1 tests/models/yoso/test_modeling_yoso.py 310 tests/models/zamba/__init__.py 1 tests/models/zamba/test_modeling_zamba.py 512 tests/models/zamba2/__init__.py 1 tests/models/zamba2/test_modeling_zamba2.py 547 tests/models/zoedepth/__init__.py 1 tests/models/zoedepth/test_image_processing_zoedepth.py 186 tests/models/zoedepth/test_modeling_zoedepth.py 259 tests/optimization/__init__.py 1 tests/optimization/test_optimization.py 184 tests/peft_integration/test_peft_integration.py 548 tests/pipelines/__init__.py 1 tests/pipelines/test_pipelines_audio_classification.py 187 tests/pipelines/test_pipelines_common.py 689 tests/pipelines/test_pipelines_depth_estimation.py 118 tests/pipelines/test_pipelines_document_question_answering.py 341 tests/pipelines/test_pipelines_fill_mask.py 339 tests/pipelines/test_pipelines_image_classification.py 238 tests/pipelines/test_pipelines_image_feature_extraction.py 101 tests/pipelines/test_pipelines_image_segmentation.py 640 tests/pipelines/test_pipelines_image_text_to_text.py 351 tests/pipelines/test_pipelines_image_to_image.py 62 tests/pipelines/test_pipelines_image_to_text.py 209 tests/pipelines/test_pipelines_mask_generation.py 141 tests/pipelines/test_pipelines_object_detection.py 243 tests/pipelines/test_pipelines_summarization.py 127 tests/pipelines/test_pipelines_table_question_answering.py 333 tests/pipelines/test_pipelines_text2text_generation.py 112 tests/pipelines/test_pipelines_text_classification.py 173 tests/pipelines/test_pipelines_text_generation.py 440 tests/pipelines/test_pipelines_text_to_audio.py 203 tests/pipelines/test_pipelines_token_classification.py 883 tests/pipelines/test_pipelines_translation.py 129 tests/pipelines/test_pipelines_video_classification.py 96 tests/pipelines/test_pipelines_visual_question_answering.py 194 tests/pipelines/test_pipelines_zero_shot.py 241 tests/pipelines/test_pipelines_zero_shot_audio_classification.py 71 tests/pipelines/test_pipelines_zero_shot_image_classification.py 170 tests/pipelines/test_pipelines_zero_shot_object_detection.py 198 tests/quantization/aqlm_integration/__init__.py 1 tests/quantization/aqlm_integration/test_aqlm.py 168 tests/quantization/autoawq/__init__.py 1 tests/quantization/autoawq/test_awq.py 348 tests/quantization/autoround/__init__.py 1 tests/quantization/autoround/test_auto_round.py 142 tests/quantization/bitnet_integration/__init__.py 1 tests/quantization/bitnet_integration/test_bitnet.py 132 tests/quantization/bnb/__init__.py 1 tests/quantization/bnb/test_4bit.py 526 tests/quantization/bnb/test_mixed_int8.py 646 tests/quantization/compressed_tensors_integration/__init__.py 1 tests/quantization/compressed_tensors_integration/test_compressed_models.py 173 tests/quantization/compressed_tensors_integration/test_compressed_tensors.py 68 tests/quantization/eetq_integration/__init__.py 1 tests/quantization/eetq_integration/test_eetq.py 100 tests/quantization/fbgemm_fp8/__init__.py 1 tests/quantization/fbgemm_fp8/test_fbgemm_fp8.py 190 tests/quantization/finegrained_fp8/__init__.py 1 tests/quantization/finegrained_fp8/test_fp8.py 181 tests/quantization/ggml/__init__.py 1 tests/quantization/ggml/test_ggml.py 760 tests/quantization/gptq/__init__.py 1 tests/quantization/gptq/test_gptq.py 322 tests/quantization/higgs/__init__.py 1 tests/quantization/higgs/test_higgs.py 113 tests/quantization/hqq/test_hqq.py 197 tests/quantization/quanto_integration/__init__.py 1 tests/quantization/quanto_integration/test_quanto.py 319 tests/quantization/quark_integration/__init__.py 1 tests/quantization/quark_integration/test_quark.py 89 tests/quantization/spqr_integration/__init__.py 1 tests/quantization/spqr_integration/test_spqr.py 155 tests/quantization/torchao_integration/__init__.py 1 tests/quantization/torchao_integration/test_torchao.py 408 tests/quantization/vptq_integration/__init__.py 1 tests/quantization/vptq_integration/test_vptq.py 124 tests/repo_utils/modular/test_conversion_order.py 50 tests/repo_utils/test_check_copies.py 189 tests/repo_utils/test_check_docstrings.py 66 tests/repo_utils/test_get_test_info.py 76 tests/repo_utils/test_tests_fetcher.py 596 tests/sagemaker/__init__.py 3 tests/sagemaker/conftest.py 50 tests/sagemaker/scripts/pytorch/run_ddp.py 32 tests/sagemaker/scripts/pytorch/run_glue_model_parallelism.py 390 tests/sagemaker/scripts/tensorflow/run_tf.py 75 tests/sagemaker/test_multi_node_data_parallel.py 84 tests/sagemaker/test_multi_node_model_parallel.py 96 tests/sagemaker/test_single_node_gpu.py 73 tests/tensor_parallel/test_tensor_parallel.py 81 tests/test_backbone_common.py 154 tests/test_configuration_common.py 137 tests/test_feature_extraction_common.py 28 tests/test_image_processing_common.py 464 tests/test_image_transforms.py 442 tests/test_modeling_common.py 3613 tests/test_pipeline_mixin.py 712 tests/test_processing_common.py 862 tests/test_sequence_feature_extraction_common.py 280 tests/test_tokenization_common.py 3500 tests/test_training_args.py 39 tests/test_video_processing_common.py 313 tests/tokenization/__init__.py 1 tests/tokenization/test_tokenization_fast.py 190 tests/tokenization/test_tokenization_utils.py 275 tests/trainer/__init__.py 1 tests/trainer/test_data_collator.py 1489 tests/trainer/test_trainer.py 4589 tests/trainer/test_trainer_callback.py 340 tests/trainer/test_trainer_distributed.py 143 tests/trainer/test_trainer_distributed_loss.py 87 tests/trainer/test_trainer_distributed_worker_seed.py 72 tests/trainer/test_trainer_fsdp.py 164 tests/trainer/test_trainer_seq2seq.py 149 tests/trainer/test_trainer_tpu.py 76 tests/trainer/test_trainer_utils.py 446 tests/utils/__init__.py 1 tests/utils/import_structures/failing_export.py 5 tests/utils/import_structures/import_structure_raw_register.py 47 tests/utils/import_structures/import_structure_raw_register_with_versions.py 50 tests/utils/import_structures/import_structure_register_with_comments.py 39 tests/utils/import_structures/import_structure_register_with_duplicates.py 39 tests/utils/test_activations.py 48 tests/utils/test_add_new_model_like.py 569 tests/utils/test_audio_utils.py 1526 tests/utils/test_backbone_utils.py 170 tests/utils/test_cache_utils.py 829 tests/utils/test_chat_template_utils.py 294 tests/utils/test_cli.py 44 tests/utils/test_configuration_utils.py 229 tests/utils/test_convert_slow_tokenizer.py 25 tests/utils/test_deprecation.py 118 tests/utils/test_doc_samples.py 71 tests/utils/test_dynamic_module_utils.py 32 tests/utils/test_expectations.py 28 tests/utils/test_feature_extraction_utils.py 74 tests/utils/test_file_utils.py 54 tests/utils/test_generic.py 232 tests/utils/test_hf_argparser.py 346 tests/utils/test_hub_utils.py 138 tests/utils/test_image_processing_utils.py 110 tests/utils/test_image_utils.py 649 tests/utils/test_import_structure.py 164 tests/utils/test_import_utils.py 13 tests/utils/test_logging.py 75 tests/utils/test_model_card.py 61 tests/utils/test_model_debugging_utils.py 86 tests/utils/test_model_output.py 139 tests/utils/test_modeling_rope_utils.py 333 tests/utils/test_modeling_utils.py 1954 tests/utils/test_offline.py 77 tests/utils/test_processing_utils.py 109 tests/utils/test_skip_decorators.py 51 tests/utils/test_tokenization_utils.py 207 tests/utils/test_versions_utils.py 51 tests/utils/test_video_utils.py 245 utils/add_pipeline_model_mapping_to_test.py 201 utils/notification_service_doc_tests.py 277 utils/split_model_tests.py 26 utils/test_module/__init__.py 1 utils/test_module/custom_configuration.py 10 utils/test_module/custom_feature_extraction.py 3 utils/test_module/custom_image_processing.py 3 utils/test_module/custom_modeling.py 21 utils/test_module/custom_pipeline.py 24 utils/test_module/custom_processing.py 4 utils/test_module/custom_tokenization.py 3 utils/test_module/custom_tokenization_fast.py 5 utils/test_module/custom_video_processing.py 3 utils/tests_fetcher.py 667