MaxJeblick
commited on
Commit
•
f5f6db7
1
Parent(s):
1dca77f
Upload LlamaForCausalLM
Browse files- config.json +27 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "h2oai/h2ogpt-4096-llama2-7b-chat",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 12,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 24,
|
13 |
+
"max_position_embeddings": 32,
|
14 |
+
"model_type": "llama",
|
15 |
+
"num_attention_heads": 2,
|
16 |
+
"num_hidden_layers": 2,
|
17 |
+
"num_key_value_heads": 2,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"rope_theta": 10000.0,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.34.0",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 100
|
27 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.34.0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3138ce1b2e5560f7107d1ab0acf82bbde804de1e3f9f1d0884de8a3ec4c898a7
|
3 |
+
size 27696
|