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 →🚀 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.