Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
mehranandi
/
Gpt2
like
0
License:
apache-2.0
Model card
Files
Files and versions
xet
Community
Copy to bucket
new
main
Gpt2
/
App.py
mehranandi
Trans.py
67c6dda
almost 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
123 Bytes
# Use a pipeline as a high-level helper
from
transformers
import
pipeline
pipe = pipeline(
"text-generation"
, model=
"gpt2"
)