File size: 4,240 Bytes
ab2f386
 
 
 
 
 
 
 
b0bb174
 
 
ab2f386
 
 
 
 
 
 
 
 
 
 
 
 
5e830a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ab2f386
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
datasets:
- scb_mt_enth_2020
language:
- th
- en
pipeline_tag: text-generation
---

fix model generate html code by remove html tag from version 0.3

prompt
```
<bos>[| start_original |]
ถ้าข้างนอกอุณหภูมิ 15 องศาเซลเซียส ควรใส่เสื้อกันหนาวหรือไม่[| end_original |]
[| start_translate to=en |]
Should I wear a jacket if the temperature is 15 degrees Celsius outside?[| end_translate |]<eos>
```

```
<bos>[| start_original |]
You will learn conversation, reading and writing at each level.[| end_original |]
[| start_translate to=th |]
คุณจะเรียนการสนทนา การอ่านและการเขียนในแต่ละระดับ[| end_translate |]<eos>
```

translate is usable when have short sentence
```
<bos>[| start_original |]
ตำราเรียน (อังกฤษ: Textbook) คือหนังสือที่ใช้ในการศึกษาหาความรู้จากวิชาต่าง ๆ 
ผู้คนมักใช้ตำราเรียนในการเรียนรู้ข้อเท็จจริงและวิธีการที่เกี่ยวข้องกับรายวิชานั้น ๆ 
ในบางครั้งตำราเรียนมักมีคำถามเพื่อทดสอบความรู้และความเข้าใจของผู้อ่าน 
ตำราเรียนจะถูกผลิตจากความต้องการของสถาบันการศึกษา 
ตำราเรียนส่วนมากมักมีลักษณะเป็นสิ่งพิมพ์ 
แต่ในปัจจุบันพบว่าหลาย ๆ ตำราเรียนสามารถเข้าถึงได้โดยการออนไลน์ ในรูปแบบของหนังสืออิเล็กทรอนิกส์[| end_original |]
[| start_translate to=en |]
Textbooks are used to learn facts and how to apply them in a particular subject.
In some cases textbooks contain questions to test the reader's knowledge and understanding of the subject matter.
Textbooks are produced to meet the needs of educational institutions.
Most textbooks are in print form.
However, many textbooks are now available online in e-book form.[| end_translate |]<eos>
```

but when use with long sentence it will drop some of it
```
<bos>[| start_original |]
ตำราเรียน (อังกฤษ: Textbook) คือหนังสือที่ใช้ในการศึกษาหาความรู้จากวิชาต่าง ๆ ผู้คนมักใช้ตำราเรียนในการเรียนรู้ข้อเท็จจริงและวิธีการที่เกี่ยวข้องกับรายวิชานั้น ๆ ในบางครั้งตำราเรียนมักมีคำถามเพื่อทดสอบความรู้และความเข้าใจของผู้อ่าน ตำราเรียนจะถูกผลิตจากความต้องการของสถาบันการศึกษา ตำราเรียนส่วนมากมักมีลักษณะเป็นสิ่งพิมพ์ แต่ในปัจจุบันพบว่าหลาย ๆ ตำราเรียนสามารถเข้าถึงได้โดยการออนไลน์ ในรูปแบบของหนังสืออิเล็กทรอนิกส์[| end_original |]
[| start_translate to=en |]
A textbook is a book used to study a particular subject. People use textbooks to learn facts and methods related to a particular subject. Textbooks often contain questions to test a reader's knowledge and understanding of the subject. Textbooks are produced to meet the needs of a particular educational institution.[| end_translate |]<eos>
```