bnjmnmarie
commited on
Commit
•
68fee01
1
Parent(s):
8e92292
Upload LlamaForCausalLM
Browse files- config.json +60 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./AutoRound/Llama-3.1-Minitron-4B-Width-Base-AutoRound-GPTQ-sym-4bit/",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128001,
|
10 |
+
"head_dim": 128,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 3072,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 9216,
|
15 |
+
"max_position_embeddings": 131072,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"quantization_config": {
|
23 |
+
"batch_size": 1,
|
24 |
+
"bits": 4,
|
25 |
+
"block_name_to_quantize": null,
|
26 |
+
"cache_block_outputs": true,
|
27 |
+
"damp_percent": 0.01,
|
28 |
+
"dataset": null,
|
29 |
+
"desc_act": false,
|
30 |
+
"exllama_config": {
|
31 |
+
"version": 1
|
32 |
+
},
|
33 |
+
"group_size": 128,
|
34 |
+
"max_input_length": null,
|
35 |
+
"model_seqlen": null,
|
36 |
+
"module_name_preceding_first_block": null,
|
37 |
+
"modules_in_block_to_quantize": null,
|
38 |
+
"pad_token_id": null,
|
39 |
+
"quant_method": "gptq",
|
40 |
+
"sym": true,
|
41 |
+
"tokenizer": null,
|
42 |
+
"true_sequential": false,
|
43 |
+
"use_cuda_fp16": false,
|
44 |
+
"use_exllama": true
|
45 |
+
},
|
46 |
+
"rms_norm_eps": 1e-05,
|
47 |
+
"rope_scaling": {
|
48 |
+
"factor": 8.0,
|
49 |
+
"high_freq_factor": 4.0,
|
50 |
+
"low_freq_factor": 1.0,
|
51 |
+
"original_max_position_embeddings": 8192,
|
52 |
+
"rope_type": "llama3"
|
53 |
+
},
|
54 |
+
"rope_theta": 500000.0,
|
55 |
+
"tie_word_embeddings": false,
|
56 |
+
"torch_dtype": "float16",
|
57 |
+
"transformers_version": "4.45.0.dev0",
|
58 |
+
"use_cache": true,
|
59 |
+
"vocab_size": 128256
|
60 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"eos_token_id": 128001,
|
5 |
+
"transformers_version": "4.45.0.dev0"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f431f9303547fedfdbbc94143b7647003e63d484891614e0a4a52a43c9eab8b
|
3 |
+
size 3515202736
|