Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/huggingface/transformers

Files: *
Copyright: 2018-2026, The HuggingFace Team.
License: Apache-2.0

Files: debian/*
Copyright: 2025, Kohei Sendai <kouhei.sendai@gmail.com>
License: Apache-2.0

Files: docs/source/en/main_classes/executorch.md
 docs/source/ko/executorch.md
Copyright: Meta Platforms, Inc. and affiliates.
License: Apache-2.0

Files: docs/source/en/model_doc/afmoe.md
Copyright: 2025, Arcee AI and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/cosmos3_omni.md
Copyright: 2026, NVIDIA Corporation and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/eomt_dinov3.md
Copyright: 2026, Mobile Perception Systems Lab at TU/e and The Hugging Face team
License: Apache-2.0

Files: docs/source/en/model_doc/ernie4_5_vl_moe.md
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/exaone4_5.md
Copyright: 2026, The LG AI Research and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/exaone_moe.md
Copyright: 2026, The LG AI Research and The HuggingFace Team
License: Apache-2.0

Files: docs/source/en/model_doc/glm4_moe_lite.md
Copyright: 2025, The ZhipuAI Inc. and The HuggingFace Inc. team
License: Apache-2.0

Files: docs/source/en/model_doc/glm4v.md
Copyright: 2025, The ZhipuAI Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/granite4_vision.md
Copyright: 2026, IBM and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/higgs_audio_v2.md
Copyright: 2025, Boson AI and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/hy_v3.md
Copyright: 2026, THL A29 Limited, a Tencent company and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/laguna.md
Copyright: 2026, Poolside and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/mellum.md
Copyright: 2026, JetBrains and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/minicpmv4_6.md
Copyright: 2026, OpenBMB and the HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/minimax.md
Copyright: 2025, MiniMaxAI and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/ministral.md
Copyright: 2024, Mistral AI and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/mistral4.md
Copyright: 2026, Mistral AI and the HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/nemotron.md
Copyright: 2020, 2024, NVIDIA CORPORATION.
License: Apache-2.0

Files: docs/source/en/model_doc/nemotron_h.md
Copyright: 2026, NVIDIA CORPORATION.
License: Apache-2.0

Files: docs/source/en/model_doc/parakeet.md
Copyright: 2025, The NVIDIA NeMo Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/pixio.md
Copyright: 2025, Meta AI and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/qianfan_ocr.md
Copyright: 2026, Baidu and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/en/model_doc/qwen3_5.md
 docs/source/en/model_doc/qwen3_5_moe.md
Copyright: 2026, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/qwen3_next.md
Copyright: 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/qwen3_omni_moe.md
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/qwen3_vl.md
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/qwen3_vl_moe.md
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/solar_open.md
Copyright: 2026, The Upstage Team.
License: Apache-2.0

Files: docs/source/en/model_doc/vibevoice_acoustic_tokenizer.md
Copyright: 2026, Microsoft and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/ko/model_doc/exaone4_5.md
Copyright: 2026, The LG AI Research and The HuggingFace Team.
License: Apache-2.0

Files: docs/source/ko/model_doc/exaone_moe.md
Copyright: 2026, The LG AI Research and The HuggingFace Team
License: Apache-2.0

Files: examples/pytorch/text-classification/run_xnli.py
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: examples/pytorch/text-generation/run_generation.py
Copyright: 2018, NVIDIA CORPORATION.
 2018, Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: scripts/stale.py
Copyright: 2021, The HuggingFace Team, the AllenNLP library authors.
License: Apache-2.0

Files: src/transformers/audio_utils.py
Copyright: 2023, The HuggingFace Inc. team and the librosa & torchaudio authors.
License: Apache-2.0

Files: src/transformers/configuration_utils.py
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/data/processors/*
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/generation/continuous_batching/*
Copyright: 2024, The HuggingFace Inc. team.
 2020, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/generation/logits_process.py
 src/transformers/generation/watermarking.py
Copyright: 2024, The HuggingFace Inc. team and Google DeepMind.
License: Apache-2.0

Files: src/transformers/generation/utils.py
Copyright: 2018, 2020, The Google AI Language Team Authors, Facebook AI Research authors and The HuggingFace Inc. team.
 2018, 2020, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/integrations/eetq.py
Copyright: 2024, NetEase, Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/integrations/executorch.py
Copyright: Meta Platforms, Inc. and affiliates.
License: Apache-2.0

Files: src/transformers/integrations/gemma_quant.py
Copyright: 2026, Google LLC.
License: Apache-2.0

Files: src/transformers/integrations/ggml.py
Copyright: 2024, The ggml.ai team and The HuggingFace Inc. team. and pygguf author (github.com/99991)
License: Apache-2.0

Files: src/transformers/modeling_flash_attention_utils.py
Copyright: 2021, 2024, The Fairseq Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/modeling_gguf_pytorch_utils.py
Copyright: 2024, The ggml.ai team and The HuggingFace Inc. team. and pygguf author (github.com/99991)
License: Apache-2.0

Files: src/transformers/modeling_utils.py
Copyright: 2018, 2020, The Google AI Language Team Authors, Facebook AI Research authors and The HuggingFace Inc. team.
 2018, 2020, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/afmoe/*
Copyright: 2025, Arcee AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/aimv2/*
Copyright: 2025, Apple Inc. and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/albert/*
Copyright: 2018, 2021, Google AI, Google Brain and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/albert/configuration_albert.py
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/align/modeling_align.py
Copyright: 2023, The Google Research Team Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/altclip/*
Copyright: 2022, The BAAI Teams Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/altclip/processing_altclip.py
Copyright: 2022, WenXiang ZhongzhiCheng LedellWu LiuGuang BoWenZhang The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/apertus/*
Copyright: 2025, The HuggingFace Inc. team and the Swiss AI Initiative.
License: Apache-2.0

Files: src/transformers/models/arcee/*
Copyright: 2025, Arcee AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/aria/*
Copyright: 2024, The Rhymes-AI Teams Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/audio_spectrogram_transformer/*
Copyright: 2021-2023, Google AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/audio_spectrogram_transformer/modeling_audio_spectrogram_transformer.py
Copyright: 2022, MIT and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/audioflamingo3/*
Copyright: 2025, NVIDIA CORPORATION and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/autoformer/modeling_autoformer.py
Copyright: 2023, The HuggingFace Inc. team.
 2023, Amazon.com, Inc. or its affiliates.
 2021, THUML @ Tsinghua University
License: Apache-2.0

Files: src/transformers/models/aya_vision/*
Copyright: 2025, the Cohere Inc. team.
License: Apache-2.0

Files: src/transformers/models/aya_vision/__init__.py
Copyright: 2020-2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/aya_vision/configuration_aya_vision.py
Copyright: 2024, 2025, Cohere team.
License: Apache-2.0

Files: src/transformers/models/bamba/*
Copyright: 2024, 2025, IBM and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bark/*
Copyright: 2023, The Suno AI Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bart/*
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bart/tokenization_bart.py
Copyright: 2020-2022, The Facebook AI Research Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/barthez/*
Copyright: 2020, Ecole Polytechnique and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bartpho/*
Copyright: 2021, VinAI Research and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/beit/configuration_beit.py
 src/transformers/models/beit/modeling_beit.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bert/*
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bert/tokenization_bert.py
Copyright: 2018-2020, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bert_generation/*
Copyright: 2018-2020, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bert_generation/tokenization_bert_generation.py
Copyright: 2020, 2024, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/bert_japanese/tokenization_bert_japanese.py
Copyright: 2018-2020, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bertweet/tokenization_bertweet.py
Copyright: 2020, VinAI Research and the HuggingFace Inc. team.
 2018, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/big_bird/*
Copyright: 2020, 2021, Google Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bigbird_pegasus/*
Copyright: 2021, Google Research The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bigbird_pegasus/configuration_bigbird_pegasus.py
Copyright: 2020, 2021, Google Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/biogpt/*
Copyright: 2022, The HuggingFace Team and Microsoft Research AI4Science
License: Apache-2.0

Files: src/transformers/models/biogpt/tokenization_biogpt.py
Copyright: 2022, The HuggingFace Team and Microsoft Research AI4Science.
License: Apache-2.0

Files: src/transformers/models/bit/modeling_bit.py
Copyright: 2021-2023, Google AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bitnet/*
Copyright: 2025, The BitNet Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/blenderbot/*
Copyright: 2021, 2023, The Facebook Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/blenderbot/configuration_blenderbot.py
 src/transformers/models/blenderbot/modeling_blenderbot.py
Copyright: 2021, The Facebook, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/blenderbot_small/*
Copyright: 2021, The Facebook, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/blenderbot_small/tokenization_blenderbot_small.py
Copyright: 2021, 2023, The Facebook Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/blip/modeling_blip.py
Copyright: 2022, 2023, The Salesforce Team Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/blip/modeling_blip_text.py
Copyright: 2022, 2023, The Salesforce Team Authors and The HuggingFace Team.
License: BSD-3-clause

Files: src/transformers/models/blip_2/modeling_blip_2.py
Copyright: 2023, The Salesforce Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/bloom/*
Copyright: 2022, HuggingFace Inc. team and BigScience workshop.
License: Apache-2.0

Files: src/transformers/models/bloom/configuration_bloom.py
Copyright: 2022, the Big Science Workshop and HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/bridgetower.md
 src/transformers/models/bridgetower/*
Copyright: 2023, 2025, The Intel Labs Team Authors, The Microsoft Research Team Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/byt5/tokenization_byt5.py
Copyright: 2018, 2021, T5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/camembert/*
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/camembert/modeling_camembert.py
Copyright: 2019, Inria, Facebook AI Research and the HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/camembert/tokenization_camembert.py
Copyright: 2018, Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/canine/*
Copyright: 2021-2023, Google AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/canine/modeling_canine.py
Copyright: 2021, Google AI The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/chameleon/*
Copyright: 2024, Meta Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/chinese_clip/*
Copyright: 2021, 2022, 2025, The OFA-Sys Team Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/chmv2/*
Copyright: 2026, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/clap/modeling_clap.py
Copyright: 2023, The LAION-AI Team and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/clip/modeling_clip.py
Copyright: 2021, 2022, The OpenAI Team Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/clip/tokenization_clip.py
Copyright: 2018, 2019, 2021, 2022, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/clipseg/configuration_clipseg.py
 src/transformers/models/clipseg/modeling_clipseg.py
 src/transformers/models/clipseg/modular_clipseg.py
Copyright: 2021, 2022, The OpenAI Team Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/code_llama/*
Copyright: 2023, MetaAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/codegen/*
Copyright: 2022, The Salesforce authors, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/codegen/configuration_codegen.py
 src/transformers/models/codegen/modeling_codegen.py
Copyright: 2022, Salesforce authors, The EleutherAI, and HuggingFace Teams.
License: Apache-2.0

Files: src/transformers/models/cohere/*
Copyright: 2024, 2025, Cohere team.
License: Apache-2.0

Files: src/transformers/models/cohere2/*
Copyright: 2024, Cohere Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/cohere2/__init__.py
Copyright: 2024, Cohere and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/cohere2_vision/*
Copyright: 2025, the Cohere Inc. team.
License: Apache-2.0

Files: src/transformers/models/cohere2_vision/__init__.py
 src/transformers/models/cohere2_vision/processing_cohere2_vision.py
Copyright: 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/colmodernvbert/*
Copyright: 2026, Illuin Technology and contributors, and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/colqwen2/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/conditional_detr/modeling_conditional_detr.py
Copyright: 2022, Microsoft Research Asia and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/convnext/configuration_convnext.py
 src/transformers/models/convnext/modeling_convnext.py
Copyright: 2022, 2023, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/convnextv2/*
Copyright: 2022, 2023, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/cosmos3_omni/*
Copyright: 2026, NVIDIA Corporation and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/cpm/*
Copyright: 2018-2020, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/cpmant/*
Copyright: 2022, The OpenBMB Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/csm/*
Copyright: 2025, Sesame and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ctrl/*
Copyright: 2018, Salesforce and HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/ctrl/tokenization_ctrl.py
Copyright: 2018, Salesforce and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/cvt/*
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/d_fine/*
Copyright: 2024, 2025, Baidu Inc and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dab_detr/modeling_dab_detr.py
Copyright: 2024, IDEA Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dac/*
Copyright: 2024, Descript and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/data2vec/*
Copyright: 2022, Meta Platforms and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dbrx/*
Copyright: 2024, Databricks Mosaic Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deberta/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deberta/modeling_deberta.py
Copyright: 2020, Microsoft and the Hugging Face Inc. team.
License: Apache-2.0

Files: src/transformers/models/deberta_v2/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deberta_v2/modeling_deberta_v2.py
Copyright: 2020, Microsoft and the Hugging Face Inc. team.
License: Apache-2.0

Files: src/transformers/models/decision_transformer/*
Copyright: 2021, 2022, The HuggingFace Team The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/decision_transformer/configuration_decision_transformer.py
Copyright: 2021-2023, The HuggingFace Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deepseek_v3/configuration_deepseek_v3.py
Copyright: 2025, bzantium and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deepseek_vl/*
Copyright: 2025, Deepseek AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/deepseek_vl_hybrid/*
Copyright: 2025, Deepseek AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/deformable_detr/*
Copyright: 2022, SenseTime and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deformable_detr/image_processing_deformable_detr.py
Copyright: 2018, 2020-2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deit/configuration_deit.py
Copyright: 2021, 2022, Facebook AI Research (FAIR) and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/deit/modeling_deit.py
Copyright: 2021, Facebook AI Research (FAIR), Ross Wightman, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/depth_anything/*
Copyright: 2024, TikTok and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/depth_pro/modeling_depth_pro.py
Copyright: 2024, The Apple Research Team Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/detr/configuration_detr.py
Copyright: 2021, Facebook AI Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/detr/modeling_detr.py
Copyright: 2021, Facebook AI Research The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dia/*
Copyright: 2025, The Nari Labs and HuggingFace Inc. team.
 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/diffllama/*
Copyright: 2024, weak-kajuma and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dinat/*
Copyright: 2022, SHI Labs and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dinov2/*
Copyright: 2023, 2024, Meta AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dinov2_with_registers/*
Copyright: 2024, Meta Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dinov3_convnext/*
Copyright: 2025, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dinov3_vit/*
Copyright: 2025, Meta AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/distilbert/*
Copyright: 2019, -present, the HuggingFace Inc. team, The Google AI Language Team and Facebook, Inc
License: Apache-2.0

Files: src/transformers/models/doge/*
Copyright: 2025, Jingze Shi and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/dots1/*
Copyright: 2025, The rednote-hilab team and the HuggingFace Inc. team.
 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/dpr/*
Copyright: 2018, DPR Authors, The Hugging Face Team.
License: Apache-2.0

Files: src/transformers/models/dpr/configuration_dpr.py
Copyright: 2010, DPR authors, The Hugging Face Team.
License: Apache-2.0

Files: src/transformers/models/dpt/modeling_dpt.py
Copyright: 2022, Intel Labs, OpenMMLab and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/edgetam/*
Copyright: 2025, The Meta AI Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/efficientnet/*
Copyright: 2023, Google Research, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/electra/*
Copyright: 2020, The Google AI Team, Stanford University and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/electra/configuration_electra.py
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/electra/modeling_electra.py
Copyright: 2018-2020, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/encodec/*
Copyright: 2023, 2024, Meta Platforms, Inc. and affiliates, and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/encoder_decoder/configuration_encoder_decoder.py
Copyright: 2020, 2021, The HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/eomt/*
Copyright: 2025, Mobile Perception Systems Lab at TU/e and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ernie/*
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ernie4_5/*
Copyright: 2025, Baidu, Inc. and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ernie4_5_moe/*
Copyright: 2025, Baidu, Inc. and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ernie4_5_vl_moe/*
Copyright: 2025, Baidu and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/esm/*
Copyright: 2021, DeepMind Technologies Limited
 2021, AlQuraishi Laboratory
License: Apache-2.0

Files: src/transformers/models/esm/configuration_esm.py
 src/transformers/models/esm/modeling_esmfold.py
 src/transformers/models/esm/tokenization_esm.py
Copyright: 2022, 2024, Meta and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/esm/modeling_esm.py
Copyright: 2025, NVIDIA CORPORATION.
 2022, Meta and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/eurobert/*
 tests/models/eurobert/*
Copyright: 2025, Nicolas Boizard, Duarte M. Alves, Hippolyte Gisserot-Boukhlef and the EuroBert team.
License: Apache-2.0

Files: src/transformers/models/evolla/*
Copyright: 2025, Westlake Representational Learning Lab (Fajie Yuan Lab) team and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/exaone4/*
Copyright: 2025, The LG AI Research and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/exaone4_5/*
Copyright: 2026, The LG AI Research and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/exaone_moe/*
Copyright: 2026, The LG AI Research and The HuggingFace Team
License: Apache-2.0

Files: src/transformers/models/falcon/*
Copyright: 2023, the Falcon authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/falcon_h1/*
Copyright: 2025, Technology Innovation Institute and the HuggingFace Inc. team.
 2025, TII and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/falcon_mamba/*
Copyright: 2024, Tri Dao, Albert Gu, Technological Innovation Institute and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/fastspeech2_conformer/modeling_fastspeech2_conformer.py
Copyright: 2023, The Espnet authors, IMS Toucan authors, and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/flaubert/*
Copyright: 2019, -present CNRS, Facebook Inc. and the HuggingFace Inc. team
License: Apache-2.0

Files: src/transformers/models/flava/*
Copyright: 2022, Meta Platforms authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/florence2/*
Copyright: 2025, Microsoft and the HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/fnet/*
Copyright: 2021-2023, Google AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/fnet/modeling_fnet.py
Copyright: 2020, 2021, Google Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/fnet/tokenization_fnet.py
Copyright: 2021, Google Research, Google AI, Google Brain and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/focalnet/modeling_focalnet.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/fsmt/*
Copyright: 2020-2022, The Facebook AI Research Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/fsmt/tokenization_fsmt.py
Copyright: 2018, 2019, 2021, 2022, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/fuyu/configuration_fuyu.py
Copyright: 2023, Adept AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gemma/*
Copyright: 2024, 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gemma2/*
Copyright: 2024, 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gemma2/__init__.py
Copyright: 2020-2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/gemma3/*
Copyright: 2024, 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gemma3n/*
Copyright: 2025, Google Inc. HuggingFace Inc. team.
 2025, Google LLC.
 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/gemma4/feature_extraction_gemma4.py
Copyright: 2026, Google LLC.
License: Apache-2.0

Files: src/transformers/models/git/modeling_git.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/glm/*
Copyright: 2024, The GLM & ZhipuAI team and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/glm4/*
Copyright: 2025, The GLM4 & ZhipuAI team and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/glm4_moe/*
Copyright: 2025, The ZhipuAI Inc. team and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/glm4v/*
Copyright: 2025, The ZhipuAI Inc. team and HuggingFace Inc. team.
 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/glm4v_moe/*
Copyright: 2025, The ZhipuAI Inc. team and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/glpn/*
Copyright: 2022, KAIST and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt2/*
Copyright: 2018, NVIDIA CORPORATION.
 2018, 2023, The OpenAI Team Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt2/tokenization_gpt2.py
Copyright: 2018, 2019, 2021, 2022, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt_bigcode/configuration_gpt_bigcode.py
Copyright: 2023, The BigCode team and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt_bigcode/modeling_gpt_bigcode.py
Copyright: 2023, The Bigcode team and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt_neo/*
Copyright: 2021, The Eleuther AI and The Google Flax Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt_neo/modeling_gpt_neo.py
Copyright: 2021, The Eleuther AI and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt_neox/configuration_gpt_neox.py
Copyright: 2022-2024, EleutherAI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt_neox_japanese/*
Copyright: 2022, ABEJA, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/gpt_neox_japanese/tokenization_gpt_neox_japanese.py
Copyright: 2022, ABEJA, Inc. and The HuggingFace Inc. team.
License: Apache-2.0 or Expat

Files: src/transformers/models/gptj/*
Copyright: 2021, 2022, The EleutherAI and HuggingFace Teams.
License: Apache-2.0

Files: src/transformers/models/granite4_vision/*
Copyright: 2026, IBM and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/granite/*
Copyright: 2024, 2025, IBM and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/granite/__init__.py
Copyright: 2022-2024, EleutherAI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/granite/configuration_granite.py
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/granitemoe/*
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/granitemoe/modeling_granitemoe.py
Copyright: 2024, 2025, IBM and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/granitemoehybrid/*
Copyright: 2024, 2025, IBM and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/granitemoeshared/*
Copyright: 2024, 2025, IBM and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/granitemoeshared/configuration_granitemoeshared.py
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/grounding_dino/modeling_grounding_dino.py
Copyright: 2024, IDEA Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/groupvit/*
Copyright: 2022, NVIDIA and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/helium/*
Copyright: 2024, The Kyutai and HuggingFace Inc. teams.
License: Apache-2.0

Files: src/transformers/models/herbert/*
Copyright: 2020, The Google AI Language Team Authors, Allegro.pl, Facebook Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/hgnet_v2/*
Copyright: 2024, 2025, Baidu Inc and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/hiera/*
Copyright: 2022, 2024, Meta and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/higgs_audio_v2/*
Copyright: 2025, Boson AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/higgs_audio_v2_tokenizer/*
 tests/models/higgs_audio_v2_tokenizer/*
Copyright: 2025, Boson AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/hubert/configuration_hubert.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/hubert/modeling_hubert.py
 src/transformers/models/hubert/modular_hubert.py
Copyright: 2021, 2024, The Fairseq Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/hunyuan_v1_dense/*
Copyright: 2025, THL A29 Limited, a Tencent company and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/hunyuan_v1_moe/*
Copyright: 2025, THL A29 Limited, a Tencent company and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/hy_v3/*
Copyright: 2026, Tencent HunYuan Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ibert/*
Copyright: 2021, The I-BERT Authors (Sehoon Kim, Amir Gholami, Zhewei Yao
 20121, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/idefics/*
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/idefics/image_processing_idefics.py
 src/transformers/models/idefics/processing_idefics.py
Copyright: 2018, 2020-2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/idefics/perceiver.py
Copyright: 2020, The Google AI Language Team Authors, The HuggingFace Inc. team and github/lonePatient
License: Expat

Files: src/transformers/models/idefics/vision.py
Copyright: 2021, 2022, The OpenAI Team Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/imagegpt/modeling_imagegpt.py
Copyright: 2021, 2022, The OpenAI Team Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/informer/modeling_informer.py
Copyright: 2023, Amazon and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/instructblip/modeling_instructblip.py
Copyright: 2023, The Salesforce Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/jamba/*
Copyright: 2024, AI21 Labs Ltd. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/janus/*
Copyright: 2025, Deepseek AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/jetmoe/*
Copyright: 2024, JetMoe AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/jina_embeddings_v3/*
Copyright: 2026, The Jina-AI and HuggingFace Inc. teams.
License: Apache-2.0

Files: src/transformers/models/kosmos2/*
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/kosmos2_5/*
Copyright: 2024, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/kyutai_speech_to_text/*
Copyright: 2025, Kyutai and The HuggingFace Inc. team.
 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/laguna/*
Copyright: 2026, Poolside and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/lasr/*
Copyright: 2025, The HuggingFace Inc. team and Google LLC.
License: Apache-2.0

Files: src/transformers/models/layoutlm/*
Copyright: 2018, The Microsoft Research Asia LayoutLM Team Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/layoutlm/configuration_layoutlm.py
Copyright: 2010, The Microsoft Research Asia LayoutLM Team authors
License: Apache-2.0

Files: src/transformers/models/layoutlmv2/configuration_layoutlmv2.py
 src/transformers/models/layoutlmv2/tokenization_layoutlmv2.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/layoutlmv2/modeling_layoutlmv2.py
Copyright: 2021, Microsoft Research The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/layoutlmv3/configuration_layoutlmv3.py
 src/transformers/models/layoutlmv3/modeling_layoutlmv3.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/layoutxlm/*
Copyright: Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/led/*
Copyright: 2021, Iz Beltagy, Matthew E. Peters, Arman Cohan and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/levit/*
Copyright: 2022, 2023, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/lightglue/*
Copyright: 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/lighton_ocr/*
Copyright: 2026, The LightOn Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/llama/*
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/llama4/*
Copyright: 2025, The LLAMA4 and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/llava/configuration_llava.py
Copyright: 2023, 2024, Microsoft Research & University of Wisconsin-Madison and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/longcat_flash/*
Copyright: 2025, Meituan and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/longformer/*
Copyright: 2020, The Allen Institute for AI team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/longt5/*
Copyright: 2022, The LongT5 Authors and HuggingFace Inc.
License: Apache-2.0

Files: src/transformers/models/longt5/__init__.py
Copyright: 2020-2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/longt5/modeling_longt5.py
Copyright: 2022, Google LLC., LongT5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/luke/*
Copyright: Studio Ousia and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/luke/tokenization_luke.py
Copyright: Studio-Ouisa and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/lxmert/*
Copyright: 2020, The Google AI Team, Stanford University and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/lxmert/configuration_lxmert.py
Copyright: 2018, Hao Tan, Mohit Bansal
License: Apache-2.0

Files: src/transformers/models/lxmert/modeling_lxmert.py
Copyright: 2018, Hao Tan, Mohit Bansal, and the HuggingFace team
License: Apache-2.0

Files: src/transformers/models/m2m_100/*
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mamba/*
Copyright: 2024, state-spaces/mamba org and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mamba2/modeling_mamba2.py
Copyright: 2024, state-spaces/mamba2 org and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/marian/*
Copyright: 2021, The Marian Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/markuplm/configuration_markuplm.py
Copyright: 2021, The Microsoft Research Asia MarkupLM Team authors
License: Apache-2.0

Files: src/transformers/models/markuplm/modeling_markuplm.py
Copyright: 2022, Microsoft Research Asia and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/markuplm/tokenization_markuplm.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mask2former/configuration_mask2former.py
Copyright: 2022, Meta Platforms, Inc.and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mask2former/modeling_mask2former.py
Copyright: 2022, 2023, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/maskformer/configuration_maskformer.py
Copyright: 2022, Meta Platforms, Inc.and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/maskformer/modeling_maskformer.py
Copyright: 2022, Meta Platforms, Inc.s and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/maskformer/modeling_maskformer_swin.py
Copyright: 2022, 2023, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/maskformer/modular_maskformer.py
Copyright: 2022, Meta Platforms, Inc.s and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mbart/*
Copyright: 2021, The Facebook AI Research Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mbart/tokenization_mbart.py
Copyright: 2020-2022, The Facebook AI Research Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mbart50/*
Copyright: 2020-2022, The Facebook AI Research Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/megatron_bert/*
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/megatron_bert/configuration_megatron_bert.py
Copyright: 2021, NVIDIA Corporation and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mellum/*
Copyright: 2026, JetBrains and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/metaclip_2/*
Copyright: 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/mgp_str/modeling_mgp_str.py
Copyright: 2023, Alibaba Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mimi/*
Copyright: 2023, 2024, Meta Platforms, Inc. and affiliates, and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mimi/modeling_mimi.py
Copyright: 2024, Kyutai, and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/minicpmv4_6/*
Copyright: 2026, OpenBMB and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/minimax/*
Copyright: 2025, MiniMaxAI and HuggingFace Inc. teams.
License: Apache-2.0

Files: src/transformers/models/minimax_m2/*
Copyright: 2025, the MiniMax AI Team and HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/minimax_m3_vl/*
Copyright: 2026, the MiniMax AI Team and HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/ministral/*
Copyright: 2023, Mistral AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ministral3/*
Copyright: 2025, Mistral AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mistral/*
Copyright: 2023, 2024, Mistral AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mistral/__init__.py
Copyright: 2023, 2024, Mistral AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mistral4/*
Copyright: 2026, Mistral AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mixtral/*
Copyright: 2023, 2024, Mistral AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mixtral/__init__.py
Copyright: 2023, Mixtral AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mixtral/configuration_mixtral.py
Copyright: 2023, Mixtral AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mluke/tokenization_mluke.py
Copyright: 2021, Studio Ousia and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mobilebert/modeling_mobilebert.py
Copyright: 2020, The Google AI Language Team Authors, The HuggingFace Inc. team and github/lonePatient
License: Expat

Files: src/transformers/models/mobilenet_v1/modeling_mobilenet_v1.py
Copyright: 2022, 2023, Apple Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mobilenet_v2/modeling_mobilenet_v2.py
Copyright: 2022, 2023, Apple Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mobilevit/modeling_mobilevit.py
Copyright: 2022, 2023, Apple Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mobilevitv2/modeling_mobilevitv2.py
Copyright: 2022, 2023, Apple Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/modernbert/*
Copyright: 2024, Answer.AI, LightOn, and contributors, and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/modernbert_decoder/*
Copyright: 2025, Johns Hopkins University, LightOn, and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/modernvbert/*
Copyright: 2026, Illuin Technology and contributors, and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/moshi/*
Copyright: 2024, Kyutai and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/moshi/configuration_moshi.py
Copyright: 2023, 2024, Meta AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mpnet/*
Copyright: 2018, The HuggingFace Inc. team, Microsoft Corporation.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/mpt/*
Copyright: 2023, HuggingFace Inc. team and MosaicML NLP team.
License: Apache-2.0

Files: src/transformers/models/mra/modeling_mra.py
Copyright: 2022, 2023, University of Wisconsin-Madison and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mt5/*
Copyright: 2018, 2020, 2021, 2023, Mesh TensorFlow authors, T5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mt5/configuration_mt5.py
Copyright: 2020, 2023, The T5 Authors and HuggingFace Inc.
License: Apache-2.0

Files: src/transformers/models/musicflamingo/*
Copyright: 2026, NVIDIA CORPORATION and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/musicgen/*
Copyright: 2023, 2024, Meta AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/musicgen_melody/*
Copyright: 2023, 2024, Meta AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mvp/*
Copyright: 2020-2022, The Facebook AI Research Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/mvp/configuration_mvp.py
 src/transformers/models/mvp/modeling_mvp.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/nemotron/*
Copyright: 2024, NVIDIA CORPORATION.
 2024, HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/nemotron_h/*
 tests/models/nemotron_h/*
Copyright: 2024-2025, NVIDIA CORPORATION and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/nllb/*
Copyright: 2020-2022, The Facebook AI Research Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/nllb_moe/modeling_nllb_moe.py
Copyright: 2023, NllbMoe Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/nystromformer/*
Copyright: 2022, UW-Madison and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/nystromformer/modeling_nystromformer.py
Copyright: 2022, UW-Madison The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/olmo/__init__.py
Copyright: 2022-2024, EleutherAI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/olmo/configuration_olmo.py
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/olmo2/__init__.py
Copyright: 2022-2024, EleutherAI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/omdet_turbo/modeling_omdet_turbo.py
Copyright: 2024, Om Research Lab and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/oneformer/*
Copyright: 2022, SHI Labs and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/openai/*
Copyright: 2018, NVIDIA CORPORATION.
 2018, 2023, The OpenAI Team Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/openai/tokenization_openai.py
Copyright: 2018, 2019, 2021, 2022, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/opt/*
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/opt/configuration_opt.py
Copyright: 2022, The Metaseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/ovis2/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/owlv2/modeling_owlv2.py
Copyright: 2022-2024, Google AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/owlvit/modeling_owlvit.py
Copyright: 2022-2024, Google AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/paddleocr_vl/*
Copyright: 2025, The PaddlePaddle Team and The HuggingFace Inc. team
License: Apache-2.0

Files: src/transformers/models/paligemma/*
Copyright: 2023, 2024, Microsoft Research & University of Wisconsin-Madison and the HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/patchtsmixer.md
 src/transformers/models/patchtsmixer/*
Copyright: 2023, IBM and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/patchtst/modeling_patchtst.py
Copyright: 2023, IBM & Hugging Face.
License: Apache-2.0

Files: src/transformers/models/pegasus/*
Copyright: 2020-2022, Google and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pegasus_x/*
Copyright: 2020-2022, Google and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/perceiver/configuration_perceiver.py
 src/transformers/models/perceiver/modeling_perceiver.py
Copyright: 2021, Deepmind and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/perception_lm/*
Copyright: 2025, Meta Platforms, Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/persimmon/*
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/persimmon/configuration_persimmon.py
Copyright: 2023, Adept AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/phi/__init__.py
Copyright: 2021, 2023, 2024, Microsoft and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/phi/configuration_phi.py
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/phi3/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/phi4_multimodal/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/phimoe/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/phimoe/__init__.py
Copyright: 2021, 2023, 2024, Microsoft and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/phobert/tokenization_phobert.py
Copyright: 2020, VinAI Research and the HuggingFace Inc. team.
 2018, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pi0/*
Copyright: 2025, Physical Intelligence and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pix2struct/modeling_pix2struct.py
Copyright: 2023, The HuggingFace Inc. & Google team.
License: Apache-2.0

Files: src/transformers/models/pixio/*
Copyright: 2025, Meta AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pixtral/modeling_pixtral.py
Copyright: 2024, Mistral and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/plbart/*
Copyright: 2022, UCLA NLP, The Facebook AI Research Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/plbart/tokenization_plbart.py
Copyright: 2022, UCLA NLP, The Facebook AI Research Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/poolformer/configuration_poolformer.py
Copyright: 2022, Sea AI Labs and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/poolformer/modeling_poolformer.py
Copyright: 2022, Sea AI Lab and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pop2piano/modeling_pop2piano.py
 src/transformers/models/pop2piano/tokenization_pop2piano.py
Copyright: 2023, The Pop2Piano Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_chart2table/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_doclayout_v2/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_doclayout_v3/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team
License: Apache-2.0

Files: src/transformers/models/pp_formulanet/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_lcnet/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_lcnet_v3/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_lcnet_v4/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv5_mobile_det/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv5_mobile_rec/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv5_server_det/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv5_server_rec/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv6_medium_det/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv6_small_det/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv6_small_rec/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pp_ocrv6_tiny_rec/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/prophetnet/*
Copyright: 2020, The Microsoft Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/pvt/configuration_pvt.py
 src/transformers/models/pvt/modeling_pvt.py
Copyright: 2023, 2024, Authors: Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan
License: Apache-2.0

Files: src/transformers/models/pvt_v2/*
Copyright: 2023, 2024, Authors: Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan
License: Apache-2.0

Files: src/transformers/models/qwen2/__init__.py
Copyright: 2024, 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2/configuration_qwen2.py
Copyright: 2024, 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2/tokenization_qwen2.py
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2_5_omni/*
Copyright: 2024, 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2_5_omni/__init__.py
Copyright: 2024, 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2_5_vl/*
Copyright: 2024, 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2_audio/*
Copyright: 2023, 2024, Microsoft Research & University of Wisconsin-Madison and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2_moe/*
Copyright: 2024, 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen2_vl/*
Copyright: 2024, 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3/*
Copyright: 2024, 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3/__init__.py
Copyright: 2024, 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3_5/*
 src/transformers/models/qwen3_5_moe/*
Copyright: 2024-2025, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3_5/__init__.py
 src/transformers/models/qwen3_5_moe/__init__.py
Copyright: 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/qwen3_5/tokenization_qwen3_5.py
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3_moe/*
Copyright: 2024, 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3_next/*
Copyright: 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3_omni_moe/*
Copyright: 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3_vl/*
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/qwen3_vl_moe/*
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rag/*
Copyright: 2020, The RAG Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/recurrent_gemma/*
Copyright: 2024, 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/reformer/*
Copyright: 2020, The Trax Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/reformer/configuration_reformer.py
 src/transformers/models/reformer/modeling_reformer.py
Copyright: 2020, The Trax Authors and The HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/regnet/*
Copyright: 2022, 2023, Meta Platforms, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rembert/*
Copyright: 2021-2023, The HuggingFace Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rembert/modeling_rembert.py
Copyright: 2021, 2022, The HuggingFace Team The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/resnet/*
 src/transformers/models/roberta/*
Copyright: 2022, 2024, Microsoft Research, Inc. and The HuggingFace Inc. team.
License: Apache-2.0
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/roberta/tokenization_roberta.py
Copyright: 2018, 2019, 2021, 2022, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/roberta_prelayernorm/*
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/roberta_prelayernorm/configuration_roberta_prelayernorm.py
Copyright: 2018-2020, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/roc_bert/*
Copyright: 2022, WeChatAI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/roc_bert/modeling_roc_bert.py
Copyright: 2022, WeChatAI The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rt_detr/modeling_rt_detr.py
Copyright: 2024, 2025, Baidu Inc and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rt_detr/modeling_rt_detr_resnet.py
Copyright: 2022, 2024, Microsoft Research, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rt_detr_v2/*
Copyright: 2024, 2025, Baidu Inc and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rwkv/*
Copyright: 2018, NVIDIA CORPORATION.
 2018, 2023, The OpenAI Team Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/rwkv/modeling_rwkv.py
Copyright: 2023, Bo Peng and HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/sam/modeling_sam.py
Copyright: 2023, The Meta AI Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/sam2/*
Copyright: 2025, The Meta AI Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/sam2_video/*
Copyright: 2025, The Meta AI Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/sam3/*
Copyright: 2025, The Meta AI Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/sam3_video/*
Copyright: 2025, The Meta AI Authors and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/sam_hq/*
Copyright: 2024, 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/sapiens2/*
Copyright: 2026, Meta Platforms, Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/seed_oss/*
Copyright: 2025, Bytedance-Seed Ltd and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/segformer/*
Copyright: 2021, 2022, NVIDIA The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/segformer/configuration_segformer.py
Copyright: 2021, NVIDIA and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/sew/configuration_sew.py
Copyright: 2021, ASAPP Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/sew/modeling_sew.py
Copyright: 2021, ASAPP Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/sew_d/configuration_sew_d.py
Copyright: 2021, ASAPP Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/sew_d/modeling_sew_d.py
Copyright: 2021, ASAPP Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/shieldgemma2/*
Copyright: 2024, 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/siglip/modeling_siglip.py
Copyright: 2022-2024, Google AI and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/slanet/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/slanext/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/smollm3/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/solar_open/*
Copyright: 2026, Upstage and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/speech_encoder_decoder/configuration_speech_encoder_decoder.py
Copyright: 2020, 2021, The HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/speech_to_text/modeling_speech_to_text.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/speecht5/*
Copyright: 2023, The Fairseq Authors, Microsoft Research, and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/speecht5/tokenization_speecht5.py
Copyright: 2021, 2023, The Facebook Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/splinter/*
Copyright: 2021, Tel AViv University, AllenAI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/squeezebert/*
Copyright: 2020, The SqueezeBert authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/stablelm/*
Copyright: 2022-2024, EleutherAI and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/stablelm/configuration_stablelm.py
Copyright: 2024, Stability AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/starcoder2/*
Copyright: 2024, BigCode and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/swiftformer/*
Copyright: 2023, 2024, MBZUAI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/swin/*
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/swin/configuration_swin.py
Copyright: 2018, 2020-2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/swin2sr/modeling_swin2sr.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/swinv2/modeling_swinv2.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/switch_transformers/*
Copyright: 2022, Google and HuggingFace Inc.
License: Apache-2.0

Files: src/transformers/models/switch_transformers/modeling_switch_transformers.py
Copyright: 2022, SwitchTransformers Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/t5/*
Copyright: 2018, 2021, T5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/t5/configuration_t5.py
Copyright: 2020, 2023, The T5 Authors and HuggingFace Inc.
License: Apache-2.0

Files: src/transformers/models/t5/modeling_t5.py
Copyright: 2018, 2020, 2021, 2023, Mesh TensorFlow authors, T5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/t5gemma/*
Copyright: 2025, Google Inc. HuggingFace Inc. team.
 2024, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/t5gemma2/*
Copyright: 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/table_transformer/modeling_table_transformer.py
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/tapas/*
Copyright: 2020, 2021, Google Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/textnet/*
Copyright: 2024, the Fast authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/textnet/configuration_textnet.py
Copyright: 2024, the Fast authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/time_series_transformer/modeling_time_series_transformer.py
Copyright: 2022, 2023, The HuggingFace Inc. team.
 2018, Amazon.com, Inc. or its affiliates.
License: Apache-2.0

Files: src/transformers/models/timesfm/*
Copyright: 2025, Google LLC and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/timesformer/*
Copyright: 2022, 2024, Meta and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/trocr/modeling_trocr.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/tvp.md
 src/transformers/models/tvp/*
Copyright: 2023, The Intel AIA Team Authors, and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/udop/modeling_udop.py
Copyright: 2024, Microsoft Research and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/umt5/*
Copyright: 2018, 2020, 2021, 2023, Mesh TensorFlow authors, T5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/umt5/configuration_umt5.py
Copyright: 2020, 2023, The T5 Authors and HuggingFace Inc.
License: Apache-2.0

Files: src/transformers/models/unispeech/configuration_unispeech.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/unispeech_sat/configuration_unispeech_sat.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/uvdoc/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vibevoice_asr/*
Copyright: 2026, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/video_llava/configuration_video_llava.py
Copyright: 2023, 2024, Microsoft Research & University of Wisconsin-Madison and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/videomae/modeling_videomae.py
Copyright: 2022, Multimedia Computing Group, Nanjing University and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vilt/modeling_vilt.py
Copyright: 2022, NAVER AI Labs and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vipllava/configuration_vipllava.py
Copyright: 2023, 2024, Microsoft Research & University of Wisconsin-Madison and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vision_encoder_decoder/configuration_vision_encoder_decoder.py
Copyright: 2020, 2021, The HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/visual_bert/modeling_visual_bert.py
Copyright: 2021, The UCLA NLP Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vit/configuration_vit.py
Copyright: 2021-2023, Google AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vit/modeling_vit.py
Copyright: 2021, 2022, Google AI, Ross Wightman, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vit_mae/*
Copyright: 2022, Facebook AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vit_msn/*
Copyright: 2022, Facebook AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vitdet/modeling_vitdet.py
Copyright: 2023, 2024, Meta AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vitmatte/modeling_vitmatte.py
Copyright: 2023, HUST-VL and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vitpose/modeling_vitpose.py
Copyright: 2024, University of Sydney and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vitpose_backbone/modeling_vitpose_backbone.py
Copyright: 2024, University of Sydney and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vits/*
Copyright: 2023, The Kakao Enterprise Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vits/tokenization_vits.py
Copyright: 2023, The Kakao Enterprise Authors, the MMS-TTS Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vivit/modeling_vivit.py
Copyright: 2021-2023, Google AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/vjepa2/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/voxtral/*
Copyright: 2025, Sesame and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/wav2vec2/*
Copyright: 2021, 2024, The Fairseq Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/wav2vec2/configuration_wav2vec2.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/wav2vec2/tokenization_wav2vec2.py
Copyright: 2021, 2023, The Facebook Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/wav2vec2_bert/configuration_wav2vec2_bert.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/wav2vec2_conformer/configuration_wav2vec2_conformer.py
Copyright: 2021, 2022, 2024, The Fairseq Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/wav2vec2_phoneme/*
Copyright: 2021, 2023, The Facebook Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/wavlm/configuration_wavlm.py
Copyright: 2021, The Fairseq Authors, Microsoft Research, and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/whisper/english_normalizer.py
Copyright: 2022, The OpenAI team and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/whisper/modeling_whisper.py
Copyright: 2022, The OpenAI Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/x_clip/modeling_x_clip.py
 src/transformers/models/x_clip/modular_x_clip.py
Copyright: 2022, Microsoft Research and The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/xcodec/*
Copyright: 2025, The HuggingFace Team.
License: Apache-2.0

Files: src/transformers/models/xglm/modeling_xglm.py
Copyright: 2021, The Fairseq Authors The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/xlm/tokenization_xlm.py
Copyright: 2018, 2019, 2021, 2022, The Open AI Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/xlm_roberta/*
Copyright: 2019, 2022, Facebook AI Research and the HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/xlm_roberta/configuration_xlm_roberta.py
Copyright: 2018-2021, NVIDIA CORPORATION.
 2018, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/xlm_roberta/tokenization_xlm_roberta.py
Copyright: 2018, Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/xlm_roberta_xl/*
Copyright: 2018, The Google AI Language Team Authors and The HuggingFace Inc. team
License: Apache-2.0

Files: src/transformers/models/xlnet/*
Copyright: 2018, NVIDIA CORPORATION.
 2018, Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/xlstm/*
Copyright: 2025, NXAI GmbH.
License: Apache-2.0

Files: src/transformers/models/xmod/*
Copyright: 2023, Meta AI Team and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/xmod/configuration_xmod.py
Copyright: 2023, The Meta AI Team Authors and The HuggingFace Inc. team.
 2018, NVIDIA CORPORATION.
License: Apache-2.0

Files: src/transformers/models/yolos/modeling_yolos.py
Copyright: 2022, School of EIC, Huazhong University of Science & Technology and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/yoso/modeling_yoso.py
Copyright: 2022, 2023, University of Wisconsin-Madison and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/youtu/*
Copyright: 2026, the Tencent and HuggingFace Inc. team
License: Apache-2.0

Files: src/transformers/models/zamba/*
Copyright: 2024, Zyphra Technologies and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/zamba2/*
Copyright: 2024, Zyphra Technologies and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/zoedepth/modeling_zoedepth.py
Copyright: 2024, Intel Labs and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/optimization.py
Copyright: 2018-2020, 2022, The Google AI Language Team Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/pipelines/document_question_answering.py
Copyright: 2022, The Impira Team and the HuggingFace Team.
License: Apache-2.0

Files: src/transformers/quantizers/auto.py
Copyright: 2025, Advanced Micro Devices, Inc.
 2023, 2024, The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/quantizers/quantizer_gemma.py
Copyright: 2025, Google LLC.
License: Apache-2.0

Files: src/transformers/quantizers/quantizer_quark.py
Copyright: 2025, Advanced Micro Devices, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/time_series_utils.py
Copyright: 2022, 2023, The HuggingFace Inc. team.
 2018, Amazon.com, Inc. or its affiliates.
License: Apache-2.0

Files: src/transformers/utils/quantization_config.py
Copyright: 2025, Advanced Micro Devices, Inc.
 2023, 2024, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/generation/test_flash_attention_parity.py
Copyright: 2025, Eduard Durech and SGLang team.
License: Apache-2.0

Files: tests/models/afmoe/*
Copyright: 2025, Arcee AI and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/apertus/*
Copyright: 2025, The HuggingFace Inc. team and the Swiss AI Initiative.
License: Apache-2.0

Files: tests/models/audioflamingo3/*
Copyright: 2025, NVIDIA CORPORATION and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/barthez/*
Copyright: 2020, Ecole Polytechnique and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/bertweet/*
Copyright: 2018, Salesforce and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/bitnet/*
Copyright: 2025, The BitNet team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/bridgetower/*
Copyright: 2023, 2025, The Intel Labs Team Authors, The Microsoft Research Team Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/byt5/*
Copyright: 2018, 2020, 2021, Google T5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/canine/test_tokenization_canine.py
Copyright: 2021, Google AI and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/cosmos3_omni/*
Copyright: 2026, NVIDIA Corporation and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/cpmant/*
Copyright: 2022, The OpenBMB Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/ctrl/*
Copyright: 2018, Salesforce and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/deberta/*
Copyright: 2018, Microsoft Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/deberta_v2/*
Copyright: 2018, Microsoft Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/dinov3_convnext/*
Copyright: 2022, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/dinov3_vit/*
Copyright: 2024, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/ernie4_5_vl_moe/*
Copyright: 2025, Baidu and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/exaone4/*
Copyright: 2025, The LG AI Research and The HuggingFace Inc. team
License: Apache-2.0

Files: tests/models/exaone4_5/*
Copyright: 2026, The LG AI Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/exaone_moe/*
Copyright: 2026, The LG AI Research and The HuggingFace Inc. team
License: Apache-2.0

Files: tests/models/flava/*
Copyright: 2022, Meta Platforms authors and The HuggingFace Team.
License: Apache-2.0

Files: tests/models/flava/test_image_processing_flava.py
Copyright: 2022, Meta Platforms authors and HuggingFace Inc.
License: Apache-2.0

Files: tests/models/flava/test_modeling_flava.py
Copyright: 2022, Meta Platforms authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/florence2/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/glm4_moe/*
Copyright: 2025, The ZhipuAI Inc. team and HuggingFace Inc. team
License: Apache-2.0

Files: tests/models/glm4v/*
Copyright: 2025, The HuggingFace Team.
License: Apache-2.0

Files: tests/models/glm4v_moe/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/got_ocr2/test_modeling_got_ocr2.py
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/granite4_vision/*
Copyright: 2026, IBM.
 2026, IBM and The HuggingFace Team.
License: Apache-2.0

Files: tests/models/herbert/*
Copyright: 2018, The Google AI Language Team Authors, Allegro.pl and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/hunyuan_v1_dense/*
Copyright: 2024, THL A29 Limited, a Tencent company and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/hunyuan_v1_moe/*
Copyright: 2024, THL A29 Limited, a Tencent company and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/hy_v3/*
Copyright: 2026, Tencent HunYuan Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/jetmoe/*
Copyright: 2024, JetMoe AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/kosmos2/*
Copyright: 2021-2023, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/kosmos2_5/*
Copyright: 2024, Microsoft Research and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/layoutlm/*
Copyright: 2018, The Microsoft Research Asia LayoutLM Team Authors, The Hugging Face Team.
License: Apache-2.0

Files: tests/models/led/*
Copyright: 2021, Iz Beltagy, Matthew E. Peters, Arman Cohan and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/lighton_ocr/*
Copyright: 2026, The LightOn Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/longcat_flash/*
Copyright: 2025, Meituan and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/longt5/*
Copyright: 2022, Google LongT5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/lxmert/*
Copyright: 2018, LXMERT Authors, The Hugging Face Team.
License: Apache-2.0

Files: tests/models/megatron_bert/*
Copyright: 2021, The HuggingFace Inc. team.
 2021, NVIDIA Corporation.
License: Apache-2.0

Files: tests/models/mellum/*
Copyright: 2026, JetBrains and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/metaclip_2/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/mistral/*
Copyright: 2023, 2024, Mistral AI and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/mistral3/test_modeling_mistral3.py
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/mpnet/*
Copyright: 2020, The HuggingFace Inc. team, Microsoft Corporation.
License: Apache-2.0

Files: tests/models/musicflamingo/*
Copyright: 2026, NVIDIA CORPORATION and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/myt5/*
Copyright: 2019, 2020, 2023, 2024
License: Apache-2.0

Files: tests/models/nemotron/*
Copyright: 2024, NVIDIA CORPORATION.
 2024, HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/openai/test_tokenization_openai.py
Copyright: 2018, The Google AI Language Team Authors.
License: Apache-2.0

Files: tests/models/ovis2/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/patchtsmixer/*
Copyright: 2023, IBM and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/phi/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/phi3/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/phimoe/*
Copyright: 2020, 2023-2025, Microsoft and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/pp_formulanet/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/pp_lcnet_v4/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/pp_ocrv6_medium_det/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/pp_ocrv6_small_det/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/pp_ocrv6_small_rec/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/pp_ocrv6_tiny_rec/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/prophetnet/*
Copyright: 2020, The HuggingFace Inc. team, The Microsoft Research team.
License: Apache-2.0

Files: tests/models/qwen2/*
Copyright: 2024, The Qwen team, Alibaba Group and the HuggingFace Team.
License: Apache-2.0

Files: tests/models/qwen2/test_modeling_qwen2.py
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen2_5_omni/*
Copyright: 2024, 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen2_5_vl/*
Copyright: 2024, 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen2_moe/*
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen3/*
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen3_5/*
 tests/models/qwen3_5_moe/*
Copyright: 2026, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen3_moe/*
Copyright: 2024, The Qwen team, Alibaba Group and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen3_next/*
Copyright: 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen3_omni_moe/*
Copyright: 2025, The Qwen team, Alibaba Group and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen3_vl/*
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/qwen3_vl_moe/*
Copyright: 2025, The Qwen Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/rag/test_modeling_rag.py
Copyright: 2020, The RAG Authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/sam2/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/sam2_video/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/sapiens2/*
Copyright: 2026, Meta Platforms, Inc. and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/seed_oss/*
Copyright: 2025, Bytedance-Seed Ltd and the HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/slanet/*
Copyright: 2026, The PaddlePaddle Team and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/solar_open/*
Copyright: 2026, Upstage and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/squeezebert/*
Copyright: 2020, The SqueezeBert authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/starcoder2/*
Copyright: 2024, BigCode and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/switch_transformers/*
Copyright: 2022, Google SwitchTransformers Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/t5/*
Copyright: 2018, 2020, 2021, Google T5 Authors and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/t5gemma/*
Copyright: 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/t5gemma2/*
Copyright: 2025, Google Inc. HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/textnet/test_modeling_textnet.py
Copyright: 2024, the Fast authors and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/timesfm/*
Copyright: 2025, Google LLC and HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/tvp/*
Copyright: 2023, The Intel Team Authors, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/models/xcodec/*
Copyright: 2025, The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/quantization/quark_integration/*
Copyright: 2025, Advanced Micro Devices, Inc. and The HuggingFace Inc. team.
License: Apache-2.0

Files: tests/utils/test_doc_samples.py
 tests/utils/test_generic.py
 tests/utils/test_skip_decorators.py
Copyright: 2019, 2020, 2023, 2024
License: Apache-2.0

Files: docs/source/en/model_doc/hrm_text.md
 src/transformers/models/hrm_text/*
Copyright: 2026, The Sapient AI Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: docs/source/en/model_doc/hyperclovax.md
 src/transformers/models/hyperclovax/*
Copyright: 2026, NAVER Cloud Corp. and The HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/bros/modeling_bros.py
Copyright: 2023-present, NAVER Corp, The Microsoft Research Asia LayoutLM Team Authors and the HuggingFace Inc. team.
License: Apache-2.0

Files: src/transformers/models/cohere2_moe/*
Copyright: 2026, Cohere Inc. HuggingFace Inc. team.
License: Apache-2.0

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache version 2.0 license
 can be found in "/usr/share/common-licenses/Apache-2.0".

License: BSD-3-clause
 The BSD License
 .
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 met:
 .
   * Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.
 .
   * Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in the
     documentation and/or other materials provided with the distribution. 
 .
   * Neither the name of the copyright holder nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission. 
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: Expat
 The MIT License
 .
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights to
 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 of the Software, and to permit persons to whom the Software is furnished to do
 so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

