Upload folder using huggingface_hub (#1)
Browse files- bc160b35d344475691b09b367555537c1566ea80e9bcd66cf7930e3bfb4cc76b (48ee4054d5cea94cd586f60dd93ec875ec354aff)
- 8ec12a9804c05e52ce31216a2899d46698ea3a3dce93fbe424e680e3e4664f66 (38f318effd1abdf3591888298a71be2db0c70f45)
- config.json +40 -0
- generation_config.json +11 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
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": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 11008,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 32,
|
19 |
+
"num_key_value_heads": 32,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"quip_params": {
|
22 |
+
"K": 4,
|
23 |
+
"L": 16,
|
24 |
+
"V": 2,
|
25 |
+
"codebook": "bitshift",
|
26 |
+
"codebook_version": 0,
|
27 |
+
"decode_mode": "quantlut_sym",
|
28 |
+
"td_x": 16,
|
29 |
+
"td_y": 16,
|
30 |
+
"tlut_bits": 9
|
31 |
+
},
|
32 |
+
"rms_norm_eps": 1e-05,
|
33 |
+
"rope_scaling": null,
|
34 |
+
"rope_theta": 10000.0,
|
35 |
+
"tie_word_embeddings": false,
|
36 |
+
"torch_dtype": "float16",
|
37 |
+
"transformers_version": "4.44.2",
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 32000
|
40 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"attn_implementation": "sdpa",
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"max_length": 4096,
|
7 |
+
"pad_token_id": 0,
|
8 |
+
"temperature": 0.6,
|
9 |
+
"top_p": 0.9,
|
10 |
+
"transformers_version": "4.44.2"
|
11 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a6b031c5910133067fd4672f153e1e4bf216620b50c122b40888b02bccc81e0
|
3 |
+
size 3768383152
|