๐คAI Platform / HubFree Tier Available
Hugging Face
The GitHub of AI โ 700,000+ models, datasets, and Spaces to explore and deploy
Hugging Face is the central hub of the open-source AI world. It hosts over 700,000 models (text, vision, audio, code), 150,000+ datasets, and interactive demos called Spaces. Developers use it to find pre-trained models, run them via API, fine-tune them on custom data, and share their own work.
๐ง
Models
700,000+
Pre-trained models for text, images, audio, video, and code
๐
Datasets
150,000+
Training and benchmark datasets for all AI tasks
๐
Spaces
300,000+
Live interactive demos โ try any model in your browser
๐ป
Inference API
Pay-per-use
Call any model via REST API without managing infrastructure
๐ Sample Usage
Call the Inference API (Python)
pip install huggingface_hub
from huggingface_hub import InferenceClient
client = InferenceClient(
ย ย model="mistralai/Mistral-7B-Instruct-v0.1",
ย ย token="hf_YOUR_TOKEN_HERE"
)
response = client.text_generation(
ย ย "Explain recursion in simple terms",
ย ย max_new_tokens=200
)
print(response)
Download and Run a Model Locally
pip install transformers torch
from transformers import pipeline
# Load a text classification model
classifier = pipeline("sentiment-analysis")
result = classifier("This product is absolutely amazing!")
# Output: [{'label': 'POSITIVE', 'score': 0.99}]
Popular Tasks & Models to Try
Text Generation
meta-llama/Llama-3.1-8BCode Generation
deepseek-ai/deepseek-coder-6.7bTranslation
Helsinki-NLP/opus-mt-en-frSummarization
facebook/bart-large-cnnImage Classification
google/vit-base-patch16-224Speech to Text
openai/whisper-large-v3