Upload folder using huggingface_hub
Browse files- config.json +39 -0
- generation_config.json +12 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "XVERSE-7B/",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"eos_token_id": 3,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 11008,
|
13 |
+
"max_position_embeddings": 8192,
|
14 |
+
"max_tokenizer_truncation": 6144,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 32,
|
19 |
+
"pad_token_id": 1,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"quip_params": {
|
22 |
+
"codebook": "E8P12",
|
23 |
+
"codesz": 8,
|
24 |
+
"fused": true,
|
25 |
+
"idx_dtype": "torch.int16",
|
26 |
+
"lora_rank": 0,
|
27 |
+
"outlier_channel_split": false,
|
28 |
+
"packsz": 1,
|
29 |
+
"rescale_WH": false
|
30 |
+
},
|
31 |
+
"rms_norm_eps": 1e-06,
|
32 |
+
"rope_scaling": null,
|
33 |
+
"rope_theta": 10000.0,
|
34 |
+
"tie_word_embeddings": false,
|
35 |
+
"torch_dtype": "float16",
|
36 |
+
"transformers_version": "4.34.0",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 100534
|
39 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 2,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 3,
|
5 |
+
"max_new_tokens": 2048,
|
6 |
+
"pad_token_id": 1,
|
7 |
+
"repetition_penalty": 1.1,
|
8 |
+
"temperature": 0.5,
|
9 |
+
"top_k": 30,
|
10 |
+
"top_p": 0.85,
|
11 |
+
"transformers_version": "4.34.0"
|
12 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8fc552decc46a8ea0404fdf564033fa44fad9df73c0e030b0a58e4dfbdf06b6
|
3 |
+
size 3270993936
|