nm-autobot commited on
Commit
e4dd6a8
·
verified ·
1 Parent(s): b9398d2

Upload folder using huggingface_hub

Browse files
chat_template.jinja ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}
2
+ {% if message['role'] == 'user' %}
3
+ {{ '<|user|>
4
+ ' + message['content'] + eos_token }}
5
+ {% elif message['role'] == 'system' %}
6
+ {{ '<|system|>
7
+ ' + message['content'] + eos_token }}
8
+ {% elif message['role'] == 'assistant' %}
9
+ {{ '<|assistant|>
10
+ ' + message['content'] + eos_token }}
11
+ {% endif %}
12
+ {% if loop.last and add_generation_prompt %}
13
+ {{ '<|assistant|>' }}
14
+ {% endif %}
15
+ {% endfor %}
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
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": {},
25
+ "format": "dense",
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.2.a20260611"
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.12.0",
55
+ "use_cache": true,
56
+ "vocab_size": 32000
57
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "eos_token_id": 2,
4
+ "max_length": 2048,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "5.12.0"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b5a6be7798aa97665bc6ad923d6fbfd459d052869758ef72cf0b6192b4bf71e
3
+ size 2200124472
recipe.yaml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ quant_stage:
2
+ quant_modifiers:
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
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": null,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "</s>",
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "model_max_length": 2048,
10
+ "pad_token": "</s>",
11
+ "padding_side": "right",
12
+ "sp_model_kwargs": {},
13
+ "tokenizer_class": "LlamaTokenizer",
14
+ "unk_token": "<unk>",
15
+ "use_default_system_prompt": false
16
+ }