Upload folder using huggingface_hub
Browse files- config.json +18 -7
- generation_config.json +1 -1
- model.safetensors +1 -1
- recipe.yaml +13 -3
config.json
CHANGED
|
@@ -3,17 +3,22 @@
|
|
| 3 |
"LlamaForCausalLM"
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
|
|
|
| 6 |
"bos_token_id": 1,
|
|
|
|
| 7 |
"eos_token_id": 2,
|
|
|
|
| 8 |
"hidden_act": "silu",
|
| 9 |
"hidden_size": 2048,
|
| 10 |
"initializer_range": 0.02,
|
| 11 |
"intermediate_size": 5632,
|
| 12 |
"max_position_embeddings": 2048,
|
|
|
|
| 13 |
"model_type": "llama",
|
| 14 |
"num_attention_heads": 32,
|
| 15 |
"num_hidden_layers": 22,
|
| 16 |
"num_key_value_heads": 4,
|
|
|
|
| 17 |
"pretraining_tp": 1,
|
| 18 |
"quantization_config": {
|
| 19 |
"config_groups": {},
|
|
@@ -21,26 +26,32 @@
|
|
| 21 |
"global_compression_ratio": null,
|
| 22 |
"ignore": [],
|
| 23 |
"kv_cache_scheme": {
|
|
|
|
|
|
|
| 24 |
"dynamic": false,
|
| 25 |
"group_size": null,
|
| 26 |
"num_bits": 8,
|
|
|
|
|
|
|
|
|
|
| 27 |
"strategy": "tensor",
|
| 28 |
"symmetric": true,
|
| 29 |
-
"type": "float"
|
|
|
|
| 30 |
},
|
| 31 |
-
"moe_sparsity_config": null,
|
| 32 |
"quant_method": "compressed-tensors",
|
| 33 |
"quantization_status": "compressed",
|
| 34 |
"sparsity_config": {},
|
| 35 |
"transform_config": {},
|
| 36 |
-
"version": "0.
|
| 37 |
},
|
| 38 |
"rms_norm_eps": 1e-05,
|
| 39 |
-
"
|
| 40 |
-
|
|
|
|
|
|
|
| 41 |
"tie_word_embeddings": false,
|
| 42 |
-
"
|
| 43 |
-
"transformers_version": "4.35.0",
|
| 44 |
"use_cache": true,
|
| 45 |
"vocab_size": 32000
|
| 46 |
}
|
|
|
|
| 3 |
"LlamaForCausalLM"
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
"bos_token_id": 1,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
"eos_token_id": 2,
|
| 10 |
+
"head_dim": 64,
|
| 11 |
"hidden_act": "silu",
|
| 12 |
"hidden_size": 2048,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
"intermediate_size": 5632,
|
| 15 |
"max_position_embeddings": 2048,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
"model_type": "llama",
|
| 18 |
"num_attention_heads": 32,
|
| 19 |
"num_hidden_layers": 22,
|
| 20 |
"num_key_value_heads": 4,
|
| 21 |
+
"pad_token_id": null,
|
| 22 |
"pretraining_tp": 1,
|
| 23 |
"quantization_config": {
|
| 24 |
"config_groups": {},
|
|
|
|
| 26 |
"global_compression_ratio": null,
|
| 27 |
"ignore": [],
|
| 28 |
"kv_cache_scheme": {
|
| 29 |
+
"actorder": null,
|
| 30 |
+
"block_structure": null,
|
| 31 |
"dynamic": false,
|
| 32 |
"group_size": null,
|
| 33 |
"num_bits": 8,
|
| 34 |
+
"observer": "memoryless_minmax",
|
| 35 |
+
"observer_kwargs": {},
|
| 36 |
+
"scale_dtype": null,
|
| 37 |
"strategy": "tensor",
|
| 38 |
"symmetric": true,
|
| 39 |
+
"type": "float",
|
| 40 |
+
"zp_dtype": null
|
| 41 |
},
|
|
|
|
| 42 |
"quant_method": "compressed-tensors",
|
| 43 |
"quantization_status": "compressed",
|
| 44 |
"sparsity_config": {},
|
| 45 |
"transform_config": {},
|
| 46 |
+
"version": "0.17.1"
|
| 47 |
},
|
| 48 |
"rms_norm_eps": 1e-05,
|
| 49 |
+
"rope_parameters": {
|
| 50 |
+
"rope_theta": 10000.0,
|
| 51 |
+
"rope_type": "default"
|
| 52 |
+
},
|
| 53 |
"tie_word_embeddings": false,
|
| 54 |
+
"transformers_version": "5.10.1",
|
|
|
|
| 55 |
"use_cache": true,
|
| 56 |
"vocab_size": 32000
|
| 57 |
}
|
generation_config.json
CHANGED
|
@@ -3,5 +3,5 @@
|
|
| 3 |
"eos_token_id": 2,
|
| 4 |
"max_length": 2048,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
-
"transformers_version": "5.
|
| 7 |
}
|
|
|
|
| 3 |
"eos_token_id": 2,
|
| 4 |
"max_length": 2048,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "5.10.1"
|
| 7 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2200124472
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa460fb1f3728b5138bf2cc4d9cedc3c918476785b44d8c04466356d5784f850
|
| 3 |
size 2200124472
|
recipe.yaml
CHANGED
|
@@ -3,7 +3,17 @@ quant_stage:
|
|
| 3 |
QuantizationModifier:
|
| 4 |
targets: [Linear]
|
| 5 |
ignore: []
|
| 6 |
-
kv_cache_scheme:
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
bypass_divisibility_checks: false
|
| 9 |
-
requires_calibration_data: true
|
|
|
|
| 3 |
QuantizationModifier:
|
| 4 |
targets: [Linear]
|
| 5 |
ignore: []
|
| 6 |
+
kv_cache_scheme:
|
| 7 |
+
num_bits: 8
|
| 8 |
+
type: float
|
| 9 |
+
symmetric: true
|
| 10 |
+
group_size: null
|
| 11 |
+
strategy: tensor
|
| 12 |
+
block_structure: null
|
| 13 |
+
dynamic: false
|
| 14 |
+
actorder: null
|
| 15 |
+
scale_dtype: null
|
| 16 |
+
zp_dtype: null
|
| 17 |
+
observer: memoryless_minmax
|
| 18 |
+
observer_kwargs: {}
|
| 19 |
bypass_divisibility_checks: false
|
|
|