Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
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
mehranandi
commited on
Nov 6, 2023
Commit
67c6dda
·
1 Parent(s):
a290186
Trans.py
Browse files
Files changed (1)
hide
show
App.py
+4
-0
App.py
ADDED
Viewed
@@ -0,0 +1,4 @@
1
+
# Use a pipeline as a high-level helper
2
+
from transformers import pipeline
3
+
4
+
pipe = pipeline("text-generation", model="gpt2")