Upload LlamaForCausalLM
Browse files- config.json +36 -0
- generation_config.json +10 -0
- pytorch_model-00001-of-00002.bin +3 -0
- pytorch_model-00002-of-00002.bin +3 -0
- pytorch_model.bin.index.json +0 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
3 |
+
"adapter_dim": 64,
|
4 |
+
"architectures": [
|
5 |
+
"LlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "configuration_camelidae.CamelidaeConfig",
|
9 |
+
"AutoModelForCausalLM": "modeling_camelidae.LlamaForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"eos_token_id": 2,
|
13 |
+
"hidden_act": "silu",
|
14 |
+
"hidden_size": 4096,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 11008,
|
17 |
+
"max_position_embeddings": 4096,
|
18 |
+
"model_type": "llama",
|
19 |
+
"moe_dtype": "bfloat16",
|
20 |
+
"moe_scaling": 0.25,
|
21 |
+
"num_attention_heads": 32,
|
22 |
+
"num_clusters": 10,
|
23 |
+
"num_experts": 8,
|
24 |
+
"num_hidden_layers": 32,
|
25 |
+
"num_key_value_heads": 32,
|
26 |
+
"output_router_logits": false,
|
27 |
+
"pretraining_tp": 1,
|
28 |
+
"rms_norm_eps": 1e-05,
|
29 |
+
"rope_scaling": null,
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"topk": 2,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.34.0.dev0",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 32000
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"max_length": 4096,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"temperature": 0.6,
|
8 |
+
"top_p": 0.9,
|
9 |
+
"transformers_version": "4.34.0.dev0"
|
10 |
+
}
|
pytorch_model-00001-of-00002.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:863b81c25a1f775d5a3b3c8efa6b9db61f166cac3873fed0207b0cdb2963917c
|
3 |
+
size 10000845059
|
pytorch_model-00002-of-00002.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c55395b1b4ed23496149c0854237f9ebcc869a32f38157d9ed89eed2a41a11f9
|
3 |
+
size 6183463067
|
pytorch_model.bin.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|