Upload LlamaForCausalLM
Browse files- config.json +48 -0
- generation_config.json +10 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "merged_model",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 11008,
|
12 |
+
"max_position_embeddings": 4096,
|
13 |
+
"model_type": "llama",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 32,
|
16 |
+
"num_key_value_heads": 32,
|
17 |
+
"pretraining_tp": 1,
|
18 |
+
"quantization_config": {
|
19 |
+
"batch_size": 1,
|
20 |
+
"bits": 4,
|
21 |
+
"block_name_to_quantize": "model.layers",
|
22 |
+
"damp_percent": 0.1,
|
23 |
+
"dataset": [
|
24 |
+
"c4"
|
25 |
+
],
|
26 |
+
"desc_act": false,
|
27 |
+
"disable_exllama": false,
|
28 |
+
"group_size": 128,
|
29 |
+
"model_seqlen": 4096,
|
30 |
+
"module_name_preceding_first_block": [
|
31 |
+
"model.embed_tokens"
|
32 |
+
],
|
33 |
+
"pad_token_id": null,
|
34 |
+
"quant_method": "gptq",
|
35 |
+
"sym": true,
|
36 |
+
"tokenizer": null,
|
37 |
+
"true_sequential": true,
|
38 |
+
"use_cuda_fp16": true
|
39 |
+
},
|
40 |
+
"rms_norm_eps": 1e-05,
|
41 |
+
"rope_scaling": null,
|
42 |
+
"rope_theta": 10000.0,
|
43 |
+
"tie_word_embeddings": false,
|
44 |
+
"torch_dtype": "float16",
|
45 |
+
"transformers_version": "4.33.0.dev0",
|
46 |
+
"use_cache": true,
|
47 |
+
"vocab_size": 32000
|
48 |
+
}
|
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.33.0.dev0"
|
10 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35fec99699d0b4bdcf28836be65e75276fad1244afebd77515935a792ed7672d
|
3 |
+
size 3896979412
|