🔌 API & Nền tảng•Có bản miễn phí•
Hugging Face
Hub trung tâm của AI mã nguồn mở: 1M+ model checkpoint, thư viện Transformers là tiêu chuẩn ngành, Spaces cho demo và Inference API.
#hugging-face
Danh mục
🔌 API & Nền tảng
Giá
Có bản miễn phí
GitHub Stars
⭐ 166,900
Ngôn ngữ
Python
License
Apache-2.0
Ngày thêm
2026-03-26
Tóm tắt từ README GitHub
English
简体中文
繁體中文
한국어
Español
日本語
हिन्दी
Русский
Português
తెలుగు
Français
Deutsch
Italiano
Tiếng Việt
العربية
اردو
বাংলা
فارسی
Română
Türkçe
State-of-the-art pretrained models for inference and training
Transformers acts as the model-definition framework for state-of-the-art machine learning with text, computer
vision, audio, video, and multimodal models, for both inference and training.
It centralizes the model definition so that this definition is agreed upon across the ecosystem. is the
pivot across frameworks: if a model definition is supported, it will be compatible with the majority of training
frameworks (Axolotl, Unsloth, DeepSpeed, FSDP, PyTorch-Lightning, ...), inference engines (vLLM, SGLang, TGI, ...),
and adjacent modeling libraries (llama.cpp, mlx, ...) which leverage the model definition from .
We pledge to help support new state-of-the-art models and democratize their usage by having their model definition be
simple, customizable, and efficient.
There are over 1M+ Transformers model checkpoints on the Hugging Face Hub you can use.
Explore the Hub today to find a model and use Transformers to help you get started right away.
Installati
Xem thêm từ README.mdThu gọn README.md
Đánh giá chi tiết
Tổng quan
Hugging Face là nền tảng trung tâm của hệ sinh thái AI mã nguồn mở. Host hơn 1 triệu model checkpoint, dataset và Spaces demo. Thư viện Transformers (158K+ GitHub stars) là framework chuẩn ngành cho inference và training model ML, hỗ trợ text, vision, audio, video và multimodal.
Tính năng chính
- Hub với 1M+ model checkpoint từ mọi provider: Meta, Google, Mistral, Stability AI, và cộng đồng
- Thư viện Transformers hỗ trợ Python, tương thích với training framework (Axolotl, Unsloth, DeepSpeed, FSDP) và inference engine (vLLM, SGLang, TGI)
- Spaces: deploy demo app bằng Gradio hoặc Streamlit, miễn phí với CPU
- Inference API: gọi model qua REST API không cần hạ tầng riêng
- Dataset Hub cho chia sẻ và version control dataset
- Model Cards cho documentation chuẩn hóa về bias, performance và license
Stack kỹ thuật
Transformers viết bằng Python, license Apache-2.0. Tương thích PyTorch, TensorFlow và JAX. Hỗ trợ xuất model sang ONNX, llama.cpp (GGUF) và MLX cho Apple Silicon.
Điểm mạnh
- Cộng đồng AI mã nguồn mở lớn nhất thế giới, model mới thường xuất hiện trên Hub trước
- Transformers là pivot framework: model định nghĩa một lần, tương thích với hầu hết training và inference tool
- Free tier đủ dùng cho nghiên cứu và prototype: Spaces miễn phí, Inference API có rate limit hợp lý
- Tích hợp CLI (huggingface-cli) cho download, upload và quản lý model
Hạn chế
- Số lượng model khổng lồ gây khó khăn trong việc tìm model phù hợp, chất lượng dao động mạnh
- Inference API miễn phí có rate limit, cần Pro ($9/tháng) hoặc Enterprise cho production
- Không phải mọi model trên Hub đều có documentation đầy đủ
- Spaces miễn phí chạy trên CPU chậm, cần trả phí cho GPU
Phù hợp khi nào
Kỹ sư ML và researcher cần truy cập model mã nguồn mở, hoặc team cần platform chia sẻ model và dataset nội bộ.