Upload LlamaForCausalLM
Browse files- config.json +25 -18
- generation_config.json +5 -10
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,21 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
|
|
6 |
"attention_dropout": 0.0,
|
7 |
-
"bos_token_id":
|
8 |
-
"eos_token_id":
|
|
|
9 |
"hidden_act": "silu",
|
10 |
-
"hidden_size":
|
11 |
"initializer_range": 0.02,
|
12 |
-
"intermediate_size":
|
13 |
-
"max_position_embeddings":
|
14 |
-
"
|
15 |
-
"model_type": "
|
16 |
-
"num_attention_heads":
|
17 |
-
"num_hidden_layers":
|
18 |
-
"num_key_value_heads":
|
|
|
19 |
"quantization_config": {
|
20 |
"_load_in_4bit": true,
|
21 |
"_load_in_8bit": false,
|
@@ -31,14 +34,18 @@
|
|
31 |
"load_in_8bit": false,
|
32 |
"quant_method": "bitsandbytes"
|
33 |
},
|
34 |
-
"rms_norm_eps": 1e-
|
35 |
-
"rope_scaling":
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
38 |
"tie_word_embeddings": true,
|
39 |
"torch_dtype": "float32",
|
40 |
"transformers_version": "4.46.3",
|
41 |
"use_cache": true,
|
42 |
-
"
|
43 |
-
"vocab_size": 151936
|
44 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-3.2-1B",
|
3 |
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
],
|
6 |
+
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128001,
|
10 |
+
"head_dim": 64,
|
11 |
"hidden_act": "silu",
|
12 |
+
"hidden_size": 2048,
|
13 |
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 8192,
|
15 |
+
"max_position_embeddings": 131072,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 16,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pretraining_tp": 1,
|
22 |
"quantization_config": {
|
23 |
"_load_in_4bit": true,
|
24 |
"_load_in_8bit": false,
|
|
|
34 |
"load_in_8bit": false,
|
35 |
"quant_method": "bitsandbytes"
|
36 |
},
|
37 |
+
"rms_norm_eps": 1e-05,
|
38 |
+
"rope_scaling": {
|
39 |
+
"factor": 32.0,
|
40 |
+
"high_freq_factor": 4.0,
|
41 |
+
"low_freq_factor": 1.0,
|
42 |
+
"original_max_position_embeddings": 8192,
|
43 |
+
"rope_type": "llama3"
|
44 |
+
},
|
45 |
+
"rope_theta": 500000.0,
|
46 |
"tie_word_embeddings": true,
|
47 |
"torch_dtype": "float32",
|
48 |
"transformers_version": "4.46.3",
|
49 |
"use_cache": true,
|
50 |
+
"vocab_size": 128256
|
|
|
51 |
}
|
generation_config.json
CHANGED
@@ -1,14 +1,9 @@
|
|
1 |
{
|
2 |
-
"
|
|
|
3 |
"do_sample": true,
|
4 |
-
"eos_token_id":
|
5 |
-
|
6 |
-
|
7 |
-
],
|
8 |
-
"pad_token_id": 151643,
|
9 |
-
"repetition_penalty": 1.1,
|
10 |
-
"temperature": 0.7,
|
11 |
-
"top_k": 20,
|
12 |
-
"top_p": 0.8,
|
13 |
"transformers_version": "4.46.3"
|
14 |
}
|
|
|
1 |
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
"do_sample": true,
|
5 |
+
"eos_token_id": 128001,
|
6 |
+
"temperature": 0.6,
|
7 |
+
"top_p": 0.9,
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"transformers_version": "4.46.3"
|
9 |
}
|
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:dd42fbf9239b7b4c95edc38b191f3aea4cd745bf50fc24b5f4966d157be848e1
|
3 |
+
size 1553151900
|