Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
devendergarg14
/
Paraphrasing_with_GPT_Neo
like
25
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
devendergarg14
commited on
Dec 15, 2021
Commit
4e07a7c
·
1 Parent(s):
0180c8f
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+3
-0
app.py
ADDED
Viewed
@@ -0,0 +1,3 @@
1
+
from transformers import pipeline
2
+
generator = pipeline('text-generation', model='EleutherAI/gpt-neo-2.7B')
3
+
generator("EleutherAI has", do_sample=True, min_length=50)