chatthai
commited on
Commit
•
ce11fe3
1
Parent(s):
0564ad0
Update README.md
Browse files
README.md
CHANGED
@@ -16,6 +16,12 @@ widget:
|
|
16 |
# mt5-base-thaisum
|
17 |
This repository contains the finetuned mT5-base model for Thai sentence summarization. The architecture of the model is based on mT5 model and fine-tuned on text-summarization pairs in Thai.
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
### Score
|
20 |
- Rouge1: 0.478420
|
21 |
- Rouge2: 0.308502
|
|
|
16 |
# mt5-base-thaisum
|
17 |
This repository contains the finetuned mT5-base model for Thai sentence summarization. The architecture of the model is based on mT5 model and fine-tuned on text-summarization pairs in Thai.
|
18 |
|
19 |
+
### Example
|
20 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
21 |
+
|
22 |
+
tokenizer = AutoTokenizer.from_pretrained("preechanon/mt5-base-thaisum-text-summarization")
|
23 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("preechanon/mt5-base-thaisum-text-summarization")
|
24 |
+
|
25 |
### Score
|
26 |
- Rouge1: 0.478420
|
27 |
- Rouge2: 0.308502
|