devendergarg14's picture
Create app.py
4e07a7c
raw
history blame
165 Bytes
from transformers import pipeline
generator = pipeline('text-generation', model='EleutherAI/gpt-neo-2.7B')
generator("EleutherAI has", do_sample=True, min_length=50)