TildeSIA commited on
Commit
bd85649
·
verified ·
1 Parent(s): 9722b2f

Upload folder using huggingface_hub

Browse files
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ .history*
2
+ .info
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 48,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": 48,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.005,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 65536,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 48,
19
+ "num_hidden_layers": 60,
20
+ "num_key_value_heads": 8,
21
+ "pad_token_id": 48,
22
+ "pretraining_tp": 1,
23
+ "quantization_config": {
24
+ "config_groups": {
25
+ "group_0": {
26
+ "format": "float-quantized",
27
+ "input_activations": {
28
+ "actorder": null,
29
+ "block_structure": null,
30
+ "dynamic": true,
31
+ "group_size": null,
32
+ "num_bits": 8,
33
+ "observer": null,
34
+ "observer_kwargs": {},
35
+ "scale_dtype": null,
36
+ "strategy": "token",
37
+ "symmetric": true,
38
+ "type": "float",
39
+ "zp_dtype": null
40
+ },
41
+ "output_activations": null,
42
+ "targets": [
43
+ "Linear"
44
+ ],
45
+ "weights": {
46
+ "actorder": null,
47
+ "block_structure": null,
48
+ "dynamic": false,
49
+ "group_size": null,
50
+ "num_bits": 8,
51
+ "observer": "memoryless_minmax",
52
+ "observer_kwargs": {},
53
+ "scale_dtype": null,
54
+ "strategy": "channel",
55
+ "symmetric": true,
56
+ "type": "float",
57
+ "zp_dtype": null
58
+ }
59
+ }
60
+ },
61
+ "format": "float-quantized",
62
+ "global_compression_ratio": null,
63
+ "ignore": [
64
+ "lm_head"
65
+ ],
66
+ "kv_cache_scheme": null,
67
+ "quant_method": "compressed-tensors",
68
+ "quantization_status": "compressed",
69
+ "sparsity_config": {},
70
+ "transform_config": {},
71
+ "version": "0.17.1"
72
+ },
73
+ "rms_norm_eps": 3e-06,
74
+ "rope_parameters": {
75
+ "attention_factor": 1.0,
76
+ "beta_fast": 32.0,
77
+ "beta_slow": 1.0,
78
+ "factor": 10.0,
79
+ "original_max_position_embeddings": 8192,
80
+ "rope_theta": 200000,
81
+ "rope_type": "yarn",
82
+ "type": "yarn"
83
+ },
84
+ "tie_word_embeddings": false,
85
+ "transformers_version": "5.10.1",
86
+ "use_cache": true,
87
+ "vocab_size": 131072
88
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 48,
4
+ "eos_token_id": 48,
5
+ "transformers_version": "5.10.1"
6
+ }
model.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f1255dbcb60721f8a1de89ab5e16e7d8702b8751ded3783c01108074f0a7d71
3
+ size 2316877
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb0487fe6dcbe5761aa5633196553b91f3332f9ced69fade0d2efd9c7dc58737
3
+ size 16246858184
model.vocab ADDED
The diff for this file is too large to render. See raw diff
 
recipe.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ default_stage:
2
+ default_modifiers:
3
+ QuantizationModifier:
4
+ targets: [Linear]
5
+ ignore: [lm_head]
6
+ scheme: FP8_DYNAMIC
7
+ bypass_divisibility_checks: false
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokenizer_class": "LlamaTokenizer",
3
+ "vocab_file": "model.model",
4
+ "model_max_length": 65536,
5
+ "add_prefix_space": false,
6
+ "legacy": true,
7
+ "use_chat_template": true,
8
+
9
+ "additional_special_tokens": ["<|system|>", "<|user|>", "<|assistant|>"],
10
+ "eos_token": "<|endoftext|>",
11
+ "add_generation_prompt": true,
12
+ "add_bos_token": false,
13
+ "add_eos_token": false,
14
+ "chat_template": "{% for m in messages %}{% if m.role == 'system' %}<|system|>{{ m.content | trim }}<|system|>{% elif m.role == 'user' %}<|user|>{{ m.content | trim }}<|user|>{% elif m.role == 'assistant' %}<|assistant|>{{ m.content | trim }}<|assistant|>{% endif %}{% endfor %}{% if add_generation_prompt and messages[-1].role != 'assistant' %}<|assistant|>{% endif %}"
15
+ }