chatthai
commited on
Commit
•
3a7a592
1
Parent(s):
ce11fe3
Update README.md
Browse files
README.md
CHANGED
@@ -17,10 +17,12 @@ widget:
|
|
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
|
|
|
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 |
+
```python
|
21 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
22 |
|
23 |
tokenizer = AutoTokenizer.from_pretrained("preechanon/mt5-base-thaisum-text-summarization")
|
24 |
model = AutoModelForSeq2SeqLM.from_pretrained("preechanon/mt5-base-thaisum-text-summarization")
|
25 |
+
```
|
26 |
|
27 |
### Score
|
28 |
- Rouge1: 0.478420
|