huggingface/transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
https://skillcdn.ai/gh/huggingface/transformersConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
6259c23 - License
Apache-2.0 - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- AxolotlAxolotl is a fine-tuning and post-training framework for large language models. It supports adapter-based tuning, ND-parallel distributed training, GRPO, and QAT. Through TRL, Axolotl also handles pr…docs/source/en/community_integrations/axolotl.md
- CandleCandle is a machine learning framework providing native Rust implementations of Transformers models. It natively supports safetensors to load Transformers models directly.docs/source/en/community_integrations/candle.md
- ExecuTorchExecuTorch is a lightweight runtime for model inference on edge devices. It exports a PyTorch model into a portable, ahead-of-time format. A small C++ runtime plans memory and dispatches operations t…docs/source/en/community_integrations/executorch.md
- LiteRTLiteRT (formerly TensorFlow Lite) is Google's runtime for on-device inference. The model format is .tflite and language models ship as one .litertlm file for the LiteRT-LM runtime.docs/source/en/community_integrations/litert.md
- llama.cppllama.cpp is a C/C++ inference engine for deploying large language models locally. It's lightweight and doesn't require Python, CUDA, or other heavy server infrastructure. llama.cpp uses the GGUF fil…docs/source/en/community_integrations/llama_cpp.md
- MLXMLX is an array framework for machine learning on Apple silicon that also works with CUDA. On Apple silicon, arrays stay in shared memory to avoid data copies between CPU and GPU. Lazy computation en…docs/source/en/community_integrations/mlx.md
- NanotronNanotron is a distributed training framework with tensor, parallel, and data parallelism (3D parallelism). It is designed for large-scale training workloads across hundreds of GPUs.docs/source/en/community_integrations/nanotron.md
- NeMo AutomodelNeMo Automodel is an open-source PyTorch DTensor-native training library from NVIDIA. It supports large and small scale pretraining and fine-tuning for LLMs and VLMs for fast experimentation in resea…docs/source/en/community_integrations/nemo_automodel_finetuning.md
- NeMo AutomodelNeMo Automodel is an open-source PyTorch DTensor-native training library from NVIDIA. It supports large and small scale pretraining and fine-tuning for LLMs and VLMs for fast experimentation in resea…docs/source/en/community_integrations/nemo_automodel_pretraining.md
- SGLangSGLang is a low-latency, high-throughput inference engine for large language models (LLMs). It also includes a frontend language for building agentic workflows.docs/source/en/community_integrations/sglang.md
- TensorRT-LLMTensorRT-LLM optimizes LLM inference on NVIDIA GPUs. It compiles models into a TensorRT engine with in-flight batching, paged KV caching, and tensor parallelism. AutoDeploy accepts Transformers model…docs/source/en/community_integrations/tensorrt-llm.md
- torchtitantorchtitan is PyTorch's distributed training framework for large language models. It supports Fully Sharded Data Parallelism (FSDP), tensor, pipeline, and context parallelism (4D parallelism). torcht…docs/source/en/community_integrations/torchtitan.md
- Building a compatible model backend for inferenceTransformers models are compatible with inference engines like vLLM and SGLang. Use the same Transformers model anywhere and avoid reimplementing a model from scratch for each inference engine. This…docs/source/en/community_integrations/transformers_as_backend.md
- TRLTRL is a post-training framework for foundation models. It includes methods like SFT, GRPO, and DPO. Each method has a dedicated trainer that builds on the [Trainer] class and scales from a single GP…docs/source/en/community_integrations/trl.md
- UnslothUnsloth is a fine-tuning and reinforcement framework that speeds up training and reduces memory usage for large language models. It supports training in 4-bit, 8-bit, and 16-bit precision with custom…docs/source/en/community_integrations/unsloth.md
- vLLMvLLM is a high-throughput inference engine for serving LLMs at scale. It continuously batches requests and keeps KV cache memory compact with PagedAttention.docs/source/en/community_integrations/vllm.md
Skipped (50)
These manifests were not served. Fix them and push: the next commit is indexed again.
README.mdlink_missinga link names no file of the repository (./contributing)docs/source/en/accelerate.mdlink_missing3 links name no file of the repository (./fsdp, ./deepspeed, ./ddp)docs/source/en/add_audio_processing_components.mdlink_missing3 links name no file of the repository (./modular_transformers, ./auto_docstring, ./feature_extractors)docs/source/en/add_new_model.mdlink_missing7 links name no file of the repository (./modular_transformers, ./philosophy, ./installation#editable-install, ...)docs/source/en/add_vision_processing_components.mdlink_missing4 links name no file of the repository (./modular_transformers, ./auto_docstring, ./image_processors, ...)docs/source/en/amd_gpu.mdlink_missing12 links name no file of the repository (./attention_interface, ./kernel_doc/loading_kernels, ./quantization/awq, ...)docs/source/en/apple_silicon.mdlink_missing10 links name no file of the repository (./attention_interface, ./model_doc/gpt_oss, ./quantization/gguf#attention, ...)docs/source/en/assisted_decoding.mdlink_missing2 links name no file of the repository (./perf_torch_compile, ./kv_cache#fixed-size-cache)docs/source/en/attention_interface.mdlink_missinga link names no file of the repository (./kernel_doc/loading_kernels#flashattention-fallback)docs/source/en/auto_docstring.mdlink_missinga link names no file of the repository (./modular_transformers)docs/source/en/aws_trainium.mdlink_missing4 links name no file of the repository (./kv_cache#keep-generation-tensors-on-cpu, ./tensor_parallelism, ./expert_parallelism, ...)docs/source/en/backbones.mdlink_missing4 links name no file of the repository (./main_classes/backbones, ./model_doc/auto, ./model_doc/resnet, ...)docs/source/en/chat_content_patterns.mdlink_missinga link names no file of the repository (./chat_extras)docs/source/en/chat_extras.mdlink_missing3 links name no file of the repository (./model_doc/cohere, ./model_doc/mixtral, ./chat_response_parsing)docs/source/en/chat_response_parsing.mdlink_missing2 links name no file of the repository (./chat_extras, ./chat_templating)docs/source/en/chat_templating.mdlink_missing3 links name no file of the repository (./conversations, ./model_doc/llama, ./tasks/language_modeling)docs/source/en/chat_templating_multimodal.mdlink_missing6 links name no file of the repository (./fast_tokenizers, ./processors, ./llm_tutorial#prompt-format, ...)docs/source/en/chat_templating_writing.mdlink_missing2 links name no file of the repository (./chat_extras, ./model_doc/cohere)docs/source/en/community.mdlink_missinga link names no file of the repository (glossary)docs/source/en/community_integrations/axolotl.mdlink_missing3 links name no file of the repository (./trl, ../main_classes/quantization, ../attention_interface)docs/source/en/community_integrations/candle.mdlink_missinga link names no file of the repository (../installation#cache-directory)docs/source/en/community_integrations/executorch.mdlink_missinga link names no file of the repository (../serialization#executorch)docs/source/en/community_integrations/nemo_automodel_finetuning.mdlink_missinga link names no file of the repository (./nemo_automodel_pretraining)docs/source/en/community_integrations/nemo_automodel_pretraining.mdlink_missinga link names no file of the repository (./nemo_automodel_finetuning)docs/source/en/community_integrations/sglang.mdlink_missinga link names no file of the repository (./transformers_as_backend#model-implementation)docs/source/en/community_integrations/torchtitan.mdlink_missinga link names no file of the repository (../perf_torch_compile)docs/source/en/community_integrations/transformers_as_backend.mdlink_missing3 links name no file of the repository (../add_new_model, ../custom_models, ../add_vision_processing_components)docs/source/en/continuous_batching.mdlink_missing8 links name no file of the repository (./serve-cli/serving_optims#continuous-batching, ./continuous_batching_architecture#memory-management, ./continuous_batching_architecture#chunked-prefill, ...)docs/source/en/continuous_batching_architecture.mdlink_missinga link names no file of the repository (./continuous_batching)docs/source/en/conversations.mdlink_missing12 links name no file of the repository (./installation, ./serve-cli/serving, ./model_doc/auto, ...)docs/source/en/cpu.mdlink_missinga link names no file of the repository (./ddp)docs/source/en/custom_models.mdlink_missing3 links name no file of the repository (./models#model-classes, ./model_doc/auto, ./models#custom-models)docs/source/en/custom_tokenizers.mdlink_missinga link names no file of the repository (./fast_tokenizers#backends)docs/source/en/data_collators.mdlink_missinga link names no file of the repository (./main_classes/data_collator)docs/source/en/ddp.mdlink_missing3 links name no file of the repository (./accelerate, ./fsdp, ./deepspeed)docs/source/en/deepspeed.mdlink_missing2 links name no file of the repository (./debugging#deepspeed-cuda, ./accelerate#accelerate-config-file)docs/source/en/deepspeed_alst.mdlink_missing3 links name no file of the repository (./accelerate#accelerate-config-file, ./fsdp#evaluate-with-context-parallelism, ./perf_train_gpu_many)docs/source/en/expert_parallelism.mdlink_missing2 links name no file of the repository (./perf_infer_gpu_multi, ./fsdp)docs/source/en/experts_interface.mdlink_missinga link names no file of the repository (./quantization/finegrained_fp8)docs/source/en/exporters.mdlink_missing2 links name no file of the repository (./exporters_quantization, ./exporters_extend)docs/source/en/exporters_quantization.mdlink_missing2 links name no file of the repository (./exporters, ./exporters#how-exportforgeneration-works)docs/source/en/fast_tokenizers.mdlink_missinga link names no file of the repository (./custom_tokenizers)docs/source/en/feature_extractors.mdlink_missing2 links name no file of the repository (./model_doc/auto, ./model_doc/whisper)docs/source/en/fsdp.mdlink_missing8 links name no file of the repository (./ddp, ./tensor_parallelism, ./expert_parallelism, ...)docs/source/en/fusion_mapping.mdlink_missing2 links name no file of the repository (./monkey_patching, ./weightconverter)docs/source/en/glossary.mdlink_missing9 links name no file of the repository (./model_doc/dpt, ./perf_train_gpu_many#dataparallel, ./training, ...)docs/source/en/google_tpu.mdlink_missing2 links name no file of the repository (./kv_cache#keep-generation-tensors-on-cpu, ./kernel_doc/loading_kernels)docs/source/en/grad_accumulation.mdlink_missing4 links name no file of the repository (./trainer_recipes#custom-loss-function, ./model_memory_anatomy, ./grad_checkpointing, ...)docs/source/en/grad_checkpointing.mdlink_missing4 links name no file of the repository (./grad_accumulation, ./model_memory_anatomy, ./mixed_precision_training, ...)docs/source/en/hardware.mdlink_missing8 links name no file of the repository (./cpu, ./nvidia_gpu, ./amd_gpu, ...)