Downloads · 30 days
64
2% of all-time downloads
gagan3012/keytotext
keytotext 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
64
2% of all-time downloads
All-time downloads
3.2K
Public
Repo size
1.8 GB
Likes
1
Public
Click a slice to open those files.
.bin892 MB · 100%
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.