fbaldassarri commited on
Commit
61c32ea
·
verified ·
1 Parent(s): 6ae7df1

Initial Upload

Browse files
LICENSE.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ iGenius
2
+
3
+ Copyright (c) 2024, iGenius S.p.A.
4
+
5
+ MIT License
6
+
7
+ È concessa l'autorizzazione, gratuitamente, a chiunque di ottenere una copia di Modello Italia e dei file di documentazione associati, di utilizzare Modello Italia senza restrizioni, inclusi senza limitazione i diritti di utilizzare, copiare, modificare, unire, pubblicare, distribuire, concedere in sublicenza e/o vendere copie di Modello Italia, e di consentire alle persone a cui Modello Italia è fornito di farlo, nelle condizioni seguenti:
8
+
9
+ Il presente avviso di copyright e il presente avviso di autorizzazione saranno inclusi in tutte le copie o parti sostanziali di Modello Italia.
10
+
11
+ IL MODELLO VIENE FORNITO "COSÌ COM'È", SENZA GARANZIE DI ALCUN TIPO, ESPRESSE O IMPLICITE, INCLUSO MA NON LIMITATO A GARANZIE DI COMMERCIABILITÀ, IDONEITÀ PER UN PARTICOLARE SCOPO E NON VIOLAZIONE. IN NESSUN CASO GLI AUTORI O I TITOLARI DEL COPYRIGHT SARANNO RESPONSABILI PER QUALSIASI RICHIESTA, DANNO O ALTRA RESPONSABILITÀ, IN CASO DI AZIONE DI CONTRATTO, TORTO O ALTRIMENTI, DERIVANTE DA, FUORI O IN CONNESSIONE CON IL SOFTWARE O L'USO O ALTRI AFFARI NEL SOFTWARE.
README.md CHANGED
@@ -1,3 +1,90 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - it
4
+ tags:
5
+ - pretrained
6
+ - pytorch
7
+ - causal-lm
8
+ - autoround
9
+ - intel-autoround
10
+ - woq
11
+ - gptq
12
+ - autogptq
13
+ - auto-gptq
14
+ - intel
15
+ - italia
16
+ - italiano
17
+ - italian
18
+ license: mit
19
+ license_link: https://huggingface.co/iGeniusAI/Italia-9B-Instruct-v0.1/blob/main/LICENSE
20
+ model_name: Italia 9B Instruct v0.1
21
+ base_model:
22
+ - iGeniusAI/Italia-9B-Instruct-v0.1
23
+ inference: false
24
+ model_creator: iGeniusAI
25
+ pipeline_tag: text-generation
26
+ prompt_template: '{prompt}
27
+ '
28
+ quantized_by: fbaldassarri
29
+ ---
30
+
31
+ ## Model Information
32
+
33
+ Quantized version of [iGeniusAI/Italia-9B-Instruct-v0.1](https://huggingface.co/iGeniusAI/Italia-9B-Instruct-v0.1) using torch.float32 for quantization tuning.
34
+ - 4 bits (INT4)
35
+ - group size = 128
36
+ - Symmetrical Quantization
37
+ - Method AutoGPTQ
38
+
39
+ Quantization framework: [Intel AutoRound](https://github.com/intel/auto-round) v0.4.3
40
+
41
+ Note: this INT4 version of Italia-9B-Instruct-v0.1 has been quantized to run inference through CPU.
42
+
43
+ ## Replication Recipe
44
+
45
+ ### Step 1 Install Requirements
46
+
47
+ I suggest to install requirements into a dedicated python-virtualenv or a conda enviroment.
48
+
49
+ ```
50
+ wget https://github.com/intel/auto-round/archive/refs/tags/v0.4.3.tar.gz
51
+ tar -xvzf v0.4.3.tar.gz
52
+ cd auto-round-0.4.3
53
+ pip install -r requirements-cpu.txt --upgrade
54
+ ```
55
+
56
+ ### Step 2 Build Intel AutoRound wheel from sources
57
+
58
+ ```
59
+ pip install -vvv --no-build-isolation -e .[cpu]
60
+ ```
61
+
62
+ ### Step 3 Script for Quantization
63
+
64
+ ```
65
+ from transformers import AutoModelForCausalLM, AutoTokenizer, GPTNeoXModel
66
+ model_name = "iGeniusAI/Italia-9B-Instruct-v0.1"
67
+ model = GPTNeoXModel.from_pretrained(model_name, trust_remote_code=True)
68
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
69
+ from auto_round import AutoRound
70
+ bits, group_size, sym, device, amp = 4, 128, True, 'cpu', False
71
+ autoround = AutoRound(model, tokenizer, nsamples=128, iters=200, seqlen=512, batch_size=4, bits=bits, group_size=group_size, sym=sym, device=device, amp=amp)
72
+ autoround.quantize()
73
+ output_dir = "./AutoRound/iGeniusAI_Italia-9B-Instruct-v0.1-autogptq-int4-gs128-sym"
74
+ autoround.save_quantized(output_dir, format='auto_gptq', inplace=True)
75
+ ```
76
+
77
+ Note: the `GPTNeoXSdpaAttention` class is deprecated in favor of simply modifying the `config._attn_implementation`attribute of the `GPTNeoXAttention` class. So this require transformers<4.48.
78
+
79
+ ## License
80
+
81
+ [MIT](https://huggingface.co/iGeniusAI/Italia-9B-Instruct-v0.1/blob/main/LICENSE)
82
+
83
+ ## Disclaimer
84
+
85
+ This quantized model comes with no warranty. It has been developed only for research purposes.
86
+
87
+ ## Potential Error
88
+
89
+ Error on Layer 138: auto-gptq format may not support loading this quantized model.
90
+
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 50000,
3
+ "<|system|>": 50001,
4
+ "<|user|>": 50002
5
+ }
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "iGeniusAI/Italia-9B-Instruct-v0.1",
3
+ "architectures": [
4
+ "GPTNeoXModel"
5
+ ],
6
+ "attention_bias": true,
7
+ "attention_dropout": 0.0,
8
+ "attention_probs_dropout_prob": 0,
9
+ "auto_map": {
10
+ "AutoConfig": "iGeniusAI/Italia-9B-Instruct-v0.1--configuration_italia.ItaliaConfig",
11
+ "AutoModel": "iGeniusAI/Italia-9B-Instruct-v0.1--modeling_italia.GPTNeoXModel",
12
+ "AutoModelForCausalLM": "iGeniusAI/Italia-9B-Instruct-v0.1--modeling_italia.ItaliaForCausalLM"
13
+ },
14
+ "bos_token_id": 1,
15
+ "classifier_dropout": 0.1,
16
+ "eos_token_id": 2,
17
+ "hidden_act": "gelu_new",
18
+ "hidden_dropout": 0.0,
19
+ "hidden_size": 5120,
20
+ "initializer_range": 0.01,
21
+ "intermediate_size": 12800,
22
+ "layer_norm_eps": 1e-05,
23
+ "max_position_embeddings": 4096,
24
+ "model_type": "gpt_neox",
25
+ "num_attention_heads": 32,
26
+ "num_hidden_layers": 34,
27
+ "partial_rotary_factor": 0.4,
28
+ "quantization_config": {
29
+ "amp": false,
30
+ "autoround_version": "0.4.3",
31
+ "batch_size": 4,
32
+ "bits": 4,
33
+ "block_name_to_quantize": "layers",
34
+ "damp_percent": 0.01,
35
+ "data_type": "int",
36
+ "desc_act": false,
37
+ "enable_minmax_tuning": true,
38
+ "enable_norm_bias_tuning": false,
39
+ "enable_quanted_input": true,
40
+ "gradient_accumulate_steps": 1,
41
+ "group_size": 128,
42
+ "iters": 200,
43
+ "low_gpu_mem_usage": false,
44
+ "lr": 0.005,
45
+ "minmax_lr": 0.005,
46
+ "nsamples": 128,
47
+ "quant_method": "gptq",
48
+ "scale_dtype": "torch.float16",
49
+ "seqlen": 512,
50
+ "sym": true,
51
+ "true_sequential": false
52
+ },
53
+ "rope_scaling": null,
54
+ "rope_theta": 10000,
55
+ "rotary_emb_base": 10000,
56
+ "rotary_pct": 0.4,
57
+ "tie_word_embeddings": false,
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.47.1",
60
+ "unk_token_id": 0,
61
+ "use_cache": false,
62
+ "use_parallel_residual": true,
63
+ "vocab_size": 50176
64
+ }
configuration_italia.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from transformers.models.gpt_neox.configuration_gpt_neox import GPTNeoXConfig
2
+
3
+
4
+ class ItaliaConfig(GPTNeoXConfig):
5
+ model_type = "italia"
6
+ keys_to_ignore_at_inference = ["past_key_values"]
7
+
8
+ def __init__(
9
+ self,
10
+ hidden_act="gelu_new",
11
+ *args,
12
+ **kwargs,
13
+ ):
14
+ super().__init__(
15
+ hidden_act=hidden_act,
16
+ *args,
17
+ **kwargs,
18
+ )
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 2,
6
+ "transformers_version": "4.41.2",
7
+ "use_cache": false
8
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbed4eb0c0c52c1b1dadfe89a2b1192f3194724110bd3b38c62481dfcdd5ede9
3
+ size 4999693840
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:608fae313a60351fcc88d0f8b5d611b6daae71aca6e3f6743435cdf9516afaab
3
+ size 204742896
model.safetensors.index.json ADDED
@@ -0,0 +1,826 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 5204346880
4
+ },
5
+ "weight_map": {
6
+ "embed_in.weight": "model-00001-of-00002.safetensors",
7
+ "final_layer_norm.bias": "model-00002-of-00002.safetensors",
8
+ "final_layer_norm.weight": "model-00002-of-00002.safetensors",
9
+ "layers.0.attention.dense.bias": "model-00001-of-00002.safetensors",
10
+ "layers.0.attention.dense.g_idx": "model-00001-of-00002.safetensors",
11
+ "layers.0.attention.dense.qweight": "model-00001-of-00002.safetensors",
12
+ "layers.0.attention.dense.qzeros": "model-00001-of-00002.safetensors",
13
+ "layers.0.attention.dense.scales": "model-00001-of-00002.safetensors",
14
+ "layers.0.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
15
+ "layers.0.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
16
+ "layers.0.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
17
+ "layers.0.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
18
+ "layers.0.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
19
+ "layers.0.input_layernorm.bias": "model-00001-of-00002.safetensors",
20
+ "layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
21
+ "layers.0.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
22
+ "layers.0.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
23
+ "layers.0.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
24
+ "layers.0.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
25
+ "layers.0.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
26
+ "layers.0.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
27
+ "layers.0.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
28
+ "layers.0.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
29
+ "layers.0.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
30
+ "layers.0.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
31
+ "layers.0.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
32
+ "layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
33
+ "layers.1.attention.dense.bias": "model-00001-of-00002.safetensors",
34
+ "layers.1.attention.dense.g_idx": "model-00001-of-00002.safetensors",
35
+ "layers.1.attention.dense.qweight": "model-00001-of-00002.safetensors",
36
+ "layers.1.attention.dense.qzeros": "model-00001-of-00002.safetensors",
37
+ "layers.1.attention.dense.scales": "model-00001-of-00002.safetensors",
38
+ "layers.1.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
39
+ "layers.1.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
40
+ "layers.1.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
41
+ "layers.1.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
42
+ "layers.1.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
43
+ "layers.1.input_layernorm.bias": "model-00001-of-00002.safetensors",
44
+ "layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
45
+ "layers.1.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
46
+ "layers.1.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
47
+ "layers.1.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
48
+ "layers.1.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
49
+ "layers.1.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
50
+ "layers.1.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
51
+ "layers.1.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
52
+ "layers.1.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
53
+ "layers.1.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
54
+ "layers.1.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
55
+ "layers.1.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
56
+ "layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
57
+ "layers.10.attention.dense.bias": "model-00001-of-00002.safetensors",
58
+ "layers.10.attention.dense.g_idx": "model-00001-of-00002.safetensors",
59
+ "layers.10.attention.dense.qweight": "model-00001-of-00002.safetensors",
60
+ "layers.10.attention.dense.qzeros": "model-00001-of-00002.safetensors",
61
+ "layers.10.attention.dense.scales": "model-00001-of-00002.safetensors",
62
+ "layers.10.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
63
+ "layers.10.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
64
+ "layers.10.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
65
+ "layers.10.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
66
+ "layers.10.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
67
+ "layers.10.input_layernorm.bias": "model-00001-of-00002.safetensors",
68
+ "layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
69
+ "layers.10.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
70
+ "layers.10.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
71
+ "layers.10.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
72
+ "layers.10.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
73
+ "layers.10.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
74
+ "layers.10.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
75
+ "layers.10.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
76
+ "layers.10.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
77
+ "layers.10.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
78
+ "layers.10.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
79
+ "layers.10.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
80
+ "layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
81
+ "layers.11.attention.dense.bias": "model-00001-of-00002.safetensors",
82
+ "layers.11.attention.dense.g_idx": "model-00001-of-00002.safetensors",
83
+ "layers.11.attention.dense.qweight": "model-00001-of-00002.safetensors",
84
+ "layers.11.attention.dense.qzeros": "model-00001-of-00002.safetensors",
85
+ "layers.11.attention.dense.scales": "model-00001-of-00002.safetensors",
86
+ "layers.11.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
87
+ "layers.11.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
88
+ "layers.11.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
89
+ "layers.11.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
90
+ "layers.11.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
91
+ "layers.11.input_layernorm.bias": "model-00001-of-00002.safetensors",
92
+ "layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
93
+ "layers.11.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
94
+ "layers.11.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
95
+ "layers.11.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
96
+ "layers.11.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
97
+ "layers.11.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
98
+ "layers.11.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
99
+ "layers.11.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
100
+ "layers.11.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
101
+ "layers.11.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
102
+ "layers.11.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
103
+ "layers.11.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
104
+ "layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
105
+ "layers.12.attention.dense.bias": "model-00001-of-00002.safetensors",
106
+ "layers.12.attention.dense.g_idx": "model-00001-of-00002.safetensors",
107
+ "layers.12.attention.dense.qweight": "model-00001-of-00002.safetensors",
108
+ "layers.12.attention.dense.qzeros": "model-00001-of-00002.safetensors",
109
+ "layers.12.attention.dense.scales": "model-00001-of-00002.safetensors",
110
+ "layers.12.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
111
+ "layers.12.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
112
+ "layers.12.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
113
+ "layers.12.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
114
+ "layers.12.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
115
+ "layers.12.input_layernorm.bias": "model-00001-of-00002.safetensors",
116
+ "layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
117
+ "layers.12.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
118
+ "layers.12.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
119
+ "layers.12.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
120
+ "layers.12.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
121
+ "layers.12.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
122
+ "layers.12.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
123
+ "layers.12.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
124
+ "layers.12.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
125
+ "layers.12.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
126
+ "layers.12.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
127
+ "layers.12.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
128
+ "layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
129
+ "layers.13.attention.dense.bias": "model-00001-of-00002.safetensors",
130
+ "layers.13.attention.dense.g_idx": "model-00001-of-00002.safetensors",
131
+ "layers.13.attention.dense.qweight": "model-00001-of-00002.safetensors",
132
+ "layers.13.attention.dense.qzeros": "model-00001-of-00002.safetensors",
133
+ "layers.13.attention.dense.scales": "model-00001-of-00002.safetensors",
134
+ "layers.13.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
135
+ "layers.13.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
136
+ "layers.13.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
137
+ "layers.13.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
138
+ "layers.13.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
139
+ "layers.13.input_layernorm.bias": "model-00001-of-00002.safetensors",
140
+ "layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
141
+ "layers.13.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
142
+ "layers.13.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
143
+ "layers.13.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
144
+ "layers.13.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
145
+ "layers.13.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
146
+ "layers.13.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
147
+ "layers.13.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
148
+ "layers.13.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
149
+ "layers.13.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
150
+ "layers.13.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
151
+ "layers.13.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
152
+ "layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
153
+ "layers.14.attention.dense.bias": "model-00001-of-00002.safetensors",
154
+ "layers.14.attention.dense.g_idx": "model-00001-of-00002.safetensors",
155
+ "layers.14.attention.dense.qweight": "model-00001-of-00002.safetensors",
156
+ "layers.14.attention.dense.qzeros": "model-00001-of-00002.safetensors",
157
+ "layers.14.attention.dense.scales": "model-00001-of-00002.safetensors",
158
+ "layers.14.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
159
+ "layers.14.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
160
+ "layers.14.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
161
+ "layers.14.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
162
+ "layers.14.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
163
+ "layers.14.input_layernorm.bias": "model-00001-of-00002.safetensors",
164
+ "layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
165
+ "layers.14.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
166
+ "layers.14.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
167
+ "layers.14.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
168
+ "layers.14.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
169
+ "layers.14.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
170
+ "layers.14.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
171
+ "layers.14.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
172
+ "layers.14.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
173
+ "layers.14.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
174
+ "layers.14.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
175
+ "layers.14.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
176
+ "layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
177
+ "layers.15.attention.dense.bias": "model-00001-of-00002.safetensors",
178
+ "layers.15.attention.dense.g_idx": "model-00001-of-00002.safetensors",
179
+ "layers.15.attention.dense.qweight": "model-00001-of-00002.safetensors",
180
+ "layers.15.attention.dense.qzeros": "model-00001-of-00002.safetensors",
181
+ "layers.15.attention.dense.scales": "model-00001-of-00002.safetensors",
182
+ "layers.15.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
183
+ "layers.15.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
184
+ "layers.15.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
185
+ "layers.15.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
186
+ "layers.15.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
187
+ "layers.15.input_layernorm.bias": "model-00001-of-00002.safetensors",
188
+ "layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
189
+ "layers.15.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
190
+ "layers.15.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
191
+ "layers.15.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
192
+ "layers.15.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
193
+ "layers.15.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
194
+ "layers.15.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
195
+ "layers.15.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
196
+ "layers.15.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
197
+ "layers.15.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
198
+ "layers.15.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
199
+ "layers.15.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
200
+ "layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
201
+ "layers.16.attention.dense.bias": "model-00001-of-00002.safetensors",
202
+ "layers.16.attention.dense.g_idx": "model-00001-of-00002.safetensors",
203
+ "layers.16.attention.dense.qweight": "model-00001-of-00002.safetensors",
204
+ "layers.16.attention.dense.qzeros": "model-00001-of-00002.safetensors",
205
+ "layers.16.attention.dense.scales": "model-00001-of-00002.safetensors",
206
+ "layers.16.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
207
+ "layers.16.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
208
+ "layers.16.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
209
+ "layers.16.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
210
+ "layers.16.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
211
+ "layers.16.input_layernorm.bias": "model-00001-of-00002.safetensors",
212
+ "layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
213
+ "layers.16.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
214
+ "layers.16.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
215
+ "layers.16.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
216
+ "layers.16.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
217
+ "layers.16.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
218
+ "layers.16.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
219
+ "layers.16.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
220
+ "layers.16.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
221
+ "layers.16.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
222
+ "layers.16.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
223
+ "layers.16.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
224
+ "layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
225
+ "layers.17.attention.dense.bias": "model-00001-of-00002.safetensors",
226
+ "layers.17.attention.dense.g_idx": "model-00001-of-00002.safetensors",
227
+ "layers.17.attention.dense.qweight": "model-00001-of-00002.safetensors",
228
+ "layers.17.attention.dense.qzeros": "model-00001-of-00002.safetensors",
229
+ "layers.17.attention.dense.scales": "model-00001-of-00002.safetensors",
230
+ "layers.17.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
231
+ "layers.17.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
232
+ "layers.17.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
233
+ "layers.17.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
234
+ "layers.17.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
235
+ "layers.17.input_layernorm.bias": "model-00001-of-00002.safetensors",
236
+ "layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
237
+ "layers.17.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
238
+ "layers.17.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
239
+ "layers.17.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
240
+ "layers.17.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
241
+ "layers.17.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
242
+ "layers.17.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
243
+ "layers.17.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
244
+ "layers.17.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
245
+ "layers.17.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
246
+ "layers.17.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
247
+ "layers.17.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
248
+ "layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
249
+ "layers.18.attention.dense.bias": "model-00001-of-00002.safetensors",
250
+ "layers.18.attention.dense.g_idx": "model-00001-of-00002.safetensors",
251
+ "layers.18.attention.dense.qweight": "model-00001-of-00002.safetensors",
252
+ "layers.18.attention.dense.qzeros": "model-00001-of-00002.safetensors",
253
+ "layers.18.attention.dense.scales": "model-00001-of-00002.safetensors",
254
+ "layers.18.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
255
+ "layers.18.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
256
+ "layers.18.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
257
+ "layers.18.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
258
+ "layers.18.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
259
+ "layers.18.input_layernorm.bias": "model-00001-of-00002.safetensors",
260
+ "layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
261
+ "layers.18.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
262
+ "layers.18.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
263
+ "layers.18.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
264
+ "layers.18.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
265
+ "layers.18.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
266
+ "layers.18.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
267
+ "layers.18.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
268
+ "layers.18.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
269
+ "layers.18.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
270
+ "layers.18.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
271
+ "layers.18.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
272
+ "layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
273
+ "layers.19.attention.dense.bias": "model-00001-of-00002.safetensors",
274
+ "layers.19.attention.dense.g_idx": "model-00001-of-00002.safetensors",
275
+ "layers.19.attention.dense.qweight": "model-00001-of-00002.safetensors",
276
+ "layers.19.attention.dense.qzeros": "model-00001-of-00002.safetensors",
277
+ "layers.19.attention.dense.scales": "model-00001-of-00002.safetensors",
278
+ "layers.19.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
279
+ "layers.19.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
280
+ "layers.19.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
281
+ "layers.19.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
282
+ "layers.19.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
283
+ "layers.19.input_layernorm.bias": "model-00001-of-00002.safetensors",
284
+ "layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
285
+ "layers.19.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
286
+ "layers.19.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
287
+ "layers.19.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
288
+ "layers.19.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
289
+ "layers.19.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
290
+ "layers.19.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
291
+ "layers.19.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
292
+ "layers.19.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
293
+ "layers.19.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
294
+ "layers.19.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
295
+ "layers.19.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
296
+ "layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
297
+ "layers.2.attention.dense.bias": "model-00001-of-00002.safetensors",
298
+ "layers.2.attention.dense.g_idx": "model-00001-of-00002.safetensors",
299
+ "layers.2.attention.dense.qweight": "model-00001-of-00002.safetensors",
300
+ "layers.2.attention.dense.qzeros": "model-00001-of-00002.safetensors",
301
+ "layers.2.attention.dense.scales": "model-00001-of-00002.safetensors",
302
+ "layers.2.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
303
+ "layers.2.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
304
+ "layers.2.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
305
+ "layers.2.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
306
+ "layers.2.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
307
+ "layers.2.input_layernorm.bias": "model-00001-of-00002.safetensors",
308
+ "layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
309
+ "layers.2.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
310
+ "layers.2.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
311
+ "layers.2.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
312
+ "layers.2.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
313
+ "layers.2.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
314
+ "layers.2.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
315
+ "layers.2.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
316
+ "layers.2.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
317
+ "layers.2.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
318
+ "layers.2.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
319
+ "layers.2.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
320
+ "layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
321
+ "layers.20.attention.dense.bias": "model-00001-of-00002.safetensors",
322
+ "layers.20.attention.dense.g_idx": "model-00001-of-00002.safetensors",
323
+ "layers.20.attention.dense.qweight": "model-00001-of-00002.safetensors",
324
+ "layers.20.attention.dense.qzeros": "model-00001-of-00002.safetensors",
325
+ "layers.20.attention.dense.scales": "model-00001-of-00002.safetensors",
326
+ "layers.20.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
327
+ "layers.20.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
328
+ "layers.20.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
329
+ "layers.20.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
330
+ "layers.20.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
331
+ "layers.20.input_layernorm.bias": "model-00001-of-00002.safetensors",
332
+ "layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
333
+ "layers.20.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
334
+ "layers.20.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
335
+ "layers.20.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
336
+ "layers.20.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
337
+ "layers.20.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
338
+ "layers.20.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
339
+ "layers.20.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
340
+ "layers.20.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
341
+ "layers.20.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
342
+ "layers.20.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
343
+ "layers.20.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
344
+ "layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
345
+ "layers.21.attention.dense.bias": "model-00001-of-00002.safetensors",
346
+ "layers.21.attention.dense.g_idx": "model-00001-of-00002.safetensors",
347
+ "layers.21.attention.dense.qweight": "model-00001-of-00002.safetensors",
348
+ "layers.21.attention.dense.qzeros": "model-00001-of-00002.safetensors",
349
+ "layers.21.attention.dense.scales": "model-00001-of-00002.safetensors",
350
+ "layers.21.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
351
+ "layers.21.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
352
+ "layers.21.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
353
+ "layers.21.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
354
+ "layers.21.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
355
+ "layers.21.input_layernorm.bias": "model-00001-of-00002.safetensors",
356
+ "layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors",
357
+ "layers.21.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
358
+ "layers.21.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
359
+ "layers.21.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
360
+ "layers.21.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
361
+ "layers.21.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
362
+ "layers.21.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
363
+ "layers.21.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
364
+ "layers.21.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
365
+ "layers.21.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
366
+ "layers.21.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
367
+ "layers.21.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
368
+ "layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
369
+ "layers.22.attention.dense.bias": "model-00001-of-00002.safetensors",
370
+ "layers.22.attention.dense.g_idx": "model-00001-of-00002.safetensors",
371
+ "layers.22.attention.dense.qweight": "model-00001-of-00002.safetensors",
372
+ "layers.22.attention.dense.qzeros": "model-00001-of-00002.safetensors",
373
+ "layers.22.attention.dense.scales": "model-00001-of-00002.safetensors",
374
+ "layers.22.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
375
+ "layers.22.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
376
+ "layers.22.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
377
+ "layers.22.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
378
+ "layers.22.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
379
+ "layers.22.input_layernorm.bias": "model-00001-of-00002.safetensors",
380
+ "layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors",
381
+ "layers.22.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
382
+ "layers.22.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
383
+ "layers.22.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
384
+ "layers.22.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
385
+ "layers.22.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
386
+ "layers.22.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
387
+ "layers.22.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
388
+ "layers.22.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
389
+ "layers.22.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
390
+ "layers.22.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
391
+ "layers.22.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
392
+ "layers.22.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
393
+ "layers.23.attention.dense.bias": "model-00001-of-00002.safetensors",
394
+ "layers.23.attention.dense.g_idx": "model-00001-of-00002.safetensors",
395
+ "layers.23.attention.dense.qweight": "model-00001-of-00002.safetensors",
396
+ "layers.23.attention.dense.qzeros": "model-00001-of-00002.safetensors",
397
+ "layers.23.attention.dense.scales": "model-00001-of-00002.safetensors",
398
+ "layers.23.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
399
+ "layers.23.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
400
+ "layers.23.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
401
+ "layers.23.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
402
+ "layers.23.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
403
+ "layers.23.input_layernorm.bias": "model-00001-of-00002.safetensors",
404
+ "layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors",
405
+ "layers.23.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
406
+ "layers.23.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
407
+ "layers.23.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
408
+ "layers.23.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
409
+ "layers.23.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
410
+ "layers.23.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
411
+ "layers.23.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
412
+ "layers.23.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
413
+ "layers.23.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
414
+ "layers.23.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
415
+ "layers.23.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
416
+ "layers.23.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
417
+ "layers.24.attention.dense.bias": "model-00001-of-00002.safetensors",
418
+ "layers.24.attention.dense.g_idx": "model-00001-of-00002.safetensors",
419
+ "layers.24.attention.dense.qweight": "model-00001-of-00002.safetensors",
420
+ "layers.24.attention.dense.qzeros": "model-00001-of-00002.safetensors",
421
+ "layers.24.attention.dense.scales": "model-00001-of-00002.safetensors",
422
+ "layers.24.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
423
+ "layers.24.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
424
+ "layers.24.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
425
+ "layers.24.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
426
+ "layers.24.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
427
+ "layers.24.input_layernorm.bias": "model-00001-of-00002.safetensors",
428
+ "layers.24.input_layernorm.weight": "model-00001-of-00002.safetensors",
429
+ "layers.24.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
430
+ "layers.24.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
431
+ "layers.24.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
432
+ "layers.24.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
433
+ "layers.24.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
434
+ "layers.24.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
435
+ "layers.24.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
436
+ "layers.24.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
437
+ "layers.24.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
438
+ "layers.24.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
439
+ "layers.24.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
440
+ "layers.24.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
441
+ "layers.25.attention.dense.bias": "model-00001-of-00002.safetensors",
442
+ "layers.25.attention.dense.g_idx": "model-00001-of-00002.safetensors",
443
+ "layers.25.attention.dense.qweight": "model-00001-of-00002.safetensors",
444
+ "layers.25.attention.dense.qzeros": "model-00001-of-00002.safetensors",
445
+ "layers.25.attention.dense.scales": "model-00001-of-00002.safetensors",
446
+ "layers.25.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
447
+ "layers.25.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
448
+ "layers.25.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
449
+ "layers.25.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
450
+ "layers.25.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
451
+ "layers.25.input_layernorm.bias": "model-00001-of-00002.safetensors",
452
+ "layers.25.input_layernorm.weight": "model-00001-of-00002.safetensors",
453
+ "layers.25.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
454
+ "layers.25.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
455
+ "layers.25.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
456
+ "layers.25.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
457
+ "layers.25.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
458
+ "layers.25.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
459
+ "layers.25.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
460
+ "layers.25.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
461
+ "layers.25.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
462
+ "layers.25.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
463
+ "layers.25.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
464
+ "layers.25.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
465
+ "layers.26.attention.dense.bias": "model-00001-of-00002.safetensors",
466
+ "layers.26.attention.dense.g_idx": "model-00001-of-00002.safetensors",
467
+ "layers.26.attention.dense.qweight": "model-00001-of-00002.safetensors",
468
+ "layers.26.attention.dense.qzeros": "model-00001-of-00002.safetensors",
469
+ "layers.26.attention.dense.scales": "model-00001-of-00002.safetensors",
470
+ "layers.26.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
471
+ "layers.26.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
472
+ "layers.26.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
473
+ "layers.26.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
474
+ "layers.26.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
475
+ "layers.26.input_layernorm.bias": "model-00001-of-00002.safetensors",
476
+ "layers.26.input_layernorm.weight": "model-00001-of-00002.safetensors",
477
+ "layers.26.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
478
+ "layers.26.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
479
+ "layers.26.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
480
+ "layers.26.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
481
+ "layers.26.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
482
+ "layers.26.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
483
+ "layers.26.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
484
+ "layers.26.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
485
+ "layers.26.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
486
+ "layers.26.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
487
+ "layers.26.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
488
+ "layers.26.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
489
+ "layers.27.attention.dense.bias": "model-00001-of-00002.safetensors",
490
+ "layers.27.attention.dense.g_idx": "model-00001-of-00002.safetensors",
491
+ "layers.27.attention.dense.qweight": "model-00001-of-00002.safetensors",
492
+ "layers.27.attention.dense.qzeros": "model-00001-of-00002.safetensors",
493
+ "layers.27.attention.dense.scales": "model-00001-of-00002.safetensors",
494
+ "layers.27.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
495
+ "layers.27.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
496
+ "layers.27.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
497
+ "layers.27.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
498
+ "layers.27.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
499
+ "layers.27.input_layernorm.bias": "model-00001-of-00002.safetensors",
500
+ "layers.27.input_layernorm.weight": "model-00001-of-00002.safetensors",
501
+ "layers.27.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
502
+ "layers.27.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
503
+ "layers.27.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
504
+ "layers.27.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
505
+ "layers.27.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
506
+ "layers.27.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
507
+ "layers.27.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
508
+ "layers.27.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
509
+ "layers.27.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
510
+ "layers.27.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
511
+ "layers.27.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
512
+ "layers.27.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
513
+ "layers.28.attention.dense.bias": "model-00001-of-00002.safetensors",
514
+ "layers.28.attention.dense.g_idx": "model-00001-of-00002.safetensors",
515
+ "layers.28.attention.dense.qweight": "model-00001-of-00002.safetensors",
516
+ "layers.28.attention.dense.qzeros": "model-00001-of-00002.safetensors",
517
+ "layers.28.attention.dense.scales": "model-00001-of-00002.safetensors",
518
+ "layers.28.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
519
+ "layers.28.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
520
+ "layers.28.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
521
+ "layers.28.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
522
+ "layers.28.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
523
+ "layers.28.input_layernorm.bias": "model-00001-of-00002.safetensors",
524
+ "layers.28.input_layernorm.weight": "model-00001-of-00002.safetensors",
525
+ "layers.28.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
526
+ "layers.28.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
527
+ "layers.28.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
528
+ "layers.28.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
529
+ "layers.28.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
530
+ "layers.28.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
531
+ "layers.28.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
532
+ "layers.28.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
533
+ "layers.28.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
534
+ "layers.28.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
535
+ "layers.28.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
536
+ "layers.28.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
537
+ "layers.29.attention.dense.bias": "model-00001-of-00002.safetensors",
538
+ "layers.29.attention.dense.g_idx": "model-00001-of-00002.safetensors",
539
+ "layers.29.attention.dense.qweight": "model-00001-of-00002.safetensors",
540
+ "layers.29.attention.dense.qzeros": "model-00001-of-00002.safetensors",
541
+ "layers.29.attention.dense.scales": "model-00001-of-00002.safetensors",
542
+ "layers.29.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
543
+ "layers.29.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
544
+ "layers.29.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
545
+ "layers.29.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
546
+ "layers.29.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
547
+ "layers.29.input_layernorm.bias": "model-00001-of-00002.safetensors",
548
+ "layers.29.input_layernorm.weight": "model-00001-of-00002.safetensors",
549
+ "layers.29.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
550
+ "layers.29.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
551
+ "layers.29.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
552
+ "layers.29.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
553
+ "layers.29.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
554
+ "layers.29.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
555
+ "layers.29.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
556
+ "layers.29.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
557
+ "layers.29.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
558
+ "layers.29.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
559
+ "layers.29.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
560
+ "layers.29.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
561
+ "layers.3.attention.dense.bias": "model-00001-of-00002.safetensors",
562
+ "layers.3.attention.dense.g_idx": "model-00001-of-00002.safetensors",
563
+ "layers.3.attention.dense.qweight": "model-00001-of-00002.safetensors",
564
+ "layers.3.attention.dense.qzeros": "model-00001-of-00002.safetensors",
565
+ "layers.3.attention.dense.scales": "model-00001-of-00002.safetensors",
566
+ "layers.3.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
567
+ "layers.3.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
568
+ "layers.3.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
569
+ "layers.3.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
570
+ "layers.3.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
571
+ "layers.3.input_layernorm.bias": "model-00001-of-00002.safetensors",
572
+ "layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
573
+ "layers.3.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
574
+ "layers.3.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
575
+ "layers.3.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
576
+ "layers.3.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
577
+ "layers.3.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
578
+ "layers.3.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
579
+ "layers.3.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
580
+ "layers.3.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
581
+ "layers.3.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
582
+ "layers.3.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
583
+ "layers.3.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
584
+ "layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
585
+ "layers.30.attention.dense.bias": "model-00001-of-00002.safetensors",
586
+ "layers.30.attention.dense.g_idx": "model-00001-of-00002.safetensors",
587
+ "layers.30.attention.dense.qweight": "model-00001-of-00002.safetensors",
588
+ "layers.30.attention.dense.qzeros": "model-00001-of-00002.safetensors",
589
+ "layers.30.attention.dense.scales": "model-00001-of-00002.safetensors",
590
+ "layers.30.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
591
+ "layers.30.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
592
+ "layers.30.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
593
+ "layers.30.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
594
+ "layers.30.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
595
+ "layers.30.input_layernorm.bias": "model-00001-of-00002.safetensors",
596
+ "layers.30.input_layernorm.weight": "model-00001-of-00002.safetensors",
597
+ "layers.30.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
598
+ "layers.30.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
599
+ "layers.30.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
600
+ "layers.30.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
601
+ "layers.30.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
602
+ "layers.30.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
603
+ "layers.30.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
604
+ "layers.30.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
605
+ "layers.30.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
606
+ "layers.30.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
607
+ "layers.30.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
608
+ "layers.30.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
609
+ "layers.31.attention.dense.bias": "model-00001-of-00002.safetensors",
610
+ "layers.31.attention.dense.g_idx": "model-00001-of-00002.safetensors",
611
+ "layers.31.attention.dense.qweight": "model-00001-of-00002.safetensors",
612
+ "layers.31.attention.dense.qzeros": "model-00001-of-00002.safetensors",
613
+ "layers.31.attention.dense.scales": "model-00001-of-00002.safetensors",
614
+ "layers.31.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
615
+ "layers.31.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
616
+ "layers.31.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
617
+ "layers.31.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
618
+ "layers.31.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
619
+ "layers.31.input_layernorm.bias": "model-00001-of-00002.safetensors",
620
+ "layers.31.input_layernorm.weight": "model-00001-of-00002.safetensors",
621
+ "layers.31.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
622
+ "layers.31.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
623
+ "layers.31.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
624
+ "layers.31.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
625
+ "layers.31.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
626
+ "layers.31.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
627
+ "layers.31.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
628
+ "layers.31.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
629
+ "layers.31.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
630
+ "layers.31.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
631
+ "layers.31.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
632
+ "layers.31.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
633
+ "layers.32.attention.dense.bias": "model-00002-of-00002.safetensors",
634
+ "layers.32.attention.dense.g_idx": "model-00002-of-00002.safetensors",
635
+ "layers.32.attention.dense.qweight": "model-00002-of-00002.safetensors",
636
+ "layers.32.attention.dense.qzeros": "model-00002-of-00002.safetensors",
637
+ "layers.32.attention.dense.scales": "model-00002-of-00002.safetensors",
638
+ "layers.32.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
639
+ "layers.32.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
640
+ "layers.32.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
641
+ "layers.32.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
642
+ "layers.32.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
643
+ "layers.32.input_layernorm.bias": "model-00001-of-00002.safetensors",
644
+ "layers.32.input_layernorm.weight": "model-00001-of-00002.safetensors",
645
+ "layers.32.mlp.dense_4h_to_h.bias": "model-00002-of-00002.safetensors",
646
+ "layers.32.mlp.dense_4h_to_h.g_idx": "model-00002-of-00002.safetensors",
647
+ "layers.32.mlp.dense_4h_to_h.qweight": "model-00002-of-00002.safetensors",
648
+ "layers.32.mlp.dense_4h_to_h.qzeros": "model-00002-of-00002.safetensors",
649
+ "layers.32.mlp.dense_4h_to_h.scales": "model-00002-of-00002.safetensors",
650
+ "layers.32.mlp.dense_h_to_4h.bias": "model-00002-of-00002.safetensors",
651
+ "layers.32.mlp.dense_h_to_4h.g_idx": "model-00002-of-00002.safetensors",
652
+ "layers.32.mlp.dense_h_to_4h.qweight": "model-00002-of-00002.safetensors",
653
+ "layers.32.mlp.dense_h_to_4h.qzeros": "model-00002-of-00002.safetensors",
654
+ "layers.32.mlp.dense_h_to_4h.scales": "model-00002-of-00002.safetensors",
655
+ "layers.32.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
656
+ "layers.32.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
657
+ "layers.33.attention.dense.bias": "model-00002-of-00002.safetensors",
658
+ "layers.33.attention.dense.g_idx": "model-00002-of-00002.safetensors",
659
+ "layers.33.attention.dense.qweight": "model-00002-of-00002.safetensors",
660
+ "layers.33.attention.dense.qzeros": "model-00002-of-00002.safetensors",
661
+ "layers.33.attention.dense.scales": "model-00002-of-00002.safetensors",
662
+ "layers.33.attention.query_key_value.bias": "model-00002-of-00002.safetensors",
663
+ "layers.33.attention.query_key_value.g_idx": "model-00002-of-00002.safetensors",
664
+ "layers.33.attention.query_key_value.qweight": "model-00002-of-00002.safetensors",
665
+ "layers.33.attention.query_key_value.qzeros": "model-00002-of-00002.safetensors",
666
+ "layers.33.attention.query_key_value.scales": "model-00002-of-00002.safetensors",
667
+ "layers.33.input_layernorm.bias": "model-00002-of-00002.safetensors",
668
+ "layers.33.input_layernorm.weight": "model-00002-of-00002.safetensors",
669
+ "layers.33.mlp.dense_4h_to_h.bias": "model-00002-of-00002.safetensors",
670
+ "layers.33.mlp.dense_4h_to_h.g_idx": "model-00002-of-00002.safetensors",
671
+ "layers.33.mlp.dense_4h_to_h.qweight": "model-00002-of-00002.safetensors",
672
+ "layers.33.mlp.dense_4h_to_h.qzeros": "model-00002-of-00002.safetensors",
673
+ "layers.33.mlp.dense_4h_to_h.scales": "model-00002-of-00002.safetensors",
674
+ "layers.33.mlp.dense_h_to_4h.bias": "model-00002-of-00002.safetensors",
675
+ "layers.33.mlp.dense_h_to_4h.g_idx": "model-00002-of-00002.safetensors",
676
+ "layers.33.mlp.dense_h_to_4h.qweight": "model-00002-of-00002.safetensors",
677
+ "layers.33.mlp.dense_h_to_4h.qzeros": "model-00002-of-00002.safetensors",
678
+ "layers.33.mlp.dense_h_to_4h.scales": "model-00002-of-00002.safetensors",
679
+ "layers.33.post_attention_layernorm.bias": "model-00002-of-00002.safetensors",
680
+ "layers.33.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
681
+ "layers.4.attention.dense.bias": "model-00001-of-00002.safetensors",
682
+ "layers.4.attention.dense.g_idx": "model-00001-of-00002.safetensors",
683
+ "layers.4.attention.dense.qweight": "model-00001-of-00002.safetensors",
684
+ "layers.4.attention.dense.qzeros": "model-00001-of-00002.safetensors",
685
+ "layers.4.attention.dense.scales": "model-00001-of-00002.safetensors",
686
+ "layers.4.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
687
+ "layers.4.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
688
+ "layers.4.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
689
+ "layers.4.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
690
+ "layers.4.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
691
+ "layers.4.input_layernorm.bias": "model-00001-of-00002.safetensors",
692
+ "layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
693
+ "layers.4.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
694
+ "layers.4.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
695
+ "layers.4.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
696
+ "layers.4.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
697
+ "layers.4.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
698
+ "layers.4.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
699
+ "layers.4.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
700
+ "layers.4.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
701
+ "layers.4.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
702
+ "layers.4.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
703
+ "layers.4.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
704
+ "layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
705
+ "layers.5.attention.dense.bias": "model-00001-of-00002.safetensors",
706
+ "layers.5.attention.dense.g_idx": "model-00001-of-00002.safetensors",
707
+ "layers.5.attention.dense.qweight": "model-00001-of-00002.safetensors",
708
+ "layers.5.attention.dense.qzeros": "model-00001-of-00002.safetensors",
709
+ "layers.5.attention.dense.scales": "model-00001-of-00002.safetensors",
710
+ "layers.5.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
711
+ "layers.5.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
712
+ "layers.5.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
713
+ "layers.5.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
714
+ "layers.5.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
715
+ "layers.5.input_layernorm.bias": "model-00001-of-00002.safetensors",
716
+ "layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
717
+ "layers.5.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
718
+ "layers.5.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
719
+ "layers.5.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
720
+ "layers.5.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
721
+ "layers.5.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
722
+ "layers.5.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
723
+ "layers.5.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
724
+ "layers.5.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
725
+ "layers.5.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
726
+ "layers.5.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
727
+ "layers.5.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
728
+ "layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
729
+ "layers.6.attention.dense.bias": "model-00001-of-00002.safetensors",
730
+ "layers.6.attention.dense.g_idx": "model-00001-of-00002.safetensors",
731
+ "layers.6.attention.dense.qweight": "model-00001-of-00002.safetensors",
732
+ "layers.6.attention.dense.qzeros": "model-00001-of-00002.safetensors",
733
+ "layers.6.attention.dense.scales": "model-00001-of-00002.safetensors",
734
+ "layers.6.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
735
+ "layers.6.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
736
+ "layers.6.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
737
+ "layers.6.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
738
+ "layers.6.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
739
+ "layers.6.input_layernorm.bias": "model-00001-of-00002.safetensors",
740
+ "layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
741
+ "layers.6.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
742
+ "layers.6.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
743
+ "layers.6.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
744
+ "layers.6.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
745
+ "layers.6.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
746
+ "layers.6.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
747
+ "layers.6.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
748
+ "layers.6.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
749
+ "layers.6.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
750
+ "layers.6.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
751
+ "layers.6.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
752
+ "layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
753
+ "layers.7.attention.dense.bias": "model-00001-of-00002.safetensors",
754
+ "layers.7.attention.dense.g_idx": "model-00001-of-00002.safetensors",
755
+ "layers.7.attention.dense.qweight": "model-00001-of-00002.safetensors",
756
+ "layers.7.attention.dense.qzeros": "model-00001-of-00002.safetensors",
757
+ "layers.7.attention.dense.scales": "model-00001-of-00002.safetensors",
758
+ "layers.7.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
759
+ "layers.7.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
760
+ "layers.7.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
761
+ "layers.7.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
762
+ "layers.7.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
763
+ "layers.7.input_layernorm.bias": "model-00001-of-00002.safetensors",
764
+ "layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
765
+ "layers.7.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
766
+ "layers.7.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
767
+ "layers.7.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
768
+ "layers.7.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
769
+ "layers.7.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
770
+ "layers.7.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
771
+ "layers.7.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
772
+ "layers.7.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
773
+ "layers.7.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
774
+ "layers.7.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
775
+ "layers.7.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
776
+ "layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
777
+ "layers.8.attention.dense.bias": "model-00001-of-00002.safetensors",
778
+ "layers.8.attention.dense.g_idx": "model-00001-of-00002.safetensors",
779
+ "layers.8.attention.dense.qweight": "model-00001-of-00002.safetensors",
780
+ "layers.8.attention.dense.qzeros": "model-00001-of-00002.safetensors",
781
+ "layers.8.attention.dense.scales": "model-00001-of-00002.safetensors",
782
+ "layers.8.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
783
+ "layers.8.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
784
+ "layers.8.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
785
+ "layers.8.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
786
+ "layers.8.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
787
+ "layers.8.input_layernorm.bias": "model-00001-of-00002.safetensors",
788
+ "layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
789
+ "layers.8.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
790
+ "layers.8.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
791
+ "layers.8.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
792
+ "layers.8.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
793
+ "layers.8.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
794
+ "layers.8.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
795
+ "layers.8.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
796
+ "layers.8.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
797
+ "layers.8.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
798
+ "layers.8.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
799
+ "layers.8.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
800
+ "layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
801
+ "layers.9.attention.dense.bias": "model-00001-of-00002.safetensors",
802
+ "layers.9.attention.dense.g_idx": "model-00001-of-00002.safetensors",
803
+ "layers.9.attention.dense.qweight": "model-00001-of-00002.safetensors",
804
+ "layers.9.attention.dense.qzeros": "model-00001-of-00002.safetensors",
805
+ "layers.9.attention.dense.scales": "model-00001-of-00002.safetensors",
806
+ "layers.9.attention.query_key_value.bias": "model-00001-of-00002.safetensors",
807
+ "layers.9.attention.query_key_value.g_idx": "model-00001-of-00002.safetensors",
808
+ "layers.9.attention.query_key_value.qweight": "model-00001-of-00002.safetensors",
809
+ "layers.9.attention.query_key_value.qzeros": "model-00001-of-00002.safetensors",
810
+ "layers.9.attention.query_key_value.scales": "model-00001-of-00002.safetensors",
811
+ "layers.9.input_layernorm.bias": "model-00001-of-00002.safetensors",
812
+ "layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
813
+ "layers.9.mlp.dense_4h_to_h.bias": "model-00001-of-00002.safetensors",
814
+ "layers.9.mlp.dense_4h_to_h.g_idx": "model-00001-of-00002.safetensors",
815
+ "layers.9.mlp.dense_4h_to_h.qweight": "model-00001-of-00002.safetensors",
816
+ "layers.9.mlp.dense_4h_to_h.qzeros": "model-00001-of-00002.safetensors",
817
+ "layers.9.mlp.dense_4h_to_h.scales": "model-00001-of-00002.safetensors",
818
+ "layers.9.mlp.dense_h_to_4h.bias": "model-00001-of-00002.safetensors",
819
+ "layers.9.mlp.dense_h_to_4h.g_idx": "model-00001-of-00002.safetensors",
820
+ "layers.9.mlp.dense_h_to_4h.qweight": "model-00001-of-00002.safetensors",
821
+ "layers.9.mlp.dense_h_to_4h.qzeros": "model-00001-of-00002.safetensors",
822
+ "layers.9.mlp.dense_h_to_4h.scales": "model-00001-of-00002.safetensors",
823
+ "layers.9.post_attention_layernorm.bias": "model-00001-of-00002.safetensors",
824
+ "layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors"
825
+ }
826
+ }
modeling_italia.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Optional, Tuple
2
+ import torch
3
+ from torch import nn
4
+ from .configuration_italia import ItaliaConfig
5
+ from transformers.models.gpt_neox import modeling_gpt_neox
6
+
7
+ # inject a GPTNeoXLayer no post layer norm
8
+ class GPTNeoXLayer(nn.Module):
9
+ def __init__(self, config):
10
+ super().__init__()
11
+ self.use_parallel_residual = config.use_parallel_residual
12
+ self.input_layernorm = nn.LayerNorm(config.hidden_size, eps=config.layer_norm_eps)
13
+ self.post_attention_dropout = nn.Dropout(config.hidden_dropout)
14
+ self.post_mlp_dropout = nn.Dropout(config.hidden_dropout)
15
+ self.attention = modeling_gpt_neox.GPT_NEOX_ATTENTION_CLASSES[config._attn_implementation](config)
16
+ self.mlp = modeling_gpt_neox.GPTNeoXMLP(config)
17
+
18
+ def forward(
19
+ self,
20
+ hidden_states: Optional[torch.FloatTensor],
21
+ attention_mask: Optional[torch.FloatTensor] = None,
22
+ position_ids: Optional[torch.LongTensor] = None,
23
+ head_mask: Optional[torch.FloatTensor] = None,
24
+ use_cache: Optional[bool] = False,
25
+ layer_past: Optional[Tuple[torch.Tensor]] = None,
26
+ output_attentions: Optional[bool] = False,
27
+ ):
28
+
29
+ attention_layer_outputs = self.attention(
30
+ self.input_layernorm(hidden_states),
31
+ attention_mask=attention_mask,
32
+ position_ids=position_ids,
33
+ layer_past=layer_past,
34
+ head_mask=head_mask,
35
+ use_cache=use_cache,
36
+ output_attentions=output_attentions,
37
+ )
38
+ attn_output = attention_layer_outputs[0] # output_attn: attn_output, present, (attn_weights)
39
+ attn_output = self.post_attention_dropout(attn_output)
40
+ outputs = attention_layer_outputs[1:]
41
+
42
+ # self.use_parallel_residual: default true
43
+ # x = x + attn(ln1(x)) + mlp(ln1(x))
44
+ mlp_output = self.mlp(self.input_layernorm(hidden_states))
45
+ mlp_output = self.post_mlp_dropout(mlp_output)
46
+ hidden_states = mlp_output + attn_output + hidden_states
47
+
48
+ if use_cache:
49
+ outputs = (hidden_states,) + outputs # hidden_states, present, (attn_weights)
50
+ else:
51
+ outputs = (hidden_states,) + outputs[1:] # hidden_states, (attn_weights)
52
+
53
+ return outputs
54
+
55
+ modeling_gpt_neox.GPTNeoXLayer = GPTNeoXLayer
56
+
57
+ from transformers.models.gpt_neox.modeling_gpt_neox import GPTNeoXForCausalLM, GPTNeoXModel
58
+
59
+ class ItaliaForCausalLM(GPTNeoXForCausalLM):
60
+
61
+
62
+ config_class = ItaliaConfig
63
+
64
+ def __init__(self, config):
65
+ super().__init__(config)
66
+
67
+ self.gpt_neox = GPTNeoXModel(config)
68
+ self.embed_out = nn.Linear(config.hidden_size, config.vocab_size, bias=True)
69
+
70
+ # Initialize weights and apply final processing
71
+ self.post_init()
quantize_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 4,
3
+ "group_size": 128,
4
+ "sym": true,
5
+ "data_type": "int",
6
+ "enable_quanted_input": true,
7
+ "enable_minmax_tuning": true,
8
+ "seqlen": 512,
9
+ "batch_size": 4,
10
+ "scale_dtype": "torch.float16",
11
+ "lr": 0.005,
12
+ "minmax_lr": 0.005,
13
+ "gradient_accumulate_steps": 1,
14
+ "iters": 200,
15
+ "amp": false,
16
+ "nsamples": 128,
17
+ "low_gpu_mem_usage": false,
18
+ "enable_norm_bias_tuning": false,
19
+ "autoround_version": "0.4.3",
20
+ "block_name_to_quantize": "layers",
21
+ "quant_method": "gptq",
22
+ "desc_act": false,
23
+ "true_sequential": false,
24
+ "damp_percent": 0.01
25
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd74bea2ba620d87e0a2127d9a21196b862a5cc7942ba4638eb2159bbab3340c
3
+ size 1090536
tokenizer_config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "50000": {
31
+ "content": "<|assistant|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": true,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "50001": {
39
+ "content": "<|system|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": true,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "50002": {
47
+ "content": "<|user|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": true,
51
+ "single_word": false,
52
+ "special": true
53
+ }
54
+ },
55
+ "bos_token": "<s>",
56
+ "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 %}",
57
+ "clean_up_tokenization_spaces": false,
58
+ "eos_token": "</s>",
59
+ "extra_special_tokens": {},
60
+ "legacy": true,
61
+ "model_max_length": 4096,
62
+ "pad_token": "</s>",
63
+ "sp_model_kwargs": {},
64
+ "spaces_between_special_tokens": false,
65
+ "tokenizer_class": "LlamaTokenizer",
66
+ "unk_token": "<unk>",
67
+ "use_default_system_prompt": false
68
+ }