Upload LlamaForCausalLM
Browse files- README.md +1 -1
- config.json +39 -0
- generation_config.json +10 -0
- model.safetensors +3 -0
README.md
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
license: mit
|
3 |
tags:
|
4 |
- code
|
5 |
-
---
|
|
|
2 |
license: mit
|
3 |
tags:
|
4 |
- code
|
5 |
+
---
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "C:\\Users\\Infogen\\Downloads\\modified_config.json",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": [
|
10 |
+
128001,
|
11 |
+
128008,
|
12 |
+
128009
|
13 |
+
],
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 576,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 1536,
|
18 |
+
"max_position_embeddings": 8192,
|
19 |
+
"mlp_bias": false,
|
20 |
+
"model_type": "llama",
|
21 |
+
"num_attention_heads": 9,
|
22 |
+
"num_hidden_layers": 30,
|
23 |
+
"num_key_value_heads": 3,
|
24 |
+
"pretraining_tp": 1,
|
25 |
+
"rms_norm_eps": 1e-05,
|
26 |
+
"rope_scaling": {
|
27 |
+
"factor": 8.0,
|
28 |
+
"high_freq_factor": 4.0,
|
29 |
+
"low_freq_factor": 1.0,
|
30 |
+
"original_max_position_embeddings": 4096,
|
31 |
+
"rope_type": "llama3"
|
32 |
+
},
|
33 |
+
"rope_theta": 10000.0,
|
34 |
+
"tie_word_embeddings": true,
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.44.0",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 128256
|
39 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"eos_token_id": [
|
5 |
+
128001,
|
6 |
+
128008,
|
7 |
+
128009
|
8 |
+
],
|
9 |
+
"transformers_version": "4.44.0"
|
10 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc5e50cd0a3a83db195121daa5fd6e26a87b8024a650cb8a4f8dda98ff018c46
|
3 |
+
size 720346024
|