Upload LlamaForCausalLM
Browse files- config.json +12 -13
- generation_config.json +2 -3
- model.safetensors +3 -0
config.json
CHANGED
@@ -1,29 +1,28 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/finetuning-subnet/local-models/training/2024-02-
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
-
"eos_token_id":
|
10 |
"hidden_act": "silu",
|
11 |
-
"hidden_size":
|
12 |
-
"initializer_range": 0.
|
13 |
-
"intermediate_size":
|
14 |
-
"max_position_embeddings":
|
15 |
"model_type": "llama",
|
16 |
-
"num_attention_heads":
|
17 |
-
"num_hidden_layers":
|
18 |
-
"num_key_value_heads":
|
19 |
"pretraining_tp": 1,
|
20 |
-
"rms_norm_eps": 1e-
|
21 |
"rope_scaling": null,
|
22 |
"rope_theta": 10000.0,
|
23 |
-
"sliding_window": 4096,
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
"transformers_version": "4.36.2",
|
27 |
-
"use_cache":
|
28 |
-
"vocab_size":
|
29 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/finetuning-subnet/local-models/training/2024-02-02_01-44-09",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4,
|
12 |
+
"initializer_range": 0.0,
|
13 |
+
"intermediate_size": 4,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
"model_type": "llama",
|
16 |
+
"num_attention_heads": 1,
|
17 |
+
"num_hidden_layers": 4,
|
18 |
+
"num_key_value_heads": 1,
|
19 |
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-06,
|
21 |
"rope_scaling": null,
|
22 |
"rope_theta": 10000.0,
|
|
|
23 |
"tie_word_embeddings": false,
|
24 |
"torch_dtype": "bfloat16",
|
25 |
"transformers_version": "4.36.2",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 32000
|
28 |
}
|
generation_config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
-
"eos_token_id":
|
5 |
-
"transformers_version": "4.36.2"
|
6 |
-
"use_cache": false
|
7 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.36.2"
|
|
|
6 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1dd1f04ba6a6594915c590313ace9321f03fb0f04aeb3f4d4e25185b7b16d5c
|
3 |
+
size 516936
|