facebook-125
15
1 language
—
by
rahul7star
Other
OTHER
2005.14165B params
New
15 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
4482GB+ RAM
Mobile
Laptop
Server
Quick Summary
Quantization Details - Quantization Type: Int4WeightOnly - Group Size: 128 --- language: en inference: false tags: - text-generation - opt OPT was first intro...
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
1868GB+ RAM
Code Examples
How to usepythontransformers
>>> from transformers import pipeline
>>> generator = pipeline('text-generation', model="facebook/opt-125m")
>>> generator("What are we having for dinner?")
[{'generated_text': 'What are we having for dinner?\nA nice dinner with a friend.\nI'm not sure'}]pythontransformers
>>> from transformers import pipeline, set_seed
>>> set_seed(32)
>>> generator = pipeline('text-generation', model="facebook/opt-125m", do_sample=True)
>>> generator("What are we having for dinner?")
[{'generated_text': 'What are we having for dinner?\nCoffee, sausage and cream cheese at Chili's.'}]Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.