Text Generation
Transformers
Safetensors
Thai
English
qwen2
text-generation-inference
sft
trl
4-bit precision
bitsandbytes
LoRA
Fine-Tuning with LoRA
LLM
GenAI
NT GenAI
ntgenai
lahnmah
NT Thai GPT
ntthaigpt
medical
medtech
HealthGPT
หลานม่า
NT Academy
conversational
Inference Endpoints
4-bit precision
Upload Qwen2ForCausalLM
Browse files- README.md +9 -9
- adapter_config.json +7 -5
- adapter_model.safetensors +2 -2
- generation_config.json +6 -0
README.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
library_name: transformers
|
|
|
|
|
3 |
tags:
|
4 |
- text-generation-inference
|
5 |
- sft
|
@@ -15,15 +24,6 @@ tags:
|
|
15 |
- lahnmah
|
16 |
- NT Thai GPT
|
17 |
- ntthaigpt
|
18 |
-
datasets:
|
19 |
-
- Thaweewat/thai-med-pack
|
20 |
-
language:
|
21 |
-
- th
|
22 |
-
- en
|
23 |
-
base_model:
|
24 |
-
- openthaigpt/openthaigpt1.5-7b-instruct
|
25 |
-
pipeline_tag: text-generation
|
26 |
-
license: apache-2.0
|
27 |
new_version: Aekanun/openthaigpt-MedChatModelv5.1
|
28 |
---
|
29 |
|
|
|
1 |
---
|
2 |
+
base_model:
|
3 |
+
- openthaigpt/openthaigpt1.5-7b-instruct
|
4 |
+
datasets:
|
5 |
+
- Thaweewat/thai-med-pack
|
6 |
+
language:
|
7 |
+
- th
|
8 |
+
- en
|
9 |
library_name: transformers
|
10 |
+
license: apache-2.0
|
11 |
+
pipeline_tag: text-generation
|
12 |
tags:
|
13 |
- text-generation-inference
|
14 |
- sft
|
|
|
24 |
- lahnmah
|
25 |
- NT Thai GPT
|
26 |
- ntthaigpt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
new_version: Aekanun/openthaigpt-MedChatModelv5.1
|
28 |
---
|
29 |
|
adapter_config.json
CHANGED
@@ -11,18 +11,20 @@
|
|
11 |
"layers_pattern": null,
|
12 |
"layers_to_transform": null,
|
13 |
"loftq_config": {},
|
14 |
-
"lora_alpha":
|
15 |
-
"lora_dropout": 0.
|
16 |
"megatron_config": null,
|
17 |
"megatron_core": "megatron.core",
|
18 |
"modules_to_save": null,
|
19 |
"peft_type": "LORA",
|
20 |
-
"r":
|
21 |
"rank_pattern": {},
|
22 |
"revision": null,
|
23 |
"target_modules": [
|
24 |
-
"
|
25 |
-
"
|
|
|
|
|
26 |
],
|
27 |
"task_type": "CAUSAL_LM",
|
28 |
"use_dora": false,
|
|
|
11 |
"layers_pattern": null,
|
12 |
"layers_to_transform": null,
|
13 |
"loftq_config": {},
|
14 |
+
"lora_alpha": 16,
|
15 |
+
"lora_dropout": 0.7,
|
16 |
"megatron_config": null,
|
17 |
"megatron_core": "megatron.core",
|
18 |
"modules_to_save": null,
|
19 |
"peft_type": "LORA",
|
20 |
+
"r": 32,
|
21 |
"rank_pattern": {},
|
22 |
"revision": null,
|
23 |
"target_modules": [
|
24 |
+
"self_attn.q_proj",
|
25 |
+
"self_attn.o_proj",
|
26 |
+
"self_attn.v_proj",
|
27 |
+
"self_attn.k_proj"
|
28 |
],
|
29 |
"task_type": "CAUSAL_LM",
|
30 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c49279dfbd538e0234ae760cfa5179f32ab7a9c3562ff37ffd453f88388b76ab
|
3 |
+
size 80770432
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 151643,
|
4 |
+
"eos_token_id": 151645,
|
5 |
+
"transformers_version": "4.45.2"
|
6 |
+
}
|