thanathorn commited on
Commit
cc47931
1 Parent(s): 2c7698e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -5,11 +5,11 @@ tags:
5
  language:
6
  - th
7
  widget:
8
- - text: "ถ้าพูดถึงขนมหวานในตำนานที่ชื่นใจที่สุดแล้วละก็ต้องไม่พ้น น้ำแข็งใส แน่เพราะว่าเป็นอะไรที่ชื่นใจสุด"
9
 
10
  ---
11
 
12
- # mt5-kmutt-thai-sentence-sum
13
  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. Also, this project is a Senior Project of Computer Engineering Student at King Mongkut’s University of Technology Thonburi.
14
 
15
  ## Usage on SimpleTransformer (Tested on version 0.63.4)
@@ -19,7 +19,7 @@ from torch import cuda
19
 
20
  model = T5Model("t5", "thanathorn/mt5-cpe-kmutt-thai-sentence-sum", use_cuda=cuda.is_available())
21
 
22
- sentence = "ถ้าพูดถึงขนมหวานในตำนานที่ชื่นใจที่สุดแล้วละก็ต้องไม่พ้น น้ำแข็งใส แน่เพราะว่าเป็นอะไรที่ชื่นใจสุด"
23
  prediction = model.predict([sentence])
24
  print(prediction[0])
25
  ```
5
  language:
6
  - th
7
  widget:
8
+ - text: "simplify: ถ้าพูดถึงขนมหวานในตำนานที่ชื่นใจที่สุดแล้วละก็ต้องไม่พ้น น้ำแข็งใส แน่เพราะว่าเป็นอะไรที่ชื่นใจสุด"
9
 
10
  ---
11
 
12
+ # mt5-cpe-kmutt-thai-sentence-sum
13
  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. Also, this project is a Senior Project of Computer Engineering Student at King Mongkut’s University of Technology Thonburi.
14
 
15
  ## Usage on SimpleTransformer (Tested on version 0.63.4)
19
 
20
  model = T5Model("t5", "thanathorn/mt5-cpe-kmutt-thai-sentence-sum", use_cuda=cuda.is_available())
21
 
22
+ sentence = "simplify: ถ้าพูดถึงขนมหวานในตำนานที่ชื่นใจที่สุดแล้วละก็ต้องไม่พ้น น้ำแข็งใส แน่เพราะว่าเป็นอะไรที่ชื่นใจสุด"
23
  prediction = model.predict([sentence])
24
  print(prediction[0])
25
  ```