Gpt2 / App.py
mehranandi's picture
Trans.py
67c6dda
raw
history blame
123 Bytes
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="gpt2")