|
|
--- |
|
|
language: en |
|
|
thumbnail: Keywords to Sentences |
|
|
tags: |
|
|
- keytotext |
|
|
- k2t-tiny |
|
|
- Keywords to Sentences |
|
|
license: mit |
|
|
datasets: |
|
|
- WebNLG |
|
|
- Dart |
|
|
metrics: |
|
|
- NLG |
|
|
--- |
|
|
|
|
|
# keytotext |
|
|
|
|
|
 |
|
|
|
|
|
Idea is to build a model which will take keywords as inputs and generate sentences as outputs. |
|
|
|
|
|
### Keytotext is powered by Huggingface 🤗 |
|
|
|
|
|
[](https://pypi.org/project/keytotext/) |
|
|
[](https://pepy.tech/project/keytotext) |
|
|
[](https://colab.research.google.com/github/gagan3012/keytotext/blob/master/Examples/K2T.ipynb) |
|
|
[](https://share.streamlit.io/gagan3012/keytotext/UI/app.py) |
|
|
|
|
|
## Model: |
|
|
|
|
|
Keytotext is based on the Amazing T5 Model: |
|
|
|
|
|
- `k2t`: [Model](https://huggingface.co/gagan3012/k2t) |
|
|
- `k2t-tiny`: [Model](https://huggingface.co/gagan3012/k2t-tiny) |
|
|
- `k2t-base`: [Model](https://huggingface.co/gagan3012/k2t-base) |
|
|
|
|
|
Training Notebooks can be found in the [`Training Notebooks`](https://github.com/gagan3012/keytotext/tree/master/Training%20Notebooks) Folder |
|
|
|
|
|
## Usage: |
|
|
|
|
|
Example usage: [](https://colab.research.google.com/github/gagan3012/keytotext/blob/master/Examples/K2T.ipynb) |
|
|
|
|
|
Example Notebooks can be found in the [`Notebooks`](https://github.com/gagan3012/keytotext/tree/master/Examples) Folder |
|
|
|
|
|
``` |
|
|
pip install keytotext |
|
|
``` |
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
## UI: |
|
|
|
|
|
UI: [](https://share.streamlit.io/gagan3012/keytotext/UI/app.py) |
|
|
|
|
|
``` |
|
|
pip install streamlit-tags |
|
|
``` |
|
|
This uses a custom streamlit component built by me: [GitHub](https://github.com/gagan3012/streamlit-tags) |
|
|
|
|
|
 |
|
|
|
|
|
|