Downloads · 30 days
42
0% of all-time downloads
heegyu/gpt2-emotion
gpt2-emotion is a text generation model from heegyu. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
- Developed by: Heegyu Kim - Model type: GPT-2 - Language(s) (NLP): English - License: MIT
Downloads · 30 days
42
0% of all-time downloads
All-time downloads
175K
Public
Repo size
2.5 GB
Likes
2
Public
Click a slice to open those files.
.bin665 MB · 99%
From the Hugging Face model README
from transformers import pipeline
generator = pipeline('text-generation', 'heegyu/gpt2-emotion')
prompt = "sadness I'm so " # start token should be one of ["sadness", "joy", "love", "anger", "fear", "surprise"]
print(generator(prompt)[0]['generated_text'])
>>> sadness I'm so tired of seeing all the stupid things that i ve learned from past years that i feel like ive been so stupid and blah and then i feel like ive just wasted all my energy doing stupid shit like how i never