Text Generation Using Keywords
Project description
keytotext
Idea is to build a model which will take keywords as inputs and generate sentences as outputs.
Model:
Keytotext is based on the Amazing T5 Model:
Training Notebooks can be found in the Training Notebooks
Folder
Usage:
Example Notebooks can be found in the Notebooks
Folder
pip install keytotext
UI:
pip install streamlit-tags
This uses a custom streamlit component built by me: GitHub
API:
The API is hosted in the Docker container and it can be run quickly. Follow instructions below to get started
docker pull gagan30/keytotext
docker run -dp 8000:8000 gagan30/keytotext
This will start the api at port 8000 visit the url below to get the results as below:
http://localhost:8000/api?data=["India","Capital","New Delhi"]
Note: The Hosted API is only available on demand
BibTex:
To quote keytotext please use this citation
@misc{bhatia,
title={keytotext},
url={https://github.com/gagan3012/keytotext},
journal={GitHub},
author={Bhatia, Gagan}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for keytotext-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d609d3d24467ccb1d9c830a424cdfc1ed8abde1dcffdebadec97fc762af830 |
|
MD5 | 10f607533d5f0a7d7112efa1e51766e3 |
|
BLAKE2b-256 | ce8e6eb59ff71566adbdae7c63d34f3906f831e214780aa0caaa35ae5babbf0d |