Downloads · 30 days
46
3% of all-time downloads
gagan3012/keytotext-small
keytotext-small is a text generation model from gagan3012. Use it when you need the model to write or continue text. It is set up for transformers.
Idea is to build a model which will take keywords as inputs and generate sentences as outputs.
Downloads · 30 days
46
3% of all-time downloads
All-time downloads
1.7K
Public
Repo size
726 MB
Likes
0
Public
Click a slice to open those files.
.bin242 MB · 99%
From the Hugging Face model README
Idea is to build a model which will take keywords as inputs and generate sentences as outputs.
Two Models have been built:
from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from_pretrained("gagan3012/keytotext-small")
model = AutoModelWithLMHead.from_pretrained("gagan3012/keytotext-small")
https://share.streamlit.io/gagan3012/keytotext/app.py

['India', 'Wedding'] -> We are celebrating today in New Delhi with three wedding anniversary parties.