model upload
Browse files- adapter_config.json +5 -5
- adapter_model.bin +3 -0
- config.json +5 -38
adapter_config.json
CHANGED
@@ -20,13 +20,13 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
-
"
|
24 |
-
"q_proj",
|
25 |
-
"v_proj",
|
26 |
"up_proj",
|
27 |
"gate_proj",
|
28 |
-
"
|
29 |
-
"
|
|
|
|
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
+
"k_proj",
|
|
|
|
|
24 |
"up_proj",
|
25 |
"gate_proj",
|
26 |
+
"down_proj",
|
27 |
+
"v_proj",
|
28 |
+
"o_proj",
|
29 |
+
"q_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d04ecefecf415aaae5ddcd4b32657db126bfc5614bc4824ee4ad0dbce5e834f
|
3 |
+
size 167934026
|
config.json
CHANGED
@@ -1,43 +1,10 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "defog/llama-3-sqlcoder-8b",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"attention_bias": false,
|
7 |
-
"attention_dropout": 0.0,
|
8 |
-
"bos_token_id": 128000,
|
9 |
-
"eos_token_id": 128001,
|
10 |
-
"hidden_act": "silu",
|
11 |
-
"hidden_size": 4096,
|
12 |
-
"initializer_range": 0.02,
|
13 |
-
"intermediate_size": 14336,
|
14 |
-
"max_position_embeddings": 8192,
|
15 |
-
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"pretraining_tp": 1,
|
22 |
-
"quantization_config": {
|
23 |
-
"bnb_4bit_compute_dtype": "float16",
|
24 |
-
"bnb_4bit_quant_type": "nf4",
|
25 |
-
"bnb_4bit_use_double_quant": true,
|
26 |
-
"llm_int8_enable_fp32_cpu_offload": false,
|
27 |
-
"llm_int8_has_fp16_weight": false,
|
28 |
-
"llm_int8_skip_modules": null,
|
29 |
-
"llm_int8_threshold": 6.0,
|
30 |
-
"load_in_4bit": true,
|
31 |
-
"load_in_8bit": false,
|
32 |
-
"quant_method": "bitsandbytes"
|
33 |
-
},
|
34 |
-
"rms_norm_eps": 1e-05,
|
35 |
-
"rope_scaling": null,
|
36 |
-
"rope_theta": 500000.0,
|
37 |
-
"tie_word_embeddings": false,
|
38 |
-
"torch_dtype": "float16",
|
39 |
-
"transformers_version": "4.44.2",
|
40 |
-
"unsloth_version": "2024.9",
|
41 |
-
"use_cache": true,
|
42 |
-
"vocab_size": 128256
|
43 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
+
"defog/llama-3-sqlcoder-8b"
|
4 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"model_type": "llama",
|
6 |
+
"task": "question-answering",
|
7 |
+
"language": "th",
|
8 |
+
"max_sequence_length": 2048,
|
9 |
+
"do_sample": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
}
|