Update README.md
Browse files
README.md
CHANGED
@@ -1,15 +1,40 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
---
|
6 |
|
7 |
-
#
|
|
|
|
|
8 |
|
9 |
-
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
Prompt format is Llama2
|
14 |
```
|
15 |
<s>[INST] <<SYS>>
|
@@ -18,9 +43,7 @@ system_prompt
|
|
18 |
|
19 |
question [/INST]
|
20 |
```
|
21 |
-
|
22 |
System prompt:
|
23 |
-
|
24 |
You are a question answering assistant. Answer the question as truthful and helpful as possible คุณคือผู้ช่วยตอบคำถาม จงตอบคำถามอย่างถูกต้องและมีประโยชน์ที่สุด
|
25 |
|
26 |
## How to use
|
@@ -35,3 +58,23 @@ curl --request POST \
|
|
35 |
--header "Content-Type: application/json" \
|
36 |
--data '{"prompt": "<s>[INST] <<SYS>>\nYou are a question answering assistant. Answer the question as truthful and helpful as possible คุณคือผู้ช่วยตอบคำถาม จงตอบคำถามอย่างถูกต้องและมีประโยชน์ที่สุด\n<</SYS>>\n\nอยากลดความอ้วนต้องทำอย่างไร [/INST]","use_beam_search": false, "temperature": 0.1, "max_tokens": 512, "top_p": 0.75, "top_k": 40, "frequency_penalty": 0.3 "stop": "</s>"}'
|
37 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- th
|
5 |
+
- en
|
6 |
+
library_name: transformers
|
7 |
+
pipeline_tag: text-generation
|
8 |
+
tags:
|
9 |
+
- openthaigpt
|
10 |
+
- llama
|
11 |
---
|
12 |
|
13 |
+
# 🇹🇭 OpenThaiGPT 13b 1.0.0-beta
|
14 |
+
<img src="https://1173516064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvvbWvIIe82Iv1yHaDBC5%2Fuploads%2Fb8eiMDaqiEQL6ahbAY0h%2Fimage.png?alt=media&token=6fce78fd-2cca-4c0a-9648-bd5518e644ce
|
15 |
+
https://openthaigpt.aieat.or.th/" width="200px">
|
16 |
|
17 |
+
🇹🇭 OpenThaiGPT 13b Version 1.0.0-beta is a Thai language 13B-parameter LLaMA v2 Chat model finetuned to follow Thai translated instructions and extend more than 10,000 most popular Thai words vocabularies into LLM's dictionary for turbo speed.
|
18 |
|
19 |
+
## Support
|
20 |
+
- Official website: https://openthaigpt.aieat.or.th
|
21 |
+
- Facebook page: https://web.facebook.com/groups/openthaigpt
|
22 |
+
- A Discord server for discussion and support [here](https://discord.gg/rUTp6dfVUF)
|
23 |
+
- E-mail: [email protected]
|
24 |
+
|
25 |
+
## License
|
26 |
+
**Source Code**: License Apache Software License 2.0.<br>
|
27 |
+
**Weight**: Research and **Commercial uses**.<br>
|
28 |
|
29 |
+
## Code and Weight
|
30 |
+
**Finetune Code**: https://github.com/OpenThaiGPT/openthaigpt-finetune-010beta<br>
|
31 |
+
**Inference Code**: https://github.com/OpenThaiGPT/openthaigpt<br>
|
32 |
+
**Weight (Huggingface Checkpoint)**: https://huggingface.co/openthaigpt/openthaigpt-1.0.0-beta-13b-chat-hf
|
33 |
+
|
34 |
+
## Sponsors
|
35 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5fcd9c426d942eaf4d1ebd30/42d-GioSs4evIdNuMAaPB.png)
|
36 |
+
|
37 |
+
## Description
|
38 |
Prompt format is Llama2
|
39 |
```
|
40 |
<s>[INST] <<SYS>>
|
|
|
43 |
|
44 |
question [/INST]
|
45 |
```
|
|
|
46 |
System prompt:
|
|
|
47 |
You are a question answering assistant. Answer the question as truthful and helpful as possible คุณคือผู้ช่วยตอบคำถาม จงตอบคำถามอย่างถูกต้องและมีประโยชน์ที่สุด
|
48 |
|
49 |
## How to use
|
|
|
58 |
--header "Content-Type: application/json" \
|
59 |
--data '{"prompt": "<s>[INST] <<SYS>>\nYou are a question answering assistant. Answer the question as truthful and helpful as possible คุณคือผู้ช่วยตอบคำถาม จงตอบคำถามอย่างถูกต้องและมีประโยชน์ที่สุด\n<</SYS>>\n\nอยากลดความอ้วนต้องทำอย่างไร [/INST]","use_beam_search": false, "temperature": 0.1, "max_tokens": 512, "top_p": 0.75, "top_k": 40, "frequency_penalty": 0.3 "stop": "</s>"}'
|
60 |
```
|
61 |
+
|
62 |
+
### Authors
|
63 |
+
* Kobkrit Viriyayudhakorn ([email protected])
|
64 |
+
* Sumeth Yuenyong ([email protected])
|
65 |
+
* Thaweewat Rugsujarit ([email protected])
|
66 |
+
* Jillaphat Jaroenkantasima ([email protected])
|
67 |
+
* Norapat Buppodom ([email protected])
|
68 |
+
* Koravich Sangkaew ([email protected])
|
69 |
+
* Peerawat Rojratchadakorn ([email protected])
|
70 |
+
* Surapon Nonesung ([email protected])
|
71 |
+
* Chanon Utupon ([email protected])
|
72 |
+
* Sadhis Wongprayoon ([email protected])
|
73 |
+
* Nucharee Thongthungwong ([email protected])
|
74 |
+
* Chawakorn Phiantham ([email protected])
|
75 |
+
* Patteera Triamamornwooth ([email protected])
|
76 |
+
* Nattarika Juntarapaoraya ([email protected])
|
77 |
+
* Kriangkrai Saetan ([email protected])
|
78 |
+
* Pitikorn Khlaisamniang ([email protected])
|
79 |
+
|
80 |
+
<i>Disclaimer: Provided responses are not guaranteed.</i>
|