khanglam7012
commited on
Commit
·
29f930c
1
Parent(s):
0e8d02a
Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
-
thumbnail:
|
4 |
tags:
|
5 |
- keytotext
|
6 |
- k2t
|
@@ -8,26 +8,35 @@ tags:
|
|
8 |
license: mit
|
9 |
datasets:
|
10 |
- WebNLG
|
11 |
-
- Dart
|
12 |
metrics:
|
13 |
- NLG
|
14 |
-
model-index:
|
15 |
-
- name: t5-small
|
16 |
-
results:
|
17 |
-
- task:
|
18 |
-
type: keywords-to-sentences
|
19 |
-
name: Keywords to Sentences
|
20 |
-
dataset:
|
21 |
-
type: common_voice # Required. Example: common_voice. Use dataset id from https://hf.co/datasets
|
22 |
-
name: Common Voice # Required. Example: Common Voice zh-CN
|
23 |
-
args: zh-CN # Optional. Example: zh-CN
|
24 |
-
metrics:
|
25 |
-
- type: wer # Required. Example: wer
|
26 |
-
value: 20.90 # Required. Example: 20.90
|
27 |
-
name: Test WER # Optional. Example: Test WER
|
28 |
-
args: max_order # Optional. Example for BLEU: max_order
|
29 |
---
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language: en
|
3 |
+
thumbnail: Keywords to Sentences
|
4 |
tags:
|
5 |
- keytotext
|
6 |
- k2t
|
|
|
8 |
license: mit
|
9 |
datasets:
|
10 |
- WebNLG
|
11 |
+
- Dart
|
12 |
metrics:
|
13 |
- NLG
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
---
|
15 |
+
# keytotext
|
16 |
+
![keytotext (1)](https://user-images.githubusercontent.com/49101362/116334480-f5e57a00-a7dd-11eb-987c-186477f94b6e.png)
|
17 |
+
Idea is to build a model which will take keywords as inputs and generate sentences as outputs.
|
18 |
+
### Keytotext is powered by Huggingface 🤗
|
19 |
+
[![pypi Version](https://img.shields.io/pypi/v/keytotext.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/keytotext/)
|
20 |
+
[![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)
|
21 |
+
[![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)
|
22 |
+
[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/gagan3012/keytotext/UI/app.py)
|
23 |
+
## Model:
|
24 |
+
Keytotext is based on the Amazing T5 Model:
|
25 |
+
- `k2t`: [Model](https://huggingface.co/gagan3012/k2t)
|
26 |
+
- `k2t-tiny`: [Model](https://huggingface.co/gagan3012/k2t-tiny)
|
27 |
+
- `k2t-base`: [Model](https://huggingface.co/gagan3012/k2t-base)
|
28 |
+
Training Notebooks can be found in the [`Training Notebooks`](https://github.com/gagan3012/keytotext/tree/master/Training%20Notebooks) Folder
|
29 |
+
## Usage:
|
30 |
+
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)
|
31 |
+
Example Notebooks can be found in the [`Notebooks`](https://github.com/gagan3012/keytotext/tree/master/Examples) Folder
|
32 |
+
```
|
33 |
+
pip install keytotext
|
34 |
+
```
|
35 |
+
![carbon (3)](https://user-images.githubusercontent.com/49101362/116220679-90e64180-a755-11eb-9246-82d93d924a6c.png)
|
36 |
+
## UI:
|
37 |
+
UI: [![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/gagan3012/keytotext/UI/app.py)
|
38 |
+
```
|
39 |
+
pip install streamlit-tags
|
40 |
+
```
|
41 |
+
This uses a custom streamlit component built by me: [GitHub](https://github.com/gagan3012/streamlit-tags)
|
42 |
+
![image](https://user-images.githubusercontent.com/49101362/116162205-fc042980-a6fd-11eb-892e-8f6902f193f4.png)
|