6.7M
Downloads
❤️
243
Likes
🏷️
13
Tags
📦
transformers
Library
Model Details
Full Model IDfacebook/opt-125m
Pipeline / Tasktext-generation
Librarytransformers
Downloads (all-time)6.7M
Likes243
Last Modified9/15/2023
Author / Orgfacebook
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("text-generation", model="facebook/opt-125m")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchtfjaxopttext-generationenarxiv:2205.01068arxiv:2005.14165license:othertext-generation-inferencedeploy:azureregion:us
More Text Generation Models
See all →
Qwen3-0.6B

Qwen/Qwen3-0.6B

16.1M❤️ 1.2K
Get AI Model →
gpt2

openai-community/gpt2

14.0M❤️ 3.2K
Get AI Model →
Qwen2.5-7B-Instruct

Qwen/Qwen2.5-7B-Instruct

12.3M❤️ 1.2K
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
✍️ Task: Text Generation

This model is designed for the Text Generation task. Explore more models for this use case.

All Text Generation Models →
📊 Popularity
Downloads6.7M
❤️ Community Likes243
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?