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
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")