Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
mehranandi
/
Gpt2
like
0
License:
apache-2.0
Model card
Files
Files and versions
Community
67c6dda
Gpt2
/
App.py
mehranandi
Trans.py
67c6dda
about 1 year ago
raw
Copy download link
history
blame
Safe
123 Bytes
# Use a pipeline as a high-level helper
from
transformers
import
pipeline
pipe = pipeline(
"text-generation"
, model=
"gpt2"
)