Upload folder using huggingface_hub
Browse files- config.json +7 -1
- generation_config.json +1 -1
- model.safetensors +1 -1
- recipe.yaml +1 -0
- tokenizer_config.json +1 -0
config.json
CHANGED
@@ -35,6 +35,12 @@
|
|
35 |
],
|
36 |
"quant_method": "sparseml",
|
37 |
"quantization_status": "frozen"
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
}
|
39 |
},
|
40 |
"eos_token_id": 2,
|
@@ -53,7 +59,7 @@
|
|
53 |
"rope_theta": 10000.0,
|
54 |
"tie_word_embeddings": false,
|
55 |
"torch_dtype": "float32",
|
56 |
-
"transformers_version": "4.39.
|
57 |
"use_cache": true,
|
58 |
"vocab_size": 32000
|
59 |
}
|
|
|
35 |
],
|
36 |
"quant_method": "sparseml",
|
37 |
"quantization_status": "frozen"
|
38 |
+
},
|
39 |
+
"sparsity_config": {
|
40 |
+
"format": "dense",
|
41 |
+
"global_sparsity": 19.09593405666055,
|
42 |
+
"registry_requires_subclass": false,
|
43 |
+
"sparsity_structure": "0:0"
|
44 |
}
|
45 |
},
|
46 |
"eos_token_id": 2,
|
|
|
59 |
"rope_theta": 10000.0,
|
60 |
"tie_word_embeddings": false,
|
61 |
"torch_dtype": "float32",
|
62 |
+
"transformers_version": "4.39.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.39.
|
7 |
}
|
|
|
3 |
"eos_token_id": 2,
|
4 |
"max_length": 2048,
|
5 |
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.39.0"
|
7 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1495571128
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35fcba00ec35e8386a0c121dee5e81ef7dcc037e0fd891ffae6335a5faaa8fcc
|
3 |
size 1495571128
|
recipe.yaml
CHANGED
@@ -6,3 +6,4 @@ test_stage:
|
|
6 |
group_0:
|
7 |
weights: {num_bits: 4, type: int, symmetric: true, strategy: channel}
|
8 |
targets: [Linear]
|
|
|
|
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}
|
tokenizer_config.json
CHANGED
@@ -28,6 +28,7 @@
|
|
28 |
}
|
29 |
},
|
30 |
"bos_token": "<s>",
|
|
|
31 |
"clean_up_tokenization_spaces": false,
|
32 |
"eos_token": "</s>",
|
33 |
"legacy": false,
|
|
|
28 |
}
|
29 |
},
|
30 |
"bos_token": "<s>",
|
31 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
32 |
"clean_up_tokenization_spaces": false,
|
33 |
"eos_token": "</s>",
|
34 |
"legacy": false,
|