Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: "en"
|
3 |
+
thumbnail: "Keywords to Sentences"
|
4 |
+
tags:
|
5 |
+
- keytotext
|
6 |
+
- k2t
|
7 |
+
- Keywords to Sentences
|
8 |
+
license: "MIT"
|
9 |
+
datasets:
|
10 |
+
- common_gen
|
11 |
+
- Dart
|
12 |
+
metrics:
|
13 |
+
- NLG
|
14 |
+
---
|
15 |
+
|
16 |
+
|
17 |
+
# keytotext
|
18 |
+
|
19 |
+
![keytotext (1)](https://user-images.githubusercontent.com/49101362/116334480-f5e57a00-a7dd-11eb-987c-186477f94b6e.png)
|
20 |
+
|
21 |
+
Idea is to build a model which will take keywords as inputs and generate sentences as outputs.
|
22 |
+
|
23 |
+
### Keytotext is powered by Huggingface 🤗
|
24 |
+
|
25 |
+
[![pypi Version](https://img.shields.io/pypi/v/keytotext.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/keytotext/)
|
26 |
+
[![Downloads](https://static.pepy.tech/personalized-badge/keytotext?period=total&units=none&left_color=grey&right_color=orange&left_text=Pip%20Downloads)](https://pepy.tech/project/keytotext)
|
27 |
+
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/gagan3012/keytotext/blob/master/Examples/K2T.ipynb)
|
28 |
+
[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/gagan3012/keytotext/UI/app.py)
|
29 |
+
|
30 |
+
## Model:
|
31 |
+
|
32 |
+
Keytotext is based on the Amazing T5 Model:
|
33 |
+
|
34 |
+
- `k2t`: [Model](https://huggingface.co/gagan3012/k2t)
|
35 |
+
- `k2t-tiny`: [Model](https://huggingface.co/gagan3012/k2t-tiny)
|
36 |
+
- `k2t-base`: [Model](https://huggingface.co/gagan3012/k2t-base)
|
37 |
+
|
38 |
+
Training Notebooks can be found in the [`Training Notebooks`](https://github.com/gagan3012/keytotext/tree/master/Training%20Notebooks) Folder
|
39 |
+
|
40 |
+
## Usage:
|
41 |
+
|
42 |
+
Example usage: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/gagan3012/keytotext/blob/master/Examples/K2T.ipynb)
|
43 |
+
|
44 |
+
Example Notebooks can be found in the [`Notebooks`](https://github.com/gagan3012/keytotext/tree/master/Examples) Folder
|
45 |
+
|
46 |
+
```
|
47 |
+
pip install keytotext
|
48 |
+
```
|
49 |
+
|
50 |
+
![carbon (3)](https://user-images.githubusercontent.com/49101362/116220679-90e64180-a755-11eb-9246-82d93d924a6c.png)
|
51 |
+
|
52 |
+
|
53 |
+
## UI:
|
54 |
+
|
55 |
+
UI: [![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/gagan3012/keytotext/UI/app.py)
|
56 |
+
|
57 |
+
```
|
58 |
+
pip install streamlit-tags
|
59 |
+
```
|
60 |
+
This uses a custom streamlit component built by me: [GitHub](https://github.com/gagan3012/streamlit-tags)
|
61 |
+
|
62 |
+
![image](https://user-images.githubusercontent.com/49101362/116162205-fc042980-a6fd-11eb-892e-8f6902f193f4.png)
|
63 |
+
|