Upload folder using huggingface_hub
Browse files- config.json +5 -5
- generation_config.json +1 -1
- model.safetensors +2 -2
- recipe.yaml +3 -3
- tokenizer.json +1 -0
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
@@ -29,7 +29,7 @@
|
|
| 29 |
}
|
| 30 |
},
|
| 31 |
"format": "pack-quantized",
|
| 32 |
-
"global_compression_ratio":
|
| 33 |
"ignore": [
|
| 34 |
"lm_head"
|
| 35 |
],
|
|
@@ -38,7 +38,7 @@
|
|
| 38 |
},
|
| 39 |
"sparsity_config": {
|
| 40 |
"format": "dense",
|
| 41 |
-
"global_sparsity": 19.
|
| 42 |
"registry_requires_subclass": false,
|
| 43 |
"sparsity_structure": "unstructured"
|
| 44 |
}
|
|
@@ -58,8 +58,8 @@
|
|
| 58 |
"rope_scaling": null,
|
| 59 |
"rope_theta": 10000.0,
|
| 60 |
"tie_word_embeddings": false,
|
| 61 |
-
"torch_dtype": "
|
| 62 |
-
"transformers_version": "4.
|
| 63 |
"use_cache": true,
|
| 64 |
"vocab_size": 32000
|
| 65 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--TinyLlama--TinyLlama-1.1B-intermediate-step-1431k-3T/snapshots/036fa4651240b9a1487f709833b9e4b96b4c1574",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
|
|
| 29 |
}
|
| 30 |
},
|
| 31 |
"format": "pack-quantized",
|
| 32 |
+
"global_compression_ratio": 1.891791164021256,
|
| 33 |
"ignore": [
|
| 34 |
"lm_head"
|
| 35 |
],
|
|
|
|
| 38 |
},
|
| 39 |
"sparsity_config": {
|
| 40 |
"format": "dense",
|
| 41 |
+
"global_sparsity": 19.098103233975568,
|
| 42 |
"registry_requires_subclass": false,
|
| 43 |
"sparsity_structure": "unstructured"
|
| 44 |
}
|
|
|
|
| 58 |
"rope_scaling": null,
|
| 59 |
"rope_theta": 10000.0,
|
| 60 |
"tie_word_embeddings": false,
|
| 61 |
+
"torch_dtype": "bfloat16",
|
| 62 |
+
"transformers_version": "4.40.0",
|
| 63 |
"use_cache": true,
|
| 64 |
"vocab_size": 32000
|
| 65 |
}
|
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": "4.
|
| 7 |
}
|
|
|
|
| 3 |
"eos_token_id": 2,
|
| 4 |
"max_length": 2048,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.40.0"
|
| 7 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:926e8c101497f34c5268f8958da0a2e65770e45664fed12838c0c9a495ef0cba
|
| 3 |
+
size 747618312
|
recipe.yaml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
-
|
| 2 |
quant_modifiers:
|
| 3 |
-
|
|
|
|
| 4 |
ignore: [lm_head]
|
| 5 |
config_groups:
|
| 6 |
group_0:
|
| 7 |
weights: {num_bits: 4, type: int, symmetric: true, strategy: channel}
|
| 8 |
targets: [Linear]
|
| 9 |
-
SparseGPTModifier: {sparsity: 0.0, quantize: true, sequential_update: false}
|
|
|
|
| 1 |
+
quant_stage:
|
| 2 |
quant_modifiers:
|
| 3 |
+
GPTQModifier:
|
| 4 |
+
sequential_update: false
|
| 5 |
ignore: [lm_head]
|
| 6 |
config_groups:
|
| 7 |
group_0:
|
| 8 |
weights: {num_bits: 4, type: int, symmetric: true, strategy: channel}
|
| 9 |
targets: [Linear]
|
|
|
tokenizer.json
CHANGED
|
@@ -134,6 +134,7 @@
|
|
| 134 |
"end_of_word_suffix": null,
|
| 135 |
"fuse_unk": true,
|
| 136 |
"byte_fallback": true,
|
|
|
|
| 137 |
"vocab": {
|
| 138 |
"<unk>": 0,
|
| 139 |
"<s>": 1,
|
|
|
|
| 134 |
"end_of_word_suffix": null,
|
| 135 |
"fuse_unk": true,
|
| 136 |
"byte_fallback": true,
|
| 137 |
+
"ignore_merges": false,
|
| 138 |
"vocab": {
|
| 139 |
"<unk>": 0,
|
| 140 |
"<s>": 1,
|