Upload folder using huggingface_hub
Browse files- config.json +8 -6
- generation_config.json +1 -1
- model.safetensors +1 -1
- recipe.yaml +1 -2
- tokenizer.json +6 -1
- tokenizer.model +3 -0
- tokenizer_config.json +1 -0
config.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
-
"
|
10 |
"config_groups": {
|
11 |
"group_0": {
|
12 |
"input_activations": null,
|
@@ -28,15 +28,16 @@
|
|
28 |
}
|
29 |
},
|
30 |
"format": "pack-quantized",
|
31 |
-
"global_compression_ratio": 1.
|
32 |
"ignore": [
|
33 |
"lm_head"
|
34 |
],
|
35 |
-
"
|
|
|
36 |
"quantization_status": "frozen",
|
37 |
"sparsity_config": {
|
38 |
"format": "dense",
|
39 |
-
"global_sparsity":
|
40 |
"registry_requires_subclass": false,
|
41 |
"sparsity_structure": "unstructured"
|
42 |
}
|
@@ -47,6 +48,7 @@
|
|
47 |
"initializer_range": 0.02,
|
48 |
"intermediate_size": 5632,
|
49 |
"max_position_embeddings": 2048,
|
|
|
50 |
"model_type": "llama",
|
51 |
"num_attention_heads": 32,
|
52 |
"num_hidden_layers": 22,
|
@@ -57,7 +59,7 @@
|
|
57 |
"rope_theta": 10000.0,
|
58 |
"tie_word_embeddings": false,
|
59 |
"torch_dtype": "float16",
|
60 |
-
"transformers_version": "4.
|
61 |
"use_cache": true,
|
62 |
"vocab_size": 32000
|
63 |
-
}
|
|
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
+
"compression_config": {
|
10 |
"config_groups": {
|
11 |
"group_0": {
|
12 |
"input_activations": null,
|
|
|
28 |
}
|
29 |
},
|
30 |
"format": "pack-quantized",
|
31 |
+
"global_compression_ratio": 1.883165566487463,
|
32 |
"ignore": [
|
33 |
"lm_head"
|
34 |
],
|
35 |
+
"kv_cache_scheme": null,
|
36 |
+
"quant_method": "compressed_tensors",
|
37 |
"quantization_status": "frozen",
|
38 |
"sparsity_config": {
|
39 |
"format": "dense",
|
40 |
+
"global_sparsity": 0.14355486953221844,
|
41 |
"registry_requires_subclass": false,
|
42 |
"sparsity_structure": "unstructured"
|
43 |
}
|
|
|
48 |
"initializer_range": 0.02,
|
49 |
"intermediate_size": 5632,
|
50 |
"max_position_embeddings": 2048,
|
51 |
+
"mlp_bias": false,
|
52 |
"model_type": "llama",
|
53 |
"num_attention_heads": 32,
|
54 |
"num_hidden_layers": 22,
|
|
|
59 |
"rope_theta": 10000.0,
|
60 |
"tie_word_embeddings": false,
|
61 |
"torch_dtype": "float16",
|
62 |
+
"transformers_version": "4.44.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.44.0"
|
7 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 761968600
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:086986a21cf81dc1feebf9a0df17a49a3928aa987ba57b508b5c6a129ff3771e
|
3 |
size 761968600
|
recipe.yaml
CHANGED
@@ -1,9 +1,8 @@
|
|
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,
|
9 |
targets: [Linear]
|
|
|
1 |
quant_stage:
|
2 |
quant_modifiers:
|
3 |
GPTQModifier:
|
|
|
4 |
ignore: [lm_head]
|
5 |
config_groups:
|
6 |
group_0:
|
7 |
+
weights: {num_bits: 4, strategy: group, group_size: 128}
|
8 |
targets: [Linear]
|
tokenizer.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": null,
|
5 |
"added_tokens": [
|
6 |
{
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 2048,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
"padding": null,
|
10 |
"added_tokens": [
|
11 |
{
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
|
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<unk>",
|
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
"added_tokens_decoder": {
|
6 |
"0": {
|
7 |
"content": "<unk>",
|