keytotext

Idea is to build a model which will take keywords as inputs and generate sentences as outputs.

Model:

Two Models have been built:

Usage:

from transformers import AutoTokenizer, AutoModelWithLMHead

tokenizer = AutoTokenizer.from_pretrained("gagan3012/keytotext-small")

model = AutoModelWithLMHead.from_pretrained("gagan3012/keytotext-small")

Demo:

Streamlit App

https://share.streamlit.io/gagan3012/keytotext/app.py

image

Example:

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

New

Select AutoNLP in the “Train” menu to fine-tune this model automatically.

Downloads last month
59
Hosted inference API
Text2Text Generation
This model can be loaded on the Inference API on-demand.