Add reviewed Tensix weights
Browse filesFiles changed (16)
- .gitattributes+1
- LICENSEAdded+202
- NOTICEAdded+7
- README.mdAdded+84
- chat_template.jinjaAdded+134
- config.jsonAdded+69
- configuration_raon1_nano.pyAdded+151
- generation_config.jsonAdded+7
- model-00001-of-00002.safetensorsAdded+3
- model-00002-of-00002.safetensorsAdded+3
- model-tied-lm-head.safetensorsAdded+3
- model.safetensors.index.jsonAdded+1004
- modeling_raon1_nano.pyAdded+1014
- quant4.jsonAdded+2631
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+11
32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.1234567This repository holds a modified version of KRAFTON/Raon-1-nano(https://huggingface.co/KRAFTON/Raon-1-nano, revision fcf2d1d55e84e2f9fbe7b5d724dcfc4d861cfcee).
Modified by Xylolabs (2026-11-24): the weights of 314 matrices listed in README.md and quant4.json werequantized to the block floating point format bfloat8_b (round to nearest) and are stored as bf16 values onthat format's grid. The multi-token-prediction module was left out. Every other tensor, the configuration,the tokenizer, the chat template and the modeling files are copies of the base model's files.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384---license: apache-2.0base_model:- KRAFTON/Raon-1-nanobase_model_relation: quantizedlibrary_name: transformerspipeline_tag: text-generationlanguage:- ko- entags:- tenstorrent- tensix- tt-metal- ttnn- block-floating-point- bfloat8_b- quantized---
<div align="center">
<img class="block dark:hidden mx-auto" src="https://raw.githubusercontent.com/XylolabsInc/tensix-bfp-gptq/main/assets/xylolabs-lockup.svg" alt="Xylolabs" width="256" height="40"><img class="hidden dark:block mx-auto" src="https://raw.githubusercontent.com/XylolabsInc/tensix-bfp-gptq/main/assets/xylolabs-lockup-dark.svg" alt="Xylolabs" width="256" height="40">
<h1>Raon-1 nano for Tenstorrent Tensix (BFP8)</h1>
[](https://huggingface.co/KRAFTON/Raon-1-nano)[](#formats)[](https://huggingface.co/Xylolabs/Raon-1-nano-Tenstorrent-Tensix-BFP8/blob/main/LICENSE)[](https://github.com/XylolabsInc/tensix-bfp-gptq)[](https://docs.tenstorrent.com)
`tenstorrent` · `tensix` · `tt-metal` · `ttnn` · `block-floating-point` · `bfloat8_b` · `quantized`
</div>
[KRAFTON/Raon-1-nano](https://huggingface.co/KRAFTON/Raon-1-nano) at revision `fcf2d1d`, quantized for Tenstorrent Tensix NPUs (Wormhole, Blackhole). Raon-1 nano is a Korean and English language model with 3.1B parameters, 1.5B of them a per-layer embedding table.
- **Done for Tensix:** the 314 large matrices quantized to `bfloat8_b` (BFP8) by round to nearest; everything else is unchanged from the base model.- **Accuracy against llama.cpp Q4_K_M:** mean KL to bf16 0.0019 against Q4_K_M's 0.0351 (0.05 times). The answer check passed on these weights.- **Code:** [tensix-bfp-gptq v0.1.0](https://github.com/XylolabsInc/tensix-bfp-gptq/releases/tag/v0.1.0), [tensix-kernels v0.1.0](https://github.com/XylolabsInc/tensix-kernels/releases/tag/v0.1.0), [tensix-runner v0.1.0](https://github.com/XylolabsInc/tensix-runner/releases/tag/v0.1.0).
## Formats
| Tensors | Format ||---|---|| MLP gate, up, down (72 matrices) | bfloat8_b || Delta-attention projections (162) | bfloat8_b || Gated MLA projections except `kv_b_proj` (30) | bfloat8_b || Per-layer-input projections (49) | bfloat8_b || Tied LM head (1) | bfloat8_b || `kv_b_proj` (6), norms, hyper-connection selectors, convolution taps, gate constants, embedding and input tables | bf16, as in the base model |
The values are stored as bf16 on the bfloat8_b grid, so TT-NN packs them without changing any value. `quant4.json` lists each matrix's format. The rounded LM head is stored in its own file, so the embedding stays unrounded and Transformers warns that the two tied weights differ. The base model's multi-token-prediction layer is not included.
## Quickstart
```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizer
repo = "Xylolabs/Raon-1-nano-Tenstorrent-Tensix-BFP8"tok = AutoTokenizer.from_pretrained(repo)model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", trust_remote_code=True)
messages = [{"role": "user", "content": "What is the capital of France?"}]inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt", return_dict=True)out = model.generate(**inputs, max_new_tokens=64, do_sample=False)print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))```
Checked with Transformers 5.22.1 on CPU; it answers "Paris". `trust_remote_code=True` runs the base model's modeling file, which this repository ships unchanged; read it first.
## Updates
- 2026-11-25: First release.
## License
Apache 2.0, as the base model (`LICENSE`, copied from it). The changes are listed in `NOTICE`. Not affiliated with or endorsed by Tenstorrent.
## Citation
Cite [KRAFTON/Raon-1-nano](https://huggingface.co/KRAFTON/Raon-1-nano).123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134{#- Text-only ChatML SFT protocol for raon-1-nano. -#}{%- set truncate_history_thinking = truncate_history_thinking if truncate_history_thinking is defined else false %}{%- macro render_content(content, is_system_content=false) %} {%- if content is string %} {{- content }} {%- elif content is iterable and content is not mapping %} {%- for item in content %} {%- if 'text' in item %} {{- item.text }} {%- else %} {{- raise_exception('raon-1-nano supports text content only.') }} {%- endif %} {%- endfor %} {%- elif content is none or content is undefined %} {{- '' }} {%- else %} {{- raise_exception('Unexpected content type.') }} {%- endif %}{%- endmacro %}{%- macro render_assistant_body(message, content, reasoning_content, preserve_reasoning) %} {%- if preserve_reasoning and reasoning_content|trim %} {{- '<think>\n' + reasoning_content|trim + '\n</think>\n\n' }} {%- else %} {{- '<think></think>\n\n' }} {%- endif %} {{- content }} {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %} {%- for tool_call in message.tool_calls %} {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} {%- if loop.first %} {%- if content|trim %} {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- else %} {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- else %} {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- if tool_call.arguments is defined %} {%- for args_name, args_value in tool_call.arguments|items %} {{- '<parameter=' + args_name + '>\n' }} {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %} {{- args_value }} {{- '\n</parameter>\n' }} {%- endfor %} {%- endif %} {{- '</function>\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>' }}{%- endmacro %}{%- if not messages %} {{- raise_exception('No messages provided.') }}{%- endif %}{%- if tools and tools is iterable and tools is not mapping %} {{- '<|im_start|>system\n' }} {{- '# Tools\n\nYou have access to the following functions:\n\n<tools>' }} {%- for tool in tools %} {{- '\n' }} {{- tool | tojson }} {%- endfor %} {{- '\n</tools>' }} {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, true)|trim %} {%- if content %} {{- '\n\n' + content }} {%- endif %} {%- endif %} {{- '<|im_end|>\n' }}{%- elif messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, true)|trim %} {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == 'user' %} {%- set content = render_content(message.content)|trim %} {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- set content = render_content(message.content)|trim %} {%- if message.role == 'system' %} {%- if not loop.first %} {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }} {%- endif %} {%- elif message.role == 'user' %} {{- '<|im_start|>user\n' + content + '<|im_end|>\n' }} {%- elif message.role == 'assistant' %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- elif content.startswith('<think>') and '</think>' in content %} {%- set thinking_parts = content.split('</think>', 1) %} {%- set reasoning_content = thinking_parts[0][7:].strip('\n') %} {%- set content = thinking_parts[1].lstrip('\n') %} {%- endif %} {{- '<|im_start|>assistant\n' }} {%- set preserve_reasoning = (not truncate_history_thinking) or (loop.index0 > ns.last_query_index) %} {%- if message.loss is defined and message.loss is false %} {{- render_assistant_body(message, content, reasoning_content, preserve_reasoning) }} {%- else %} {%- generation %} {{- render_assistant_body(message, content, reasoning_content, preserve_reasoning) }} {%- endgeneration %} {%- endif %} {{- '\n' }} {%- elif message.role == 'tool' %} {%- if loop.previtem and loop.previtem.role != 'tool' %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' + content + '\n</tool_response>' }} {%- if loop.last or loop.nextitem.role != 'tool' %} {{- '<|im_end|>\n' }} {%- endif %} {%- else %} {{- raise_exception('Unexpected message role.') }} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think></think>\n\n' }} {%- else %} {{- '<think>\n' }} {%- endif %}{%- endif %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ "architectures": [ "Raon1NanoForCausalLM" ], "model_type": "raon1_nano", "dtype": "bfloat16", "hidden_size": 1536, "num_hidden_layers": 24, "num_attention_heads": 32, "head_dim": 128, "vocab_size": 259840, "tie_word_embeddings": true, "max_position_embeddings": 262144, "rms_norm_eps": 1e-06, "rope_parameters": null, "hidden_act": "silu", "intermediate_size": 6144, "q_lora_rank": 512, "kv_lora_rank": 512, "qk_nope_head_dim": 128, "qk_rope_head_dim": 64, "v_head_dim": 128, "mla_use_nope": true, "mla_use_output_gate": true, "raon_mhc_streams": 4, "rda_config": { "num_heads": 16, "head_dim": 128, "conv_kernel_size": 4, "full_rank_gate": true, "gate_lower_bound": -5.0, "mla_layers": [ 4, 8, 12, 16, 20, 24 ], "rda_layers": [ 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, 21, 22, 23 ] }, "per_layer_embedding_dim": 256, "per_layer_embedding_layout_version": 2, "auto_map": { "AutoConfig": "configuration_raon1_nano.Raon1NanoConfig", "AutoModel": "modeling_raon1_nano.Raon1NanoModel", "AutoModelForCausalLM": "modeling_raon1_nano.Raon1NanoForCausalLM" }, "transformers_version": "5.16.1"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151# SPDX-License-Identifier: Apache-2.0"""raon-1-nano configuration for the Hugging Face ``transformers`` implementation.
The attribute surface matches the release ``config.json``. Only ``model_type`` matters for``AutoConfig``; every architectural knob defaults to the released 3.1B checkpoint so``Raon1NanoConfig()`` alone describes the production model."""
from __future__ import annotations
from typing import ClassVar
from transformers.configuration_utils import PretrainedConfig
_RELEASED_RDA_LAYERS = [1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, 21, 22, 23]_RELEASED_MLA_LAYERS = [4, 8, 12, 16, 20, 24]
class Raon1NanoConfig(PretrainedConfig): """Configuration of a raon-1-nano model.
Layer indices inside ``rda_config`` (``rda_layers``: Raon Delta Attention, ``mla_layers``: MLA) are 1-based; ``layer_types`` converts. """
model_type = "raon1_nano" keys_to_ignore_at_inference: ClassVar[list[str]] = ["past_key_values"]
def __init__( self, vocab_size: int = 259840, hidden_size: int = 1536, intermediate_size: int = 6144, num_hidden_layers: int = 24, num_attention_heads: int = 32, head_dim: int | None = 128, hidden_act: str = "silu", rms_norm_eps: float = 1e-6, mla_latent_norm_eps: float = 1e-6, raon_mhc_selector_eps: float | None = None, initializer_range: float = 0.02, use_cache: bool = True, tie_word_embeddings: bool = True, max_position_embeddings: int = 65536, # MLA q_lora_rank: int = 512, kv_lora_rank: int = 512, qk_nope_head_dim: int = 128, qk_rope_head_dim: int = 64, v_head_dim: int = 128, mla_use_nope: bool = True, mla_use_output_gate: bool = True, # RDA rda_config: dict | None = None, # Raon_mHC raon_mhc_streams: int | None = None, raon_mhc_post_factor: float | None = None, # Per-layer embedding per_layer_embedding_dim: int = 256, per_layer_embedding_layout_version: int = 2, rope_parameters: dict | None = None, pad_token_id: int = 259200, bos_token_id: int | None = None, eos_token_id: int | list[int] | None = None, **kwargs, ) -> None: if hidden_act != "silu": raise ValueError(f"raon-1-nano uses a SiLU-gated MLP; got hidden_act={hidden_act!r}") if per_layer_embedding_dim and per_layer_embedding_layout_version != 2: raise ValueError("Only per-layer embedding layout version 2 is supported") self.raon_mhc_streams = 4 if raon_mhc_streams is None else raon_mhc_streams self.raon_mhc_post_factor = 2.0 if raon_mhc_post_factor is None else raon_mhc_post_factor self.raon_mhc_selector_eps = 1e-5 if raon_mhc_selector_eps is None else raon_mhc_selector_eps self.vocab_size = vocab_size self.hidden_size = hidden_size self.intermediate_size = intermediate_size self.num_hidden_layers = num_hidden_layers self.num_attention_heads = num_attention_heads self.head_dim = ( head_dim if head_dim is not None else hidden_size // num_attention_heads ) self.hidden_act = hidden_act self.rms_norm_eps = rms_norm_eps self.mla_latent_norm_eps = mla_latent_norm_eps self.initializer_range = initializer_range self.use_cache = use_cache self.max_position_embeddings = max_position_embeddings self.q_lora_rank = q_lora_rank self.kv_lora_rank = kv_lora_rank self.qk_nope_head_dim = qk_nope_head_dim self.qk_rope_head_dim = qk_rope_head_dim self.v_head_dim = v_head_dim self.mla_use_nope = mla_use_nope self.mla_use_output_gate = mla_use_output_gate if rda_config is None: rda_config = { "num_heads": 16, "head_dim": self.head_dim, "conv_kernel_size": 4, "full_rank_gate": True, "gate_lower_bound": -5.0, "rda_layers": list(_RELEASED_RDA_LAYERS), "mla_layers": list(_RELEASED_MLA_LAYERS), } self.rda_config = dict(rda_config) self.per_layer_embedding_dim = per_layer_embedding_dim self.per_layer_embedding_layout_version = per_layer_embedding_layout_version # NoPE: nothing reads this, kept so tools that expect a mapping do not trip. self.rope_parameters = rope_parameters # Decay rank is fixed by the released checkpoint (f_a_proj is 128 wide); it is only read to build shapes. self.rda_decay_rank = kwargs.pop("rda_decay_rank", 128) if eos_token_id is None: eos_token_id = [259202, 259200] super().__init__( pad_token_id=pad_token_id, bos_token_id=bos_token_id, eos_token_id=eos_token_id, tie_word_embeddings=tie_word_embeddings, **kwargs, )
# ---- derived views ------------------------------------------------------------------- @property def rda_num_heads(self) -> int: return int(self.rda_config.get("num_heads", self.num_attention_heads))
@property def rda_head_dim(self) -> int: return int(self.rda_config.get("head_dim", self.head_dim))
@property def rda_conv_kernel_size(self) -> int: return int(self.rda_config.get("conv_kernel_size", 4))
@property def rda_gate_lower_bound(self) -> float | None: return self.rda_config.get("gate_lower_bound", -5.0)
def is_rda_layer(self, layer_idx: int) -> bool: """0-based layer index -> True for an RDA (linear attention) layer.""" return (layer_idx + 1) in self.rda_config["rda_layers"]
@property def layer_types(self) -> list[str]: return [ "linear_attention" if self.is_rda_layer(i) else "full_attention" for i in range(self.num_hidden_layers) ]
__all__ = ["Raon1NanoConfig"]1234567{ "eos_token_id": [ 259202, 259200 ], "pad_token_id": 259200}123version https://git-lfs.github.com/spec/v1oid sha256:0e10190171b6eff9cbd2b99f35135b2f5bec89471905258687785ac63066a90esize 3068867712123version https://git-lfs.github.com/spec/v1oid sha256:ce069bb59d335a56baf316dd0cc6c4dea41044c252a521c19c1a2ec21b5ed2d1size 3192914064123version https://git-lfs.github.com/spec/v1oid sha256:84f4f4f06b43fe04e33f658340082d227f607a5b9443180fab83305c07a6e75esize 79822860812345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004{ "metadata": { "total_size": 7059897536, "quant4": "mlp=bfp8,rda=bfp8,mla=bfp8,ple=bfp8,lm_head=bfp8 rtn; embed_tokens,per-layer table,norms,mHC,conv taps,gate constants=bf16/f32 as original" }, "weight_map": { "model.embed_tokens.weight": "model-00001-of-00002.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.0.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.0.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.0.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.0.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.0.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.1.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.1.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.1.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.1.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.1.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.10.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.10.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.10.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.10.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.10.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.11.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.11.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.11.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.11.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.kv_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.kv_a_proj_with_mqa.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.kv_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.q_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.q_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn.q_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.11.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.12.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.12.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.12.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.12.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.12.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.13.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.13.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.13.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.13.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.13.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.14.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.14.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.14.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.14.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.14.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.15.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.15.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.15.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.15.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.kv_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.kv_a_proj_with_mqa.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.kv_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.q_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.q_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn.q_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.15.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.16.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.16.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.16.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.16.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.16.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.17.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.17.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.17.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.17.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.17.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.18.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.18.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.18.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.18.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.18.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.19.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.19.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.19.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.19.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.kv_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.kv_a_proj_with_mqa.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.kv_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.q_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.q_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.q_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.19.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.2.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.2.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.2.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.2.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.2.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.20.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.20.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.20.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.20.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.20.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.21.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.21.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.21.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.21.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.21.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.22.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.22.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.22.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.22.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.22.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.23.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.23.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.23.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.23.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.kv_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.kv_a_proj_with_mqa.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.kv_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.q_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.q_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.q_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.23.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.3.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.3.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.3.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.3.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.kv_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.kv_a_proj_with_mqa.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.kv_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.q_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.q_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.q_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.3.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.4.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.4.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.4.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.4.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.4.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.5.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.5.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.5.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.5.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.5.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.6.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.6.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.6.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.6.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.6.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.7.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.7.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.7.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.7.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.kv_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.kv_a_proj_with_mqa.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.kv_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.q_a_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.q_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn.q_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.7.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.8.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.8.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.8.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.8.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.8.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.9.mlp_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.layers.9.per_layer_input_gate.gate": "model-00001-of-00002.safetensors", "model.layers.9.per_layer_input_gate.output_norm.weight": "model-00001-of-00002.safetensors", "model.layers.9.per_layer_input_gate.projection": "model-00001-of-00002.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.A_log": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.dt_bias": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.f_a_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.f_b_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.g_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.k_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.o_norm.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.q_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.rda_w_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.v_conv1d.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.alpha_post": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.alpha_pre": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.b_post": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.b_pre": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.phi_post": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.phi_pre": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.res.alpha_z": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.res.b_z": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.res.eta": "model-00001-of-00002.safetensors", "model.layers.9.self_attn_raon_mhc.res.phi_z": "model-00001-of-00002.safetensors", "model.norm.weight": "model-00001-of-00002.safetensors", "model.per_layer_inputs.embedding_projection": "model-00001-of-00002.safetensors", "model.per_layer_inputs.projection_norm.weight": "model-00001-of-00002.safetensors", "model.per_layer_inputs.table": "model-00002-of-00002.safetensors", "lm_head.weight": "model-tied-lm-head.safetensors" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014# SPDX-License-Identifier: Apache-2.0"""Hugging Face ``transformers`` implementation of raon-1-nano.
Architecture (released 3.1B checkpoint): 24 decoder layers on a 4-stream Raon_mHC residual,18 Raon Delta Attention (RDA) layers + 6 NoPE gated Multi-head Latent Attention (MLA) layers,a dense SiLU-gated MLP in every layer, a per-layer embedding (PLE, layout version 2) added aftereach layer's MLP, and an output head tied to the input embedding.
Every equation follows the training implementation's plain-PyTorch reference:
* Raon_mHC selector, attention softmax, RDA gates and the RDA recurrent state are computed in fp32; GEMM activations live in the model dtype.* RDA prefill/decode use a pure-PyTorch recurrence; no custom kernel package is required.* The parameter names are the release checkpoint's tensor names."""
from __future__ import annotations
import copyimport mathfrom pathlib import Pathfrom typing import Any, ClassVar
import torchimport torch.nn.functional as Ffrom torch import nnfrom transformers import initialization as initfrom transformers.generation import GenerationMixinfrom transformers.masking_utils import create_causal_maskfrom transformers.modeling_outputs import ( BaseModelOutputWithPast, CausalLMOutputWithPast,)from transformers.modeling_utils import PreTrainedModelfrom transformers.utils import logging
from .configuration_raon1_nano import Raon1NanoConfig
logger = logging.get_logger(__name__)
# ---------------------------------------------------------------------------------------------# primitives# ---------------------------------------------------------------------------------------------class Raon1NanoRMSNorm(nn.Module): """RMSNorm with fp32 statistics, plain (non zero-centered) gamma, no bias."""
def __init__(self, dim: int, eps: float) -> None: super().__init__() self.weight = nn.Parameter(torch.ones(dim)) self.eps = eps
def forward(self, hidden: torch.Tensor, *, keep_fp32: bool = False) -> torch.Tensor: value = hidden.float() normed = ( value * torch.rsqrt(value.pow(2).mean(-1, keepdim=True) + self.eps) * self.weight.float() ) return normed if keep_fp32 else normed.to(hidden.dtype)
def extra_repr(self) -> str: return f"{tuple(self.weight.shape)}, eps={self.eps}"
def helmert_basis(n: int) -> torch.Tensor: """Orthonormal ``Q`` in ``R^{n x (n-1)}`` with ``Q^T Q = I`` and ``Q^T 1 = 0``.""" q = torch.zeros(n, n - 1, dtype=torch.float32) for k in range(1, n): q[:k, k - 1] = 1.0 q[k, k - 1] = -float(k) q[:, k - 1] /= math.sqrt(k * (k + 1.0)) return q
_RAON_MHC_CONSTANTS: dict[ tuple[int, torch.device], tuple[torch.Tensor, torch.Tensor, torch.Tensor]] = {}
def _raon_mhc_constants( n: int, device: torch.device) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]: """``(helmert Q [n, n-1], I [n, n], B = (I + 11^T/n)/2 [n, n])`` in fp32 on ``device``.
Built on demand instead of as module buffers: ``from_pretrained`` materialises non-persistent buffers on the meta device without values. Created outside inference mode so a later autograd forward can reuse constants first built under ``torch.inference_mode()``. """ key = (n, device) if key not in _RAON_MHC_CONSTANTS: with torch.inference_mode(False): _RAON_MHC_CONSTANTS[key] = _build_raon_mhc_constants(n, device) return _RAON_MHC_CONSTANTS[key]
def _build_raon_mhc_constants( n: int, device: torch.device) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]: eye = torch.eye(n, dtype=torch.float32, device=device) return ( helmert_basis(n).to(device), eye, 0.5 * (eye + torch.full_like(eye, 1.0 / n)), )
# ---------------------------------------------------------------------------------------------# Raon_mHC multi-stream residual# ---------------------------------------------------------------------------------------------class RaonMHCStreamMix(nn.Module): """The ``res.*`` parameters of one Raon_mHC site: the stream-to-stream residual chart."""
def __init__(self, num_streams: int, hidden_size: int) -> None: super().__init__() m = (num_streams - 1) ** 2 self.phi_z = nn.Parameter(torch.zeros(m, num_streams * hidden_size)) self.alpha_z = nn.Parameter(torch.ones(())) self.b_z = nn.Parameter(torch.zeros(m)) self.eta = nn.Parameter(torch.zeros((), dtype=torch.float32))
def forward(self) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]: return self.phi_z, self.alpha_z, self.b_z, self.eta
class RaonMHC(nn.Module): """One Raon_mHC site (attention or MLP): selects the branch input from the streams and writes back.
``route`` returns fp32 coefficients ``h_pre [N, n]``, ``h_post [N, n]`` and ``h_res [N, n, n]`` for ``N = batch*seq`` rows (Raon_mHC chart: ``E = Q Z Q^T``, ``rho = max(0, max(-E/B))``, ``Phi = B + E/(1+rho)``, ``H = (1-gamma) I + gamma Phi`` with ``B = (I + 11^T/n)/2`` and ``gamma = sigmoid(eta)``). """
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__() n, c = config.raon_mhc_streams, config.hidden_size self.num_streams = n self.eps = config.raon_mhc_selector_eps self.post_factor = config.raon_mhc_post_factor self.phi_pre = nn.Parameter(torch.zeros(n, n * c)) self.phi_post = nn.Parameter(torch.zeros(n, n * c)) self.alpha_pre = nn.Parameter(torch.ones(())) self.alpha_post = nn.Parameter(torch.ones(())) self.b_pre = nn.Parameter(torch.zeros(n)) self.b_post = nn.Parameter(torch.zeros(n)) self.res = RaonMHCStreamMix(n, c)
def route( self, stream: torch.Tensor ) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]: return self(stream)
def forward( self, stream: torch.Tensor ) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]: phi_z, alpha_z, b_z, eta = self.res() n = self.num_streams rows = stream.shape[0] * stream.shape[1] flat = stream.reshape(rows, n * stream.shape[-1]) weight = torch.cat([self.phi_pre, self.phi_post, phi_z], dim=0) # RMS scale applied AFTER the (model-dtype) selector GEMM, as in training. inv = torch.rsqrt(flat.float().pow(2).mean(-1, keepdim=True) + self.eps) z = F.linear(flat, weight.to(flat.dtype)).float() * inv t_pre = self.alpha_pre.float() * z[:, :n] + self.b_pre.float() t_post = self.alpha_post.float() * z[:, n : 2 * n] + self.b_post.float() t_z = alpha_z.float() * z[:, 2 * n :] + b_z.float() h_pre = torch.sigmoid(t_pre) h_post = self.post_factor * torch.sigmoid(t_post) nm = n - 1 helmert, eye, chart_b = _raon_mhc_constants(n, z.device) e = torch.einsum("im,bmk,jk->bij", helmert, t_z.reshape(rows, nm, nm), helmert) rho = (-e / chart_b).amax(dim=(-2, -1)).clamp_min(0.0) phi = chart_b + e / (1.0 + rho)[:, None, None] gamma = torch.sigmoid(eta.float()) h_res = (1.0 - gamma) * eye + gamma * phi return h_pre, h_post, h_res
@staticmethod def aggregate( stream_f32: torch.Tensor, h_pre: torch.Tensor, dtype: torch.dtype ) -> torch.Tensor: """``[N, n, C]`` fp32 streams -> ``[N, C]`` branch input in the model dtype.""" return torch.einsum("bn,bnc->bc", h_pre, stream_f32).to(dtype)
@staticmethod def mix( stream_f32: torch.Tensor, branch_out: torch.Tensor, h_post: torch.Tensor, h_res: torch.Tensor, dtype: torch.dtype, ) -> torch.Tensor: """Residual mixing plus the branch write-back, rounded once to the model dtype.""" mixed = torch.einsum("bij,bjc->bic", h_res, stream_f32) return (mixed + h_post.unsqueeze(-1) * branch_out.float().unsqueeze(1)).to( dtype )
# ---------------------------------------------------------------------------------------------# RDA (Raon Delta Attention)# ---------------------------------------------------------------------------------------------class Raon1NanoShortConv(nn.Module): """Depthwise causal conv (no bias) whose weight is stored squeezed as ``[channels, kernel]``."""
def __init__(self, channels: int, kernel_size: int) -> None: super().__init__() self.weight = nn.Parameter(torch.zeros(channels, kernel_size)) self.kernel_size = kernel_size
def forward( self, x: torch.Tensor, state: torch.Tensor | None ) -> tuple[torch.Tensor, torch.Tensor]: """``x [B, T, C]`` raw rows -> silu(conv) ``[B, T, C]`` in x's dtype, plus the new raw window ``[B, C, K-1]``.""" channels = x.shape[-1] k = self.kernel_size signal = x.transpose(1, 2) # [B, C, T] padded = ( F.pad(signal, (k - 1, 0)) if state is None else torch.cat([state.to(signal.dtype), signal], dim=-1) ) # fp32 accumulation and silu, one rounding on the output (causal_conv1d semantics). out = F.conv1d( padded.float(), self.weight.float().unsqueeze(1), groups=channels ) new_state = padded[..., -(k - 1) :] return F.silu(out).to(x.dtype).transpose(1, 2), new_state
def torch_recurrent_rda( q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, log_alpha: torch.Tensor, beta: torch.Tensor, state: torch.Tensor | None,) -> tuple[torch.Tensor, torch.Tensor]: """V-first delta rule, token serial, fp32 state ``[B, H, V, K]``. Reference for the fused kernels.
``q/k/v [B, T, H, D]`` (q already l2-normalised and scaled, k l2-normalised), ``log_alpha [B, T, H, K]`` fp32 log decay, ``beta [B, T, H]``. Returns ``out [B, T, H, V]`` in v's dtype and the final state. """ batch, seq, heads, key_dim = k.shape value_dim = v.shape[-1] if state is None: state = torch.zeros( batch, heads, value_dim, key_dim, dtype=torch.float32, device=q.device ) else: state = state.float() out = torch.empty( batch, seq, heads, value_dim, dtype=torch.float32, device=q.device ) qf, kf, vf, bf = q.float(), k.float(), v.float(), beta.float() for t in range(seq): state = state * torch.exp(log_alpha[:, t]).unsqueeze(-2) predicted = torch.einsum("bhvk,bhk->bhv", state, kf[:, t]) error = vf[:, t] - predicted state = state + bf[:, t][..., None, None] * torch.einsum( "bhv,bhk->bhvk", error, kf[:, t] ) out[:, t] = torch.einsum("bhvk,bhk->bhv", state, qf[:, t]) return out.to(v.dtype), state
class Raon1NanoRDA(nn.Module): """Raon Delta Attention layer: gated delta-rule linear attention with short convolutions and a write gate."""
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__() hidden = config.hidden_size self.num_heads = config.rda_num_heads self.head_dim = config.rda_head_dim self.proj_size = self.num_heads * self.head_dim self.gate_lower_bound = config.rda_gate_lower_bound self.norm_eps = config.rms_norm_eps kernel = config.rda_conv_kernel_size self.q_proj = nn.Linear(hidden, self.proj_size, bias=False) self.k_proj = nn.Linear(hidden, self.proj_size, bias=False) self.v_proj = nn.Linear(hidden, self.proj_size, bias=False) self.q_conv1d = Raon1NanoShortConv(self.proj_size, kernel) self.k_conv1d = Raon1NanoShortConv(self.proj_size, kernel) self.v_conv1d = Raon1NanoShortConv(self.proj_size, kernel) self.f_a_proj = nn.Linear(hidden, config.rda_decay_rank, bias=False) self.f_b_proj = nn.Linear(config.rda_decay_rank, self.proj_size, bias=False) self.b_proj = nn.Linear(hidden, self.num_heads, bias=False) self.rda_w_proj = nn.Linear(hidden, self.num_heads, bias=False) self.g_proj = nn.Linear(hidden, self.proj_size, bias=False) self.A_log = nn.Parameter(torch.zeros(self.num_heads, dtype=torch.float32)) self.dt_bias = nn.Parameter(torch.zeros(self.proj_size, dtype=torch.float32)) self.o_norm = Raon1NanoRMSNorm(self.head_dim, config.rms_norm_eps) self.o_proj = nn.Linear(self.proj_size, hidden, bias=False)
def forward( self, hidden: torch.Tensor, cache: Raon1NanoDynamicCache | None, layer_idx: int, token_mask: torch.Tensor | None = None, ) -> torch.Tensor: batch, seq, _ = hidden.shape dtype = hidden.dtype if token_mask is not None: # Left padding: padded rows must not enter the conv window or the recurrence. hidden = hidden * token_mask[..., None].to(dtype) q = self.q_proj(hidden) k = self.k_proj(hidden) v = self.v_proj(hidden) gate = self.g_proj(hidden) beta_raw = self.b_proj(hidden) rda_delta = self.rda_w_proj(hidden) decay_raw = self.f_b_proj(self.f_a_proj(hidden))
conv_state = cache.conv_states[layer_idx] if cache is not None else None q_hist = k_hist = v_hist = None if conv_state is not None: q_hist, k_hist, v_hist = conv_state.split(self.proj_size, dim=1) q, q_hist = self.q_conv1d(q, q_hist) k, k_hist = self.k_conv1d(k, k_hist) v, v_hist = self.v_conv1d(v, v_hist) if cache is not None: cache.conv_states[layer_idx] = torch.cat([q_hist, k_hist, v_hist], dim=1)
q = q.reshape(batch, seq, self.num_heads, self.head_dim) k = k.reshape(batch, seq, self.num_heads, self.head_dim) v = v.reshape(batch, seq, self.num_heads, self.head_dim) # _prepare_after_conv: l2-normalise q/k in fp32 (eps 1e-6), scale q by key_dim**-0.5. q = F.normalize(q.float(), dim=-1, eps=1e-6).to(dtype) * (self.head_dim**-0.5) k = F.normalize(k.float(), dim=-1, eps=1e-6).to(dtype) # Log decay (per-head scale, lower bound): fp32. decay = decay_raw.float().reshape( batch, seq, self.num_heads, self.head_dim ) + self.dt_bias.float().reshape(self.num_heads, self.head_dim) scaled = torch.exp(self.A_log.float())[None, None, :, None] * decay log_alpha = ( -F.softplus(scaled) if self.gate_lower_bound is None else self.gate_lower_bound * torch.sigmoid(scaled) ) beta = torch.sigmoid(beta_raw.float()).to(dtype) # RDA: write gate sigmoid(beta+delta), erase gate sigmoid(beta); realised as a fp32 value scale. ratio = torch.exp( F.logsigmoid(beta_raw.float() + rda_delta.float()) - F.logsigmoid(beta_raw.float()) ) v = (v.float() * ratio.unsqueeze(-1)).to(dtype)
recurrent_state = ( cache.recurrent_states[layer_idx] if cache is not None else None ) out, final_state = self._core( q, k, v, log_alpha.contiguous(), beta, recurrent_state ) if cache is not None: cache.recurrent_states[layer_idx] = final_state # Per-head RMSNorm then sigmoid output gate, both in fp32, one rounding. normed = self.o_norm(out.reshape(-1, self.head_dim), keep_fp32=True) gated = (normed * torch.sigmoid(gate.float().reshape(-1, self.head_dim))).to( dtype ) return self.o_proj(gated.reshape(batch, seq, self.proj_size))
def _core(self, q, k, v, log_alpha, beta, state): return torch_recurrent_rda(q, k, v, log_alpha, beta, state)
# ---------------------------------------------------------------------------------------------# NoPE gated MLA# ---------------------------------------------------------------------------------------------class Raon1NanoMLA(nn.Module): """Multi-head latent attention without positional encoding and with a sigmoid output gate.
The 64 "rope" channels are never rotated: they are extra key/query channels shared across heads (``k_pe`` is expanded over heads), so scores are 192-wide dot products scaled by ``1/sqrt(192)``. """
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__() hidden = config.hidden_size self.num_heads = config.num_attention_heads self.qk_nope = config.qk_nope_head_dim self.qk_pe = config.qk_rope_head_dim self.v_dim = config.v_head_dim self.q_head_dim = self.qk_nope + self.qk_pe self.kv_lora_rank = config.kv_lora_rank self.softmax_scale = self.q_head_dim**-0.5 self.use_output_gate = config.mla_use_output_gate self.q_a_proj = nn.Linear(hidden, config.q_lora_rank, bias=False) self.q_a_layernorm = Raon1NanoRMSNorm( config.q_lora_rank, config.mla_latent_norm_eps ) self.q_b_proj = nn.Linear( config.q_lora_rank, self.num_heads * self.q_head_dim, bias=False ) self.kv_a_proj_with_mqa = nn.Linear( hidden, config.kv_lora_rank + self.qk_pe, bias=False ) self.kv_a_layernorm = Raon1NanoRMSNorm( config.kv_lora_rank, config.mla_latent_norm_eps ) self.kv_b_proj = nn.Linear( config.kv_lora_rank, self.num_heads * (self.qk_nope + self.v_dim), bias=False, ) if self.use_output_gate: self.g_proj = nn.Linear(hidden, self.num_heads * self.v_dim, bias=False) self.o_proj = nn.Linear(self.num_heads * self.v_dim, hidden, bias=False)
def forward( self, hidden: torch.Tensor, cache: Raon1NanoDynamicCache | None, layer_idx: int, attention_mask: torch.Tensor | None, ) -> torch.Tensor: batch, seq, _ = hidden.shape dtype = hidden.dtype q_lat = self.q_a_layernorm(self.q_a_proj(hidden)) q = self.q_b_proj(q_lat).reshape(batch, seq, self.num_heads, self.q_head_dim) kv_full = self.kv_a_proj_with_mqa(hidden) kv_lat, k_pe = torch.split(kv_full, [self.kv_lora_rank, self.qk_pe], dim=-1) kv = self.kv_b_proj(self.kv_a_layernorm(kv_lat)).reshape( batch, seq, self.num_heads, self.qk_nope + self.v_dim ) k_nope, value = torch.split(kv, [self.qk_nope, self.v_dim], dim=-1) key = torch.cat( [k_nope, k_pe.unsqueeze(2).expand(batch, seq, self.num_heads, self.qk_pe)], dim=-1, )
query = q.transpose(1, 2) # [B, H, T, 192] key = key.transpose(1, 2) value = value.transpose(1, 2) if cache is not None: key, value = cache.update(key, value, layer_idx) kv_len = key.shape[2] if attention_mask is None and seq > 1 and kv_len != seq: # Chunked prefill after cached tokens: explicit causal mask with the cache offset. offset = kv_len - seq attention_mask = torch.ones( seq, kv_len, dtype=torch.bool, device=hidden.device ).tril(offset)[None, None] context = F.scaled_dot_product_attention( query, key, value, attn_mask=attention_mask, is_causal=attention_mask is None and seq > 1, scale=self.softmax_scale, ) context = context.transpose(1, 2).reshape( batch, seq, self.num_heads * self.v_dim ) if self.use_output_gate: # The training NoPE path evaluates the gate in the activation dtype. context = context * torch.sigmoid(self.g_proj(hidden)) return self.o_proj(context.to(dtype))
# ---------------------------------------------------------------------------------------------# MLP and per-layer embedding# ---------------------------------------------------------------------------------------------class Raon1NanoMLP(nn.Module): """SwiGLU MLP: ``down(silu(gate(x)) * up(x))`` with the activation in fp32, one rounding."""
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__() self.gate_proj = nn.Linear(config.hidden_size, config.intermediate_size, bias=False) self.up_proj = nn.Linear(config.hidden_size, config.intermediate_size, bias=False) self.down_proj = nn.Linear(config.intermediate_size, config.hidden_size, bias=False)
def forward(self, hidden: torch.Tensor) -> torch.Tensor: act = F.silu(self.gate_proj(hidden).float()) * self.up_proj(hidden).float() return self.down_proj(act.to(hidden.dtype))
class Raon1NanoPerLayerInputs(nn.Module): """Model-level PLE: ``p = (RMSNorm(W_mp e) + sqrt(d) T[token]) / sqrt(2)`` per layer."""
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__() self.num_layers = config.num_hidden_layers self.width = config.per_layer_embedding_dim self.table = nn.Parameter( torch.zeros(config.vocab_size, self.num_layers * self.width) ) self.embedding_projection = nn.Parameter( torch.zeros(self.num_layers * self.width, config.hidden_size) ) self.projection_norm = Raon1NanoRMSNorm(self.width, config.rms_norm_eps)
def forward(self, input_ids: torch.Tensor, embeddings: torch.Tensor) -> torch.Tensor: """``input_ids [B, T]``, ``embeddings [B, T, C]`` -> ``[B, T, num_layers, d]``.""" layers = (*embeddings.shape[:2], self.num_layers, self.width) projected = self.projection_norm( F.linear(embeddings, self.embedding_projection).reshape(layers) ) rows = F.embedding(input_ids, self.table).reshape(layers) * math.sqrt(self.width) return (projected + rows) * (1.0 / math.sqrt(2.0))
class Raon1NanoPerLayerInputGate(nn.Module): """Layer-level PLE: reads the post-MLP streams, adds the gated per-layer input to every stream."""
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__() width = config.per_layer_embedding_dim self.gate = nn.Parameter(torch.zeros(width, config.hidden_size)) self.projection = nn.Parameter(torch.zeros(config.hidden_size, width)) self.output_norm = Raon1NanoRMSNorm(config.hidden_size, config.rms_norm_eps)
def forward(self, stream: torch.Tensor, layer_input: torch.Tensor) -> torch.Tensor: """``stream [B, T, n, C]``, ``layer_input [B, T, d]`` -> ``[B, T, n, C]``.""" # The fp32 mean of the streams, cast to the gate's dtype, is the unnormalized post-FFN state. hidden = stream.float().mean(2).to(self.gate.dtype) gated = F.gelu(F.linear(hidden, self.gate), approximate="tanh") * layer_input delta = self.output_norm(F.linear(gated, self.projection)) return stream + delta.to(stream.dtype).unsqueeze(2)
# ---------------------------------------------------------------------------------------------# decoder layer# ---------------------------------------------------------------------------------------------class Raon1NanoDecoderLayer(nn.Module): """One Raon_mHC-wired layer: attention site, MLP site, then the layer's per-layer input."""
def __init__(self, config: Raon1NanoConfig, layer_idx: int) -> None: super().__init__() self.layer_idx = layer_idx self.is_rda = config.is_rda_layer(layer_idx) self.layer_type = "linear_attention" if self.is_rda else "full_attention" self.input_layernorm = Raon1NanoRMSNorm(config.hidden_size, config.rms_norm_eps) self.post_attention_layernorm = Raon1NanoRMSNorm( config.hidden_size, config.rms_norm_eps ) self.self_attn = Raon1NanoRDA(config) if self.is_rda else Raon1NanoMLA(config) self.self_attn_raon_mhc = RaonMHC(config) self.mlp_raon_mhc = RaonMHC(config) self.mlp = Raon1NanoMLP(config) self.per_layer_input_gate = ( Raon1NanoPerLayerInputGate(config) if config.per_layer_embedding_dim else None )
def forward( self, stream: torch.Tensor, *, attention_mask: torch.Tensor | None, token_mask: torch.Tensor | None, cache: Raon1NanoDynamicCache | None, per_layer_input: torch.Tensor | None, ) -> torch.Tensor: batch, seq, n, dim = stream.shape dtype = stream.dtype rows = stream.reshape(batch * seq, n, dim)
h_pre, h_post, h_res = self.self_attn_raon_mhc.route(stream) sf = rows.float() branch_in = self.input_layernorm( RaonMHC.aggregate(sf, h_pre, dtype) ).reshape(batch, seq, dim) if self.is_rda: branch_out = self.self_attn(branch_in, cache, self.layer_idx, token_mask) else: branch_out = self.self_attn( branch_in, cache, self.layer_idx, attention_mask ) rows = RaonMHC.mix( sf, branch_out.reshape(batch * seq, dim), h_post, h_res, dtype )
h_pre, h_post, h_res = self.mlp_raon_mhc.route(rows.reshape(batch, seq, n, dim)) sf = rows.float() branch_in = self.post_attention_layernorm( RaonMHC.aggregate(sf, h_pre, dtype) ).reshape(batch, seq, dim) branch_out = self.mlp(branch_in) rows = RaonMHC.mix( sf, branch_out.reshape(batch * seq, dim), h_post, h_res, dtype ) stream = rows.reshape(batch, seq, n, dim) if self.per_layer_input_gate is not None: stream = self.per_layer_input_gate(stream, per_layer_input) return stream
# ---------------------------------------------------------------------------------------------# cache# ---------------------------------------------------------------------------------------------class Raon1NanoDynamicCache: """Hybrid cache: RDA conv windows + fp32 recurrent states, MLA key/value tensors.
Per layer: ``conv_states[i]`` is ``[B, 3*proj, K-1]`` of RAW (pre-conv) q|k|v rows, ``recurrent_states[i]`` is ``[B, H, V, K]`` fp32; ``key_cache[i]`` / ``value_cache[i]`` are ``[B, H, T, 192]`` / ``[B, H, T, 128]``. Implements the hybrid-cache interface ``generate`` uses. """
is_compileable = False
def __init__(self, config: Raon1NanoConfig) -> None: self.layer_types = config.layer_types self.transformer_layers = [ i for i, t in enumerate(self.layer_types) if t == "full_attention" ] self.last_linear_layer = ( len(self.layer_types) - 1 - self.layer_types[::-1].index("linear_attention") ) num = config.num_hidden_layers self.conv_states: list[torch.Tensor | None] = [None] * num self.recurrent_states: list[torch.Tensor | None] = [None] * num self.key_cache: list[torch.Tensor | None] = [None] * num self.value_cache: list[torch.Tensor | None] = [None] * num
def __len__(self) -> int: return len(self.layer_types)
def update( self, key_states: torch.Tensor, value_states: torch.Tensor, layer_idx: int, cache_kwargs: dict | None = None, ): if self.key_cache[layer_idx] is None: self.key_cache[layer_idx] = key_states self.value_cache[layer_idx] = value_states else: self.key_cache[layer_idx] = torch.cat( [self.key_cache[layer_idx], key_states], dim=2 ) self.value_cache[layer_idx] = torch.cat( [self.value_cache[layer_idx], value_states], dim=2 ) return self.key_cache[layer_idx], self.value_cache[layer_idx]
def reorder_cache(self, beam_idx: torch.LongTensor) -> None: for i in range(len(self.layer_types)): for store in ( self.key_cache, self.value_cache, self.conv_states, self.recurrent_states, ): if store[i] is not None: store[i] = store[i].index_select(0, beam_idx.to(store[i].device))
def get_seq_length(self, layer_idx: int | None = 0) -> int: layer_idx = ( self.transformer_layers[0] if layer_idx not in self.transformer_layers else layer_idx ) if self.key_cache[layer_idx] is None: return 0 return self.key_cache[layer_idx].shape[-2]
def get_mask_sizes( self, query_length: int, layer_idx: int ) -> tuple[int, int]: return query_length + self.get_seq_length(layer_idx), 0
def get_query_offset(self, layer_idx: int = 0) -> int: return self.get_seq_length(layer_idx)
@property def has_previous_state(self) -> bool: return self.conv_states[self.last_linear_layer] is not None
# ---------------------------------------------------------------------------------------------# models# ---------------------------------------------------------------------------------------------class Raon1NanoPreTrainedModel(PreTrainedModel): config: Raon1NanoConfig config_class = Raon1NanoConfig base_model_prefix = "model" supports_gradient_checkpointing = False _no_split_modules: ClassVar[list[str]] = ["Raon1NanoDecoderLayer"] _skip_keys_device_placement = "past_key_values" _supports_sdpa = True _supports_flash_attn = False _is_stateful = True # The checkpoint stores these in fp32 and the math reads them in fp32; never downcast them on load. _keep_in_fp32_modules: ClassVar[list[str]] = ["A_log", "dt_bias", "eta"] _keep_in_fp32_modules_strict: ClassVar[list[str]] = ["A_log", "dt_bias", "eta"]
@torch.no_grad() def _init_weights(self, module: nn.Module) -> None: # Go through transformers.initialization: those initialisers are no-ops for parameters that # from_pretrained already loaded, so a plain in-place normal_() here would clobber checkpoints. super()._init_weights(module) std = self.config.initializer_range if isinstance(module, Raon1NanoRMSNorm): init.ones_(module.weight) elif isinstance(module, Raon1NanoShortConv): init.normal_(module.weight, mean=0.0, std=std) elif isinstance(module, Raon1NanoRDA): init.zeros_(module.A_log) init.zeros_(module.dt_bias) elif isinstance(module, Raon1NanoPerLayerInputs): init.normal_(module.table, mean=0.0, std=std) init.normal_(module.embedding_projection, mean=0.0, std=std) elif isinstance(module, Raon1NanoPerLayerInputGate): init.normal_(module.gate, mean=0.0, std=std) init.normal_(module.projection, mean=0.0, std=std) elif isinstance(module, RaonMHCStreamMix): init.normal_(module.phi_z, mean=0.0, std=std) init.ones_(module.alpha_z) init.zeros_(module.b_z) init.zeros_(module.eta) elif isinstance(module, RaonMHC): init.normal_(module.phi_pre, mean=0.0, std=std) init.normal_(module.phi_post, mean=0.0, std=std) init.ones_(module.alpha_pre) init.ones_(module.alpha_post) init.zeros_(module.b_pre) init.zeros_(module.b_post)
class Raon1NanoModel(Raon1NanoPreTrainedModel): """Embedding -> 4-stream expansion -> decoder layers (+PLE) -> mean reduction -> final norm."""
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__(config) self.embed_tokens = nn.Embedding( config.vocab_size, config.hidden_size, config.pad_token_id ) self.per_layer_inputs = ( Raon1NanoPerLayerInputs(config) if config.per_layer_embedding_dim else None ) self.layers = nn.ModuleList( [Raon1NanoDecoderLayer(config, i) for i in range(config.num_hidden_layers)] ) self.norm = Raon1NanoRMSNorm(config.hidden_size, config.rms_norm_eps) self.post_init()
def get_input_embeddings(self) -> nn.Embedding: return self.embed_tokens
def set_input_embeddings(self, value: nn.Embedding) -> None: self.embed_tokens = value
def forward( self, input_ids: torch.LongTensor | None = None, attention_mask: torch.Tensor | None = None, position_ids: torch.LongTensor | None = None, past_key_values: Raon1NanoDynamicCache | None = None, inputs_embeds: torch.FloatTensor | None = None, use_cache: bool | None = None, output_hidden_states: bool | None = None, return_dict: bool | None = None, **kwargs: Any, ) -> BaseModelOutputWithPast | tuple: use_cache = self.config.use_cache if use_cache is None else use_cache output_hidden_states = ( self.config.output_hidden_states if output_hidden_states is None else output_hidden_states ) return_dict = self.config.return_dict if return_dict is None else return_dict if (input_ids is None) == (inputs_embeds is None): raise ValueError("Pass exactly one of input_ids or inputs_embeds.") if self.per_layer_inputs is not None and input_ids is None: raise ValueError("raon-1-nano's per-layer embedding table needs input_ids.") if inputs_embeds is None: inputs_embeds = self.embed_tokens(input_ids) if use_cache and past_key_values is None: past_key_values = Raon1NanoDynamicCache(self.config) causal_mask = create_causal_mask( config=self.config, inputs_embeds=inputs_embeds, attention_mask=attention_mask, past_key_values=past_key_values, position_ids=position_ids, ) token_mask = None if ( attention_mask is not None and attention_mask.dim() == 2 and not bool(attention_mask.all()) ): token_mask = attention_mask[:, -inputs_embeds.shape[1]:] per_layer = ( self.per_layer_inputs(input_ids, inputs_embeds) if self.per_layer_inputs is not None else None )
n = self.config.raon_mhc_streams stream = inputs_embeds.unsqueeze(2).expand(-1, -1, n, -1).contiguous() all_hidden_states = () if output_hidden_states else None for index, layer in enumerate(self.layers): if output_hidden_states: # Expose [batch, tokens, hidden] representations by reducing the Raon_mHC streams, # as at the model output. Intermediate states are not final-normalized. all_hidden_states += (stream.float().mean(2).to(inputs_embeds.dtype),) stream = layer( stream, attention_mask=causal_mask, token_mask=token_mask, cache=past_key_values, per_layer_input=per_layer[:, :, index] if per_layer is not None else None, ) hidden = self.norm(stream.float().mean(2).to(inputs_embeds.dtype)) if output_hidden_states: all_hidden_states += (hidden,) output = BaseModelOutputWithPast( last_hidden_state=hidden, past_key_values=past_key_values if use_cache else None, hidden_states=all_hidden_states, ) return output if return_dict else output.to_tuple()
class Raon1NanoPresencePenaltyLogitsProcessor: """Subtract ``penalty`` from the logits of every token generated so far.
Matches vLLM's presence penalty: prompt tokens are not penalized and a token is penalized once however often it appeared. ``prompt_length`` is the padded prompt width, the same for every row of a batch. """
def __init__(self, penalty: float, prompt_length: int) -> None: self.penalty = penalty self.prompt_length = prompt_length
def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor) -> torch.FloatTensor: generated = input_ids[:, self.prompt_length:] if generated.shape[1] == 0: return scores seen = torch.zeros_like(scores, dtype=torch.bool).scatter_(1, generated, True) return scores - self.penalty * seen.to(scores.dtype)
class Raon1NanoForCausalLM(Raon1NanoPreTrainedModel, GenerationMixin): """raon-1-nano causal language model; ``lm_head`` is tied to ``embed_tokens``."""
_tied_weights_keys: ClassVar[dict[str, str]] = { "lm_head.weight": "model.embed_tokens.weight" }
@classmethod def _supports_default_dynamic_cache(cls) -> bool: # RDA conv windows and recurrent state require the Raon hybrid cache. return False
def generate(self, *args, presence_penalty: float | None = None, **kwargs): # GenerationConfig rejects keys it does not define, so carry this one in ourselves. if presence_penalty is not None: config = copy.deepcopy(kwargs.get("generation_config") or self.generation_config) config.presence_penalty = presence_penalty kwargs["generation_config"] = config return super().generate(*args, **kwargs)
def _get_logits_processor(self, generation_config, input_ids_seq_length=None, *args, **kwargs): # Transformers has no presence penalty; apply it ahead of temperature/top-k/top-p as vLLM does. processors = super()._get_logits_processor(generation_config, input_ids_seq_length, *args, **kwargs) penalty = getattr(generation_config, "presence_penalty", None) if penalty: processors.insert(0, Raon1NanoPresencePenaltyLogitsProcessor(float(penalty), input_ids_seq_length)) return processors
def __init__(self, config: Raon1NanoConfig) -> None: super().__init__(config) self.model = Raon1NanoModel(config) self.lm_head = nn.Linear(config.hidden_size, config.vocab_size, bias=False) self.post_init()
def get_input_embeddings(self) -> nn.Embedding: return self.model.embed_tokens
def load_mtp(self, weights_path: str | Path) -> Raon1NanoMTP: """Explicitly load auxiliary MTP weights; normal generation remains target-only.
Returns a reference-forward module, not a speculative decoding loop. The module uses the target embedding device. Use a single-device target and matching input dtype/device when calling its forward method. """ return Raon1NanoMTP.from_file(self, weights_path)
def set_input_embeddings(self, value: nn.Embedding) -> None: self.model.embed_tokens = value
def get_output_embeddings(self) -> nn.Linear: return self.lm_head
def set_output_embeddings(self, value: nn.Linear) -> None: self.lm_head = value
def forward( self, input_ids: torch.LongTensor | None = None, attention_mask: torch.Tensor | None = None, position_ids: torch.LongTensor | None = None, past_key_values: Raon1NanoDynamicCache | None = None, inputs_embeds: torch.FloatTensor | None = None, labels: torch.LongTensor | None = None, use_cache: bool | None = None, logits_to_keep: int | torch.Tensor = 0, output_hidden_states: bool | None = None, return_dict: bool | None = None, **kwargs: Any, ) -> CausalLMOutputWithPast | tuple: return_dict = self.config.return_dict if return_dict is None else return_dict outputs = self.model( input_ids=input_ids, attention_mask=attention_mask, position_ids=position_ids, past_key_values=past_key_values, inputs_embeds=inputs_embeds, use_cache=use_cache, output_hidden_states=output_hidden_states, return_dict=True, **kwargs, ) hidden = outputs.last_hidden_state slice_indices = ( slice(-logits_to_keep, None) if isinstance(logits_to_keep, int) else logits_to_keep ) logits = self.lm_head(hidden[:, slice_indices, :]) loss = None if labels is not None: loss = self.loss_function( logits=logits, labels=labels, vocab_size=self.config.vocab_size, **kwargs, ) output = CausalLMOutputWithPast( loss=loss, logits=logits, past_key_values=outputs.past_key_values, hidden_states=outputs.hidden_states, ) return output if return_dict else output.to_tuple()
# ---------------------------------------------------------------------------------------------# optional auxiliary multi-token prediction# ---------------------------------------------------------------------------------------------class Raon1NanoMTP(nn.Module): """One MLA MTP layer with fresh Raon-mHC streams and no per-layer embedding."""
def __init__(self, target_model): super().__init__() config = copy.deepcopy(target_model.config) if config.model_type != "raon1_nano" or config.num_hidden_layers != 24: raise ValueError("These MTP weights require the 24-layer Raon-1 nano target") config.per_layer_embedding_dim = 0 self.streams = config.raon_mhc_streams self.enorm = Raon1NanoRMSNorm(config.hidden_size, config.rms_norm_eps) self.hnorm = Raon1NanoRMSNorm(config.hidden_size, config.rms_norm_eps) self.eh_proj = nn.Linear(config.hidden_size * 2, config.hidden_size, bias=False) self.block = Raon1NanoDecoderLayer(config, config.num_hidden_layers) if self.block.is_rda: raise ValueError("The exported MTP layer uses MLA attention") self.shared_head = nn.Module() self.shared_head.norm = Raon1NanoRMSNorm(config.hidden_size, config.rms_norm_eps)
@classmethod def from_file(cls, target_model, weights_path: str | Path): """Load every MTP tensor, preserving its exported dtype and the target device.""" from safetensors.torch import load_file
module = cls(target_model) device = target_model.get_input_embeddings().weight.device weights = load_file(str(weights_path), device=str(device)) state = {} prefix = "model.layers.24." for name, tensor in weights.items(): if not name.startswith(prefix): raise ValueError(f"Unexpected MTP tensor: {name}") name = name[len(prefix):] if not name.startswith(("enorm.", "hnorm.", "eh_proj.", "shared_head.")): name = "block." + name state[name] = tensor module.load_state_dict(state, strict=True, assign=True) return module.eval()
def forward(self, next_token_embeddings, hidden_states, attention_mask=None): """Predict hidden states for the following token, using aligned input pairs.
Both inputs have shape [batch, sequence, hidden]. Pair the target output at position i with the embedding at position i+1. Apply the target's lm_head to the returned states to obtain logits for position i+2. Inputs must use the target's activation dtype and device. With padding, pass a broadcastable SDPA causal attention mask for the paired sequence. """ if next_token_embeddings.shape != hidden_states.shape or hidden_states.ndim != 3: raise ValueError("Expected matching [batch, sequence, hidden] input shapes") hidden = self.eh_proj(torch.cat( (self.enorm(next_token_embeddings), self.hnorm(hidden_states)), dim=-1)) stream = hidden.unsqueeze(2).expand(-1, -1, self.streams, -1).contiguous() stream = self.block(stream, attention_mask=attention_mask, token_mask=None, cache=None, per_layer_input=None) return self.shared_head.norm(stream.float().mean(2).to(hidden.dtype))
__all__ = [ "Raon1NanoDecoderLayer", "Raon1NanoDynamicCache", "Raon1NanoForCausalLM", "Raon1NanoRDA", "RaonMHC", "Raon1NanoMLA", "Raon1NanoModel", "Raon1NanoMTP", "Raon1NanoPreTrainedModel", "torch_recurrent_rda",]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631{ "format_version": 2, "model": "KRAFTON/Raon-1-nano", "revision": "fcf2d1d55e84e2f9fbe7b5d724dcfc4d861cfcee", "preset": "bfp8 (groups mlp, rda, mla, ple, head); MLA kv_b_proj stays bf16", "rounding": { "method": "rtn", "block": 16, "mantissa_bits": { "bfp8": 7 }, "layout": "TT-NN [in, out]: blocks of 16 consecutive output channels of one input channel" }, "layers": { "0": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "1": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "2": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "3": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.kv_a_proj_with_mqa": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_a_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_b_proj": { "format": "bfp8", "group": "mla", "online": false } }, "4": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "5": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "6": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "7": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.kv_a_proj_with_mqa": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_a_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_b_proj": { "format": "bfp8", "group": "mla", "online": false } }, "8": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "9": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "10": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "11": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.kv_a_proj_with_mqa": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_a_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_b_proj": { "format": "bfp8", "group": "mla", "online": false } }, "12": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "13": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "14": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "15": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.kv_a_proj_with_mqa": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_a_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_b_proj": { "format": "bfp8", "group": "mla", "online": false } }, "16": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "17": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "18": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "19": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.kv_a_proj_with_mqa": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_a_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_b_proj": { "format": "bfp8", "group": "mla", "online": false } }, "20": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "21": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "22": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_a_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.f_b_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.k_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.q_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.rda_w_proj": { "format": "bfp8", "group": "rda", "online": false }, "self_attn.v_proj": { "format": "bfp8", "group": "rda", "online": false } }, "23": { "mlp.down_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.gate_proj": { "format": "bfp8", "group": "mlp", "online": false }, "mlp.up_proj": { "format": "bfp8", "group": "mlp", "online": false }, "per_layer_input_gate.gate": { "format": "bfp8", "group": "ple", "online": false }, "per_layer_input_gate.projection": { "format": "bfp8", "group": "ple", "online": false }, "self_attn.g_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.kv_a_proj_with_mqa": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.o_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_a_proj": { "format": "bfp8", "group": "mla", "online": false }, "self_attn.q_b_proj": { "format": "bfp8", "group": "mla", "online": false } } }, "extra": { "model.per_layer_inputs.embedding_projection": { "format": "bfp8", "group": "ple", "online": false } }, "lm_head": "bfp8", "lm_head_tensor": "lm_head.weight", "tensor_formats": { "model.embed_tokens.weight": "bf16", "model.layers.0.input_layernorm.weight": "bf16", "model.layers.0.mlp.down_proj.weight": "bfp8", "model.layers.0.mlp.gate_proj.weight": "bfp8", "model.layers.0.mlp.up_proj.weight": "bfp8", "model.layers.0.mlp_raon_mhc.alpha_post": "bf16", "model.layers.0.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.0.mlp_raon_mhc.b_post": "bf16", "model.layers.0.mlp_raon_mhc.b_pre": "bf16", "model.layers.0.mlp_raon_mhc.phi_post": "bf16", "model.layers.0.mlp_raon_mhc.phi_pre": "bf16", "model.layers.0.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.0.mlp_raon_mhc.res.b_z": "bf16", "model.layers.0.mlp_raon_mhc.res.eta": "float32", "model.layers.0.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.0.per_layer_input_gate.gate": "bfp8", "model.layers.0.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.0.per_layer_input_gate.projection": "bfp8", "model.layers.0.post_attention_layernorm.weight": "bf16", "model.layers.0.self_attn.A_log": "float32", "model.layers.0.self_attn.b_proj.weight": "bfp8", "model.layers.0.self_attn.dt_bias": "float32", "model.layers.0.self_attn.f_a_proj.weight": "bfp8", "model.layers.0.self_attn.f_b_proj.weight": "bfp8", "model.layers.0.self_attn.g_proj.weight": "bfp8", "model.layers.0.self_attn.k_conv1d.weight": "bf16", "model.layers.0.self_attn.k_proj.weight": "bfp8", "model.layers.0.self_attn.o_norm.weight": "bf16", "model.layers.0.self_attn.o_proj.weight": "bfp8", "model.layers.0.self_attn.q_conv1d.weight": "bf16", "model.layers.0.self_attn.q_proj.weight": "bfp8", "model.layers.0.self_attn.rda_w_proj.weight": "bfp8", "model.layers.0.self_attn.v_conv1d.weight": "bf16", "model.layers.0.self_attn.v_proj.weight": "bfp8", "model.layers.0.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.0.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.0.self_attn_raon_mhc.b_post": "bf16", "model.layers.0.self_attn_raon_mhc.b_pre": "bf16", "model.layers.0.self_attn_raon_mhc.phi_post": "bf16", "model.layers.0.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.0.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.0.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.0.self_attn_raon_mhc.res.eta": "float32", "model.layers.0.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.1.input_layernorm.weight": "bf16", "model.layers.1.mlp.down_proj.weight": "bfp8", "model.layers.1.mlp.gate_proj.weight": "bfp8", "model.layers.1.mlp.up_proj.weight": "bfp8", "model.layers.1.mlp_raon_mhc.alpha_post": "bf16", "model.layers.1.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.1.mlp_raon_mhc.b_post": "bf16", "model.layers.1.mlp_raon_mhc.b_pre": "bf16", "model.layers.1.mlp_raon_mhc.phi_post": "bf16", "model.layers.1.mlp_raon_mhc.phi_pre": "bf16", "model.layers.1.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.1.mlp_raon_mhc.res.b_z": "bf16", "model.layers.1.mlp_raon_mhc.res.eta": "float32", "model.layers.1.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.1.per_layer_input_gate.gate": "bfp8", "model.layers.1.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.1.per_layer_input_gate.projection": "bfp8", "model.layers.1.post_attention_layernorm.weight": "bf16", "model.layers.1.self_attn.A_log": "float32", "model.layers.1.self_attn.b_proj.weight": "bfp8", "model.layers.1.self_attn.dt_bias": "float32", "model.layers.1.self_attn.f_a_proj.weight": "bfp8", "model.layers.1.self_attn.f_b_proj.weight": "bfp8", "model.layers.1.self_attn.g_proj.weight": "bfp8", "model.layers.1.self_attn.k_conv1d.weight": "bf16", "model.layers.1.self_attn.k_proj.weight": "bfp8", "model.layers.1.self_attn.o_norm.weight": "bf16", "model.layers.1.self_attn.o_proj.weight": "bfp8", "model.layers.1.self_attn.q_conv1d.weight": "bf16", "model.layers.1.self_attn.q_proj.weight": "bfp8", "model.layers.1.self_attn.rda_w_proj.weight": "bfp8", "model.layers.1.self_attn.v_conv1d.weight": "bf16", "model.layers.1.self_attn.v_proj.weight": "bfp8", "model.layers.1.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.1.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.1.self_attn_raon_mhc.b_post": "bf16", "model.layers.1.self_attn_raon_mhc.b_pre": "bf16", "model.layers.1.self_attn_raon_mhc.phi_post": "bf16", "model.layers.1.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.1.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.1.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.1.self_attn_raon_mhc.res.eta": "float32", "model.layers.1.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.10.input_layernorm.weight": "bf16", "model.layers.10.mlp.down_proj.weight": "bfp8", "model.layers.10.mlp.gate_proj.weight": "bfp8", "model.layers.10.mlp.up_proj.weight": "bfp8", "model.layers.10.mlp_raon_mhc.alpha_post": "bf16", "model.layers.10.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.10.mlp_raon_mhc.b_post": "bf16", "model.layers.10.mlp_raon_mhc.b_pre": "bf16", "model.layers.10.mlp_raon_mhc.phi_post": "bf16", "model.layers.10.mlp_raon_mhc.phi_pre": "bf16", "model.layers.10.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.10.mlp_raon_mhc.res.b_z": "bf16", "model.layers.10.mlp_raon_mhc.res.eta": "float32", "model.layers.10.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.10.per_layer_input_gate.gate": "bfp8", "model.layers.10.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.10.per_layer_input_gate.projection": "bfp8", "model.layers.10.post_attention_layernorm.weight": "bf16", "model.layers.10.self_attn.A_log": "float32", "model.layers.10.self_attn.b_proj.weight": "bfp8", "model.layers.10.self_attn.dt_bias": "float32", "model.layers.10.self_attn.f_a_proj.weight": "bfp8", "model.layers.10.self_attn.f_b_proj.weight": "bfp8", "model.layers.10.self_attn.g_proj.weight": "bfp8", "model.layers.10.self_attn.k_conv1d.weight": "bf16", "model.layers.10.self_attn.k_proj.weight": "bfp8", "model.layers.10.self_attn.o_norm.weight": "bf16", "model.layers.10.self_attn.o_proj.weight": "bfp8", "model.layers.10.self_attn.q_conv1d.weight": "bf16", "model.layers.10.self_attn.q_proj.weight": "bfp8", "model.layers.10.self_attn.rda_w_proj.weight": "bfp8", "model.layers.10.self_attn.v_conv1d.weight": "bf16", "model.layers.10.self_attn.v_proj.weight": "bfp8", "model.layers.10.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.10.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.10.self_attn_raon_mhc.b_post": "bf16", "model.layers.10.self_attn_raon_mhc.b_pre": "bf16", "model.layers.10.self_attn_raon_mhc.phi_post": "bf16", "model.layers.10.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.10.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.10.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.10.self_attn_raon_mhc.res.eta": "float32", "model.layers.10.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.11.input_layernorm.weight": "bf16", "model.layers.11.mlp.down_proj.weight": "bfp8", "model.layers.11.mlp.gate_proj.weight": "bfp8", "model.layers.11.mlp.up_proj.weight": "bfp8", "model.layers.11.mlp_raon_mhc.alpha_post": "bf16", "model.layers.11.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.11.mlp_raon_mhc.b_post": "bf16", "model.layers.11.mlp_raon_mhc.b_pre": "bf16", "model.layers.11.mlp_raon_mhc.phi_post": "bf16", "model.layers.11.mlp_raon_mhc.phi_pre": "bf16", "model.layers.11.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.11.mlp_raon_mhc.res.b_z": "bf16", "model.layers.11.mlp_raon_mhc.res.eta": "float32", "model.layers.11.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.11.per_layer_input_gate.gate": "bfp8", "model.layers.11.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.11.per_layer_input_gate.projection": "bfp8", "model.layers.11.post_attention_layernorm.weight": "bf16", "model.layers.11.self_attn.g_proj.weight": "bfp8", "model.layers.11.self_attn.kv_a_layernorm.weight": "bf16", "model.layers.11.self_attn.kv_a_proj_with_mqa.weight": "bfp8", "model.layers.11.self_attn.kv_b_proj.weight": "bf16", "model.layers.11.self_attn.o_proj.weight": "bfp8", "model.layers.11.self_attn.q_a_layernorm.weight": "bf16", "model.layers.11.self_attn.q_a_proj.weight": "bfp8", "model.layers.11.self_attn.q_b_proj.weight": "bfp8", "model.layers.11.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.11.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.11.self_attn_raon_mhc.b_post": "bf16", "model.layers.11.self_attn_raon_mhc.b_pre": "bf16", "model.layers.11.self_attn_raon_mhc.phi_post": "bf16", "model.layers.11.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.11.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.11.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.11.self_attn_raon_mhc.res.eta": "float32", "model.layers.11.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.12.input_layernorm.weight": "bf16", "model.layers.12.mlp.down_proj.weight": "bfp8", "model.layers.12.mlp.gate_proj.weight": "bfp8", "model.layers.12.mlp.up_proj.weight": "bfp8", "model.layers.12.mlp_raon_mhc.alpha_post": "bf16", "model.layers.12.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.12.mlp_raon_mhc.b_post": "bf16", "model.layers.12.mlp_raon_mhc.b_pre": "bf16", "model.layers.12.mlp_raon_mhc.phi_post": "bf16", "model.layers.12.mlp_raon_mhc.phi_pre": "bf16", "model.layers.12.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.12.mlp_raon_mhc.res.b_z": "bf16", "model.layers.12.mlp_raon_mhc.res.eta": "float32", "model.layers.12.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.12.per_layer_input_gate.gate": "bfp8", "model.layers.12.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.12.per_layer_input_gate.projection": "bfp8", "model.layers.12.post_attention_layernorm.weight": "bf16", "model.layers.12.self_attn.A_log": "float32", "model.layers.12.self_attn.b_proj.weight": "bfp8", "model.layers.12.self_attn.dt_bias": "float32", "model.layers.12.self_attn.f_a_proj.weight": "bfp8", "model.layers.12.self_attn.f_b_proj.weight": "bfp8", "model.layers.12.self_attn.g_proj.weight": "bfp8", "model.layers.12.self_attn.k_conv1d.weight": "bf16", "model.layers.12.self_attn.k_proj.weight": "bfp8", "model.layers.12.self_attn.o_norm.weight": "bf16", "model.layers.12.self_attn.o_proj.weight": "bfp8", "model.layers.12.self_attn.q_conv1d.weight": "bf16", "model.layers.12.self_attn.q_proj.weight": "bfp8", "model.layers.12.self_attn.rda_w_proj.weight": "bfp8", "model.layers.12.self_attn.v_conv1d.weight": "bf16", "model.layers.12.self_attn.v_proj.weight": "bfp8", "model.layers.12.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.12.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.12.self_attn_raon_mhc.b_post": "bf16", "model.layers.12.self_attn_raon_mhc.b_pre": "bf16", "model.layers.12.self_attn_raon_mhc.phi_post": "bf16", "model.layers.12.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.12.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.12.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.12.self_attn_raon_mhc.res.eta": "float32", "model.layers.12.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.13.input_layernorm.weight": "bf16", "model.layers.13.mlp.down_proj.weight": "bfp8", "model.layers.13.mlp.gate_proj.weight": "bfp8", "model.layers.13.mlp.up_proj.weight": "bfp8", "model.layers.13.mlp_raon_mhc.alpha_post": "bf16", "model.layers.13.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.13.mlp_raon_mhc.b_post": "bf16", "model.layers.13.mlp_raon_mhc.b_pre": "bf16", "model.layers.13.mlp_raon_mhc.phi_post": "bf16", "model.layers.13.mlp_raon_mhc.phi_pre": "bf16", "model.layers.13.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.13.mlp_raon_mhc.res.b_z": "bf16", "model.layers.13.mlp_raon_mhc.res.eta": "float32", "model.layers.13.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.13.per_layer_input_gate.gate": "bfp8", "model.layers.13.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.13.per_layer_input_gate.projection": "bfp8", "model.layers.13.post_attention_layernorm.weight": "bf16", "model.layers.13.self_attn.A_log": "float32", "model.layers.13.self_attn.b_proj.weight": "bfp8", "model.layers.13.self_attn.dt_bias": "float32", "model.layers.13.self_attn.f_a_proj.weight": "bfp8", "model.layers.13.self_attn.f_b_proj.weight": "bfp8", "model.layers.13.self_attn.g_proj.weight": "bfp8", "model.layers.13.self_attn.k_conv1d.weight": "bf16", "model.layers.13.self_attn.k_proj.weight": "bfp8", "model.layers.13.self_attn.o_norm.weight": "bf16", "model.layers.13.self_attn.o_proj.weight": "bfp8", "model.layers.13.self_attn.q_conv1d.weight": "bf16", "model.layers.13.self_attn.q_proj.weight": "bfp8", "model.layers.13.self_attn.rda_w_proj.weight": "bfp8", "model.layers.13.self_attn.v_conv1d.weight": "bf16", "model.layers.13.self_attn.v_proj.weight": "bfp8", "model.layers.13.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.13.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.13.self_attn_raon_mhc.b_post": "bf16", "model.layers.13.self_attn_raon_mhc.b_pre": "bf16", "model.layers.13.self_attn_raon_mhc.phi_post": "bf16", "model.layers.13.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.13.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.13.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.13.self_attn_raon_mhc.res.eta": "float32", "model.layers.13.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.14.input_layernorm.weight": "bf16", "model.layers.14.mlp.down_proj.weight": "bfp8", "model.layers.14.mlp.gate_proj.weight": "bfp8", "model.layers.14.mlp.up_proj.weight": "bfp8", "model.layers.14.mlp_raon_mhc.alpha_post": "bf16", "model.layers.14.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.14.mlp_raon_mhc.b_post": "bf16", "model.layers.14.mlp_raon_mhc.b_pre": "bf16", "model.layers.14.mlp_raon_mhc.phi_post": "bf16", "model.layers.14.mlp_raon_mhc.phi_pre": "bf16", "model.layers.14.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.14.mlp_raon_mhc.res.b_z": "bf16", "model.layers.14.mlp_raon_mhc.res.eta": "float32", "model.layers.14.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.14.per_layer_input_gate.gate": "bfp8", "model.layers.14.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.14.per_layer_input_gate.projection": "bfp8", "model.layers.14.post_attention_layernorm.weight": "bf16", "model.layers.14.self_attn.A_log": "float32", "model.layers.14.self_attn.b_proj.weight": "bfp8", "model.layers.14.self_attn.dt_bias": "float32", "model.layers.14.self_attn.f_a_proj.weight": "bfp8", "model.layers.14.self_attn.f_b_proj.weight": "bfp8", "model.layers.14.self_attn.g_proj.weight": "bfp8", "model.layers.14.self_attn.k_conv1d.weight": "bf16", "model.layers.14.self_attn.k_proj.weight": "bfp8", "model.layers.14.self_attn.o_norm.weight": "bf16", "model.layers.14.self_attn.o_proj.weight": "bfp8", "model.layers.14.self_attn.q_conv1d.weight": "bf16", "model.layers.14.self_attn.q_proj.weight": "bfp8", "model.layers.14.self_attn.rda_w_proj.weight": "bfp8", "model.layers.14.self_attn.v_conv1d.weight": "bf16", "model.layers.14.self_attn.v_proj.weight": "bfp8", "model.layers.14.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.14.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.14.self_attn_raon_mhc.b_post": "bf16", "model.layers.14.self_attn_raon_mhc.b_pre": "bf16", "model.layers.14.self_attn_raon_mhc.phi_post": "bf16", "model.layers.14.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.14.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.14.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.14.self_attn_raon_mhc.res.eta": "float32", "model.layers.14.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.15.input_layernorm.weight": "bf16", "model.layers.15.mlp.down_proj.weight": "bfp8", "model.layers.15.mlp.gate_proj.weight": "bfp8", "model.layers.15.mlp.up_proj.weight": "bfp8", "model.layers.15.mlp_raon_mhc.alpha_post": "bf16", "model.layers.15.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.15.mlp_raon_mhc.b_post": "bf16", "model.layers.15.mlp_raon_mhc.b_pre": "bf16", "model.layers.15.mlp_raon_mhc.phi_post": "bf16", "model.layers.15.mlp_raon_mhc.phi_pre": "bf16", "model.layers.15.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.15.mlp_raon_mhc.res.b_z": "bf16", "model.layers.15.mlp_raon_mhc.res.eta": "float32", "model.layers.15.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.15.per_layer_input_gate.gate": "bfp8", "model.layers.15.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.15.per_layer_input_gate.projection": "bfp8", "model.layers.15.post_attention_layernorm.weight": "bf16", "model.layers.15.self_attn.g_proj.weight": "bfp8", "model.layers.15.self_attn.kv_a_layernorm.weight": "bf16", "model.layers.15.self_attn.kv_a_proj_with_mqa.weight": "bfp8", "model.layers.15.self_attn.kv_b_proj.weight": "bf16", "model.layers.15.self_attn.o_proj.weight": "bfp8", "model.layers.15.self_attn.q_a_layernorm.weight": "bf16", "model.layers.15.self_attn.q_a_proj.weight": "bfp8", "model.layers.15.self_attn.q_b_proj.weight": "bfp8", "model.layers.15.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.15.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.15.self_attn_raon_mhc.b_post": "bf16", "model.layers.15.self_attn_raon_mhc.b_pre": "bf16", "model.layers.15.self_attn_raon_mhc.phi_post": "bf16", "model.layers.15.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.15.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.15.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.15.self_attn_raon_mhc.res.eta": "float32", "model.layers.15.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.16.input_layernorm.weight": "bf16", "model.layers.16.mlp.down_proj.weight": "bfp8", "model.layers.16.mlp.gate_proj.weight": "bfp8", "model.layers.16.mlp.up_proj.weight": "bfp8", "model.layers.16.mlp_raon_mhc.alpha_post": "bf16", "model.layers.16.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.16.mlp_raon_mhc.b_post": "bf16", "model.layers.16.mlp_raon_mhc.b_pre": "bf16", "model.layers.16.mlp_raon_mhc.phi_post": "bf16", "model.layers.16.mlp_raon_mhc.phi_pre": "bf16", "model.layers.16.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.16.mlp_raon_mhc.res.b_z": "bf16", "model.layers.16.mlp_raon_mhc.res.eta": "float32", "model.layers.16.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.16.per_layer_input_gate.gate": "bfp8", "model.layers.16.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.16.per_layer_input_gate.projection": "bfp8", "model.layers.16.post_attention_layernorm.weight": "bf16", "model.layers.16.self_attn.A_log": "float32", "model.layers.16.self_attn.b_proj.weight": "bfp8", "model.layers.16.self_attn.dt_bias": "float32", "model.layers.16.self_attn.f_a_proj.weight": "bfp8", "model.layers.16.self_attn.f_b_proj.weight": "bfp8", "model.layers.16.self_attn.g_proj.weight": "bfp8", "model.layers.16.self_attn.k_conv1d.weight": "bf16", "model.layers.16.self_attn.k_proj.weight": "bfp8", "model.layers.16.self_attn.o_norm.weight": "bf16", "model.layers.16.self_attn.o_proj.weight": "bfp8", "model.layers.16.self_attn.q_conv1d.weight": "bf16", "model.layers.16.self_attn.q_proj.weight": "bfp8", "model.layers.16.self_attn.rda_w_proj.weight": "bfp8", "model.layers.16.self_attn.v_conv1d.weight": "bf16", "model.layers.16.self_attn.v_proj.weight": "bfp8", "model.layers.16.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.16.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.16.self_attn_raon_mhc.b_post": "bf16", "model.layers.16.self_attn_raon_mhc.b_pre": "bf16", "model.layers.16.self_attn_raon_mhc.phi_post": "bf16", "model.layers.16.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.16.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.16.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.16.self_attn_raon_mhc.res.eta": "float32", "model.layers.16.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.17.input_layernorm.weight": "bf16", "model.layers.17.mlp.down_proj.weight": "bfp8", "model.layers.17.mlp.gate_proj.weight": "bfp8", "model.layers.17.mlp.up_proj.weight": "bfp8", "model.layers.17.mlp_raon_mhc.alpha_post": "bf16", "model.layers.17.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.17.mlp_raon_mhc.b_post": "bf16", "model.layers.17.mlp_raon_mhc.b_pre": "bf16", "model.layers.17.mlp_raon_mhc.phi_post": "bf16", "model.layers.17.mlp_raon_mhc.phi_pre": "bf16", "model.layers.17.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.17.mlp_raon_mhc.res.b_z": "bf16", "model.layers.17.mlp_raon_mhc.res.eta": "float32", "model.layers.17.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.17.per_layer_input_gate.gate": "bfp8", "model.layers.17.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.17.per_layer_input_gate.projection": "bfp8", "model.layers.17.post_attention_layernorm.weight": "bf16", "model.layers.17.self_attn.A_log": "float32", "model.layers.17.self_attn.b_proj.weight": "bfp8", "model.layers.17.self_attn.dt_bias": "float32", "model.layers.17.self_attn.f_a_proj.weight": "bfp8", "model.layers.17.self_attn.f_b_proj.weight": "bfp8", "model.layers.17.self_attn.g_proj.weight": "bfp8", "model.layers.17.self_attn.k_conv1d.weight": "bf16", "model.layers.17.self_attn.k_proj.weight": "bfp8", "model.layers.17.self_attn.o_norm.weight": "bf16", "model.layers.17.self_attn.o_proj.weight": "bfp8", "model.layers.17.self_attn.q_conv1d.weight": "bf16", "model.layers.17.self_attn.q_proj.weight": "bfp8", "model.layers.17.self_attn.rda_w_proj.weight": "bfp8", "model.layers.17.self_attn.v_conv1d.weight": "bf16", "model.layers.17.self_attn.v_proj.weight": "bfp8", "model.layers.17.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.17.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.17.self_attn_raon_mhc.b_post": "bf16", "model.layers.17.self_attn_raon_mhc.b_pre": "bf16", "model.layers.17.self_attn_raon_mhc.phi_post": "bf16", "model.layers.17.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.17.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.17.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.17.self_attn_raon_mhc.res.eta": "float32", "model.layers.17.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.18.input_layernorm.weight": "bf16", "model.layers.18.mlp.down_proj.weight": "bfp8", "model.layers.18.mlp.gate_proj.weight": "bfp8", "model.layers.18.mlp.up_proj.weight": "bfp8", "model.layers.18.mlp_raon_mhc.alpha_post": "bf16", "model.layers.18.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.18.mlp_raon_mhc.b_post": "bf16", "model.layers.18.mlp_raon_mhc.b_pre": "bf16", "model.layers.18.mlp_raon_mhc.phi_post": "bf16", "model.layers.18.mlp_raon_mhc.phi_pre": "bf16", "model.layers.18.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.18.mlp_raon_mhc.res.b_z": "bf16", "model.layers.18.mlp_raon_mhc.res.eta": "float32", "model.layers.18.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.18.per_layer_input_gate.gate": "bfp8", "model.layers.18.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.18.per_layer_input_gate.projection": "bfp8", "model.layers.18.post_attention_layernorm.weight": "bf16", "model.layers.18.self_attn.A_log": "float32", "model.layers.18.self_attn.b_proj.weight": "bfp8", "model.layers.18.self_attn.dt_bias": "float32", "model.layers.18.self_attn.f_a_proj.weight": "bfp8", "model.layers.18.self_attn.f_b_proj.weight": "bfp8", "model.layers.18.self_attn.g_proj.weight": "bfp8", "model.layers.18.self_attn.k_conv1d.weight": "bf16", "model.layers.18.self_attn.k_proj.weight": "bfp8", "model.layers.18.self_attn.o_norm.weight": "bf16", "model.layers.18.self_attn.o_proj.weight": "bfp8", "model.layers.18.self_attn.q_conv1d.weight": "bf16", "model.layers.18.self_attn.q_proj.weight": "bfp8", "model.layers.18.self_attn.rda_w_proj.weight": "bfp8", "model.layers.18.self_attn.v_conv1d.weight": "bf16", "model.layers.18.self_attn.v_proj.weight": "bfp8", "model.layers.18.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.18.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.18.self_attn_raon_mhc.b_post": "bf16", "model.layers.18.self_attn_raon_mhc.b_pre": "bf16", "model.layers.18.self_attn_raon_mhc.phi_post": "bf16", "model.layers.18.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.18.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.18.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.18.self_attn_raon_mhc.res.eta": "float32", "model.layers.18.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.19.input_layernorm.weight": "bf16", "model.layers.19.mlp.down_proj.weight": "bfp8", "model.layers.19.mlp.gate_proj.weight": "bfp8", "model.layers.19.mlp.up_proj.weight": "bfp8", "model.layers.19.mlp_raon_mhc.alpha_post": "bf16", "model.layers.19.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.19.mlp_raon_mhc.b_post": "bf16", "model.layers.19.mlp_raon_mhc.b_pre": "bf16", "model.layers.19.mlp_raon_mhc.phi_post": "bf16", "model.layers.19.mlp_raon_mhc.phi_pre": "bf16", "model.layers.19.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.19.mlp_raon_mhc.res.b_z": "bf16", "model.layers.19.mlp_raon_mhc.res.eta": "float32", "model.layers.19.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.19.per_layer_input_gate.gate": "bfp8", "model.layers.19.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.19.per_layer_input_gate.projection": "bfp8", "model.layers.19.post_attention_layernorm.weight": "bf16", "model.layers.19.self_attn.g_proj.weight": "bfp8", "model.layers.19.self_attn.kv_a_layernorm.weight": "bf16", "model.layers.19.self_attn.kv_a_proj_with_mqa.weight": "bfp8", "model.layers.19.self_attn.kv_b_proj.weight": "bf16", "model.layers.19.self_attn.o_proj.weight": "bfp8", "model.layers.19.self_attn.q_a_layernorm.weight": "bf16", "model.layers.19.self_attn.q_a_proj.weight": "bfp8", "model.layers.19.self_attn.q_b_proj.weight": "bfp8", "model.layers.19.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.19.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.19.self_attn_raon_mhc.b_post": "bf16", "model.layers.19.self_attn_raon_mhc.b_pre": "bf16", "model.layers.19.self_attn_raon_mhc.phi_post": "bf16", "model.layers.19.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.19.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.19.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.19.self_attn_raon_mhc.res.eta": "float32", "model.layers.19.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.2.input_layernorm.weight": "bf16", "model.layers.2.mlp.down_proj.weight": "bfp8", "model.layers.2.mlp.gate_proj.weight": "bfp8", "model.layers.2.mlp.up_proj.weight": "bfp8", "model.layers.2.mlp_raon_mhc.alpha_post": "bf16", "model.layers.2.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.2.mlp_raon_mhc.b_post": "bf16", "model.layers.2.mlp_raon_mhc.b_pre": "bf16", "model.layers.2.mlp_raon_mhc.phi_post": "bf16", "model.layers.2.mlp_raon_mhc.phi_pre": "bf16", "model.layers.2.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.2.mlp_raon_mhc.res.b_z": "bf16", "model.layers.2.mlp_raon_mhc.res.eta": "float32", "model.layers.2.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.2.per_layer_input_gate.gate": "bfp8", "model.layers.2.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.2.per_layer_input_gate.projection": "bfp8", "model.layers.2.post_attention_layernorm.weight": "bf16", "model.layers.2.self_attn.A_log": "float32", "model.layers.2.self_attn.b_proj.weight": "bfp8", "model.layers.2.self_attn.dt_bias": "float32", "model.layers.2.self_attn.f_a_proj.weight": "bfp8", "model.layers.2.self_attn.f_b_proj.weight": "bfp8", "model.layers.2.self_attn.g_proj.weight": "bfp8", "model.layers.2.self_attn.k_conv1d.weight": "bf16", "model.layers.2.self_attn.k_proj.weight": "bfp8", "model.layers.2.self_attn.o_norm.weight": "bf16", "model.layers.2.self_attn.o_proj.weight": "bfp8", "model.layers.2.self_attn.q_conv1d.weight": "bf16", "model.layers.2.self_attn.q_proj.weight": "bfp8", "model.layers.2.self_attn.rda_w_proj.weight": "bfp8", "model.layers.2.self_attn.v_conv1d.weight": "bf16", "model.layers.2.self_attn.v_proj.weight": "bfp8", "model.layers.2.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.2.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.2.self_attn_raon_mhc.b_post": "bf16", "model.layers.2.self_attn_raon_mhc.b_pre": "bf16", "model.layers.2.self_attn_raon_mhc.phi_post": "bf16", "model.layers.2.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.2.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.2.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.2.self_attn_raon_mhc.res.eta": "float32", "model.layers.2.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.20.input_layernorm.weight": "bf16", "model.layers.20.mlp.down_proj.weight": "bfp8", "model.layers.20.mlp.gate_proj.weight": "bfp8", "model.layers.20.mlp.up_proj.weight": "bfp8", "model.layers.20.mlp_raon_mhc.alpha_post": "bf16", "model.layers.20.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.20.mlp_raon_mhc.b_post": "bf16", "model.layers.20.mlp_raon_mhc.b_pre": "bf16", "model.layers.20.mlp_raon_mhc.phi_post": "bf16", "model.layers.20.mlp_raon_mhc.phi_pre": "bf16", "model.layers.20.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.20.mlp_raon_mhc.res.b_z": "bf16", "model.layers.20.mlp_raon_mhc.res.eta": "float32", "model.layers.20.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.20.per_layer_input_gate.gate": "bfp8", "model.layers.20.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.20.per_layer_input_gate.projection": "bfp8", "model.layers.20.post_attention_layernorm.weight": "bf16", "model.layers.20.self_attn.A_log": "float32", "model.layers.20.self_attn.b_proj.weight": "bfp8", "model.layers.20.self_attn.dt_bias": "float32", "model.layers.20.self_attn.f_a_proj.weight": "bfp8", "model.layers.20.self_attn.f_b_proj.weight": "bfp8", "model.layers.20.self_attn.g_proj.weight": "bfp8", "model.layers.20.self_attn.k_conv1d.weight": "bf16", "model.layers.20.self_attn.k_proj.weight": "bfp8", "model.layers.20.self_attn.o_norm.weight": "bf16", "model.layers.20.self_attn.o_proj.weight": "bfp8", "model.layers.20.self_attn.q_conv1d.weight": "bf16", "model.layers.20.self_attn.q_proj.weight": "bfp8", "model.layers.20.self_attn.rda_w_proj.weight": "bfp8", "model.layers.20.self_attn.v_conv1d.weight": "bf16", "model.layers.20.self_attn.v_proj.weight": "bfp8", "model.layers.20.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.20.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.20.self_attn_raon_mhc.b_post": "bf16", "model.layers.20.self_attn_raon_mhc.b_pre": "bf16", "model.layers.20.self_attn_raon_mhc.phi_post": "bf16", "model.layers.20.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.20.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.20.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.20.self_attn_raon_mhc.res.eta": "float32", "model.layers.20.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.21.input_layernorm.weight": "bf16", "model.layers.21.mlp.down_proj.weight": "bfp8", "model.layers.21.mlp.gate_proj.weight": "bfp8", "model.layers.21.mlp.up_proj.weight": "bfp8", "model.layers.21.mlp_raon_mhc.alpha_post": "bf16", "model.layers.21.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.21.mlp_raon_mhc.b_post": "bf16", "model.layers.21.mlp_raon_mhc.b_pre": "bf16", "model.layers.21.mlp_raon_mhc.phi_post": "bf16", "model.layers.21.mlp_raon_mhc.phi_pre": "bf16", "model.layers.21.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.21.mlp_raon_mhc.res.b_z": "bf16", "model.layers.21.mlp_raon_mhc.res.eta": "float32", "model.layers.21.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.21.per_layer_input_gate.gate": "bfp8", "model.layers.21.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.21.per_layer_input_gate.projection": "bfp8", "model.layers.21.post_attention_layernorm.weight": "bf16", "model.layers.21.self_attn.A_log": "float32", "model.layers.21.self_attn.b_proj.weight": "bfp8", "model.layers.21.self_attn.dt_bias": "float32", "model.layers.21.self_attn.f_a_proj.weight": "bfp8", "model.layers.21.self_attn.f_b_proj.weight": "bfp8", "model.layers.21.self_attn.g_proj.weight": "bfp8", "model.layers.21.self_attn.k_conv1d.weight": "bf16", "model.layers.21.self_attn.k_proj.weight": "bfp8", "model.layers.21.self_attn.o_norm.weight": "bf16", "model.layers.21.self_attn.o_proj.weight": "bfp8", "model.layers.21.self_attn.q_conv1d.weight": "bf16", "model.layers.21.self_attn.q_proj.weight": "bfp8", "model.layers.21.self_attn.rda_w_proj.weight": "bfp8", "model.layers.21.self_attn.v_conv1d.weight": "bf16", "model.layers.21.self_attn.v_proj.weight": "bfp8", "model.layers.21.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.21.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.21.self_attn_raon_mhc.b_post": "bf16", "model.layers.21.self_attn_raon_mhc.b_pre": "bf16", "model.layers.21.self_attn_raon_mhc.phi_post": "bf16", "model.layers.21.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.21.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.21.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.21.self_attn_raon_mhc.res.eta": "float32", "model.layers.21.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.22.input_layernorm.weight": "bf16", "model.layers.22.mlp.down_proj.weight": "bfp8", "model.layers.22.mlp.gate_proj.weight": "bfp8", "model.layers.22.mlp.up_proj.weight": "bfp8", "model.layers.22.mlp_raon_mhc.alpha_post": "bf16", "model.layers.22.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.22.mlp_raon_mhc.b_post": "bf16", "model.layers.22.mlp_raon_mhc.b_pre": "bf16", "model.layers.22.mlp_raon_mhc.phi_post": "bf16", "model.layers.22.mlp_raon_mhc.phi_pre": "bf16", "model.layers.22.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.22.mlp_raon_mhc.res.b_z": "bf16", "model.layers.22.mlp_raon_mhc.res.eta": "float32", "model.layers.22.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.22.per_layer_input_gate.gate": "bfp8", "model.layers.22.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.22.per_layer_input_gate.projection": "bfp8", "model.layers.22.post_attention_layernorm.weight": "bf16", "model.layers.22.self_attn.A_log": "float32", "model.layers.22.self_attn.b_proj.weight": "bfp8", "model.layers.22.self_attn.dt_bias": "float32", "model.layers.22.self_attn.f_a_proj.weight": "bfp8", "model.layers.22.self_attn.f_b_proj.weight": "bfp8", "model.layers.22.self_attn.g_proj.weight": "bfp8", "model.layers.22.self_attn.k_conv1d.weight": "bf16", "model.layers.22.self_attn.k_proj.weight": "bfp8", "model.layers.22.self_attn.o_norm.weight": "bf16", "model.layers.22.self_attn.o_proj.weight": "bfp8", "model.layers.22.self_attn.q_conv1d.weight": "bf16", "model.layers.22.self_attn.q_proj.weight": "bfp8", "model.layers.22.self_attn.rda_w_proj.weight": "bfp8", "model.layers.22.self_attn.v_conv1d.weight": "bf16", "model.layers.22.self_attn.v_proj.weight": "bfp8", "model.layers.22.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.22.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.22.self_attn_raon_mhc.b_post": "bf16", "model.layers.22.self_attn_raon_mhc.b_pre": "bf16", "model.layers.22.self_attn_raon_mhc.phi_post": "bf16", "model.layers.22.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.22.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.22.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.22.self_attn_raon_mhc.res.eta": "float32", "model.layers.22.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.23.input_layernorm.weight": "bf16", "model.layers.23.mlp.down_proj.weight": "bfp8", "model.layers.23.mlp.gate_proj.weight": "bfp8", "model.layers.23.mlp.up_proj.weight": "bfp8", "model.layers.23.mlp_raon_mhc.alpha_post": "bf16", "model.layers.23.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.23.mlp_raon_mhc.b_post": "bf16", "model.layers.23.mlp_raon_mhc.b_pre": "bf16", "model.layers.23.mlp_raon_mhc.phi_post": "bf16", "model.layers.23.mlp_raon_mhc.phi_pre": "bf16", "model.layers.23.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.23.mlp_raon_mhc.res.b_z": "bf16", "model.layers.23.mlp_raon_mhc.res.eta": "float32", "model.layers.23.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.23.per_layer_input_gate.gate": "bfp8", "model.layers.23.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.23.per_layer_input_gate.projection": "bfp8", "model.layers.23.post_attention_layernorm.weight": "bf16", "model.layers.23.self_attn.g_proj.weight": "bfp8", "model.layers.23.self_attn.kv_a_layernorm.weight": "bf16", "model.layers.23.self_attn.kv_a_proj_with_mqa.weight": "bfp8", "model.layers.23.self_attn.kv_b_proj.weight": "bf16", "model.layers.23.self_attn.o_proj.weight": "bfp8", "model.layers.23.self_attn.q_a_layernorm.weight": "bf16", "model.layers.23.self_attn.q_a_proj.weight": "bfp8", "model.layers.23.self_attn.q_b_proj.weight": "bfp8", "model.layers.23.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.23.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.23.self_attn_raon_mhc.b_post": "bf16", "model.layers.23.self_attn_raon_mhc.b_pre": "bf16", "model.layers.23.self_attn_raon_mhc.phi_post": "bf16", "model.layers.23.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.23.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.23.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.23.self_attn_raon_mhc.res.eta": "float32", "model.layers.23.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.3.input_layernorm.weight": "bf16", "model.layers.3.mlp.down_proj.weight": "bfp8", "model.layers.3.mlp.gate_proj.weight": "bfp8", "model.layers.3.mlp.up_proj.weight": "bfp8", "model.layers.3.mlp_raon_mhc.alpha_post": "bf16", "model.layers.3.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.3.mlp_raon_mhc.b_post": "bf16", "model.layers.3.mlp_raon_mhc.b_pre": "bf16", "model.layers.3.mlp_raon_mhc.phi_post": "bf16", "model.layers.3.mlp_raon_mhc.phi_pre": "bf16", "model.layers.3.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.3.mlp_raon_mhc.res.b_z": "bf16", "model.layers.3.mlp_raon_mhc.res.eta": "float32", "model.layers.3.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.3.per_layer_input_gate.gate": "bfp8", "model.layers.3.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.3.per_layer_input_gate.projection": "bfp8", "model.layers.3.post_attention_layernorm.weight": "bf16", "model.layers.3.self_attn.g_proj.weight": "bfp8", "model.layers.3.self_attn.kv_a_layernorm.weight": "bf16", "model.layers.3.self_attn.kv_a_proj_with_mqa.weight": "bfp8", "model.layers.3.self_attn.kv_b_proj.weight": "bf16", "model.layers.3.self_attn.o_proj.weight": "bfp8", "model.layers.3.self_attn.q_a_layernorm.weight": "bf16", "model.layers.3.self_attn.q_a_proj.weight": "bfp8", "model.layers.3.self_attn.q_b_proj.weight": "bfp8", "model.layers.3.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.3.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.3.self_attn_raon_mhc.b_post": "bf16", "model.layers.3.self_attn_raon_mhc.b_pre": "bf16", "model.layers.3.self_attn_raon_mhc.phi_post": "bf16", "model.layers.3.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.3.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.3.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.3.self_attn_raon_mhc.res.eta": "float32", "model.layers.3.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.4.input_layernorm.weight": "bf16", "model.layers.4.mlp.down_proj.weight": "bfp8", "model.layers.4.mlp.gate_proj.weight": "bfp8", "model.layers.4.mlp.up_proj.weight": "bfp8", "model.layers.4.mlp_raon_mhc.alpha_post": "bf16", "model.layers.4.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.4.mlp_raon_mhc.b_post": "bf16", "model.layers.4.mlp_raon_mhc.b_pre": "bf16", "model.layers.4.mlp_raon_mhc.phi_post": "bf16", "model.layers.4.mlp_raon_mhc.phi_pre": "bf16", "model.layers.4.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.4.mlp_raon_mhc.res.b_z": "bf16", "model.layers.4.mlp_raon_mhc.res.eta": "float32", "model.layers.4.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.4.per_layer_input_gate.gate": "bfp8", "model.layers.4.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.4.per_layer_input_gate.projection": "bfp8", "model.layers.4.post_attention_layernorm.weight": "bf16", "model.layers.4.self_attn.A_log": "float32", "model.layers.4.self_attn.b_proj.weight": "bfp8", "model.layers.4.self_attn.dt_bias": "float32", "model.layers.4.self_attn.f_a_proj.weight": "bfp8", "model.layers.4.self_attn.f_b_proj.weight": "bfp8", "model.layers.4.self_attn.g_proj.weight": "bfp8", "model.layers.4.self_attn.k_conv1d.weight": "bf16", "model.layers.4.self_attn.k_proj.weight": "bfp8", "model.layers.4.self_attn.o_norm.weight": "bf16", "model.layers.4.self_attn.o_proj.weight": "bfp8", "model.layers.4.self_attn.q_conv1d.weight": "bf16", "model.layers.4.self_attn.q_proj.weight": "bfp8", "model.layers.4.self_attn.rda_w_proj.weight": "bfp8", "model.layers.4.self_attn.v_conv1d.weight": "bf16", "model.layers.4.self_attn.v_proj.weight": "bfp8", "model.layers.4.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.4.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.4.self_attn_raon_mhc.b_post": "bf16", "model.layers.4.self_attn_raon_mhc.b_pre": "bf16", "model.layers.4.self_attn_raon_mhc.phi_post": "bf16", "model.layers.4.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.4.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.4.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.4.self_attn_raon_mhc.res.eta": "float32", "model.layers.4.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.5.input_layernorm.weight": "bf16", "model.layers.5.mlp.down_proj.weight": "bfp8", "model.layers.5.mlp.gate_proj.weight": "bfp8", "model.layers.5.mlp.up_proj.weight": "bfp8", "model.layers.5.mlp_raon_mhc.alpha_post": "bf16", "model.layers.5.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.5.mlp_raon_mhc.b_post": "bf16", "model.layers.5.mlp_raon_mhc.b_pre": "bf16", "model.layers.5.mlp_raon_mhc.phi_post": "bf16", "model.layers.5.mlp_raon_mhc.phi_pre": "bf16", "model.layers.5.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.5.mlp_raon_mhc.res.b_z": "bf16", "model.layers.5.mlp_raon_mhc.res.eta": "float32", "model.layers.5.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.5.per_layer_input_gate.gate": "bfp8", "model.layers.5.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.5.per_layer_input_gate.projection": "bfp8", "model.layers.5.post_attention_layernorm.weight": "bf16", "model.layers.5.self_attn.A_log": "float32", "model.layers.5.self_attn.b_proj.weight": "bfp8", "model.layers.5.self_attn.dt_bias": "float32", "model.layers.5.self_attn.f_a_proj.weight": "bfp8", "model.layers.5.self_attn.f_b_proj.weight": "bfp8", "model.layers.5.self_attn.g_proj.weight": "bfp8", "model.layers.5.self_attn.k_conv1d.weight": "bf16", "model.layers.5.self_attn.k_proj.weight": "bfp8", "model.layers.5.self_attn.o_norm.weight": "bf16", "model.layers.5.self_attn.o_proj.weight": "bfp8", "model.layers.5.self_attn.q_conv1d.weight": "bf16", "model.layers.5.self_attn.q_proj.weight": "bfp8", "model.layers.5.self_attn.rda_w_proj.weight": "bfp8", "model.layers.5.self_attn.v_conv1d.weight": "bf16", "model.layers.5.self_attn.v_proj.weight": "bfp8", "model.layers.5.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.5.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.5.self_attn_raon_mhc.b_post": "bf16", "model.layers.5.self_attn_raon_mhc.b_pre": "bf16", "model.layers.5.self_attn_raon_mhc.phi_post": "bf16", "model.layers.5.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.5.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.5.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.5.self_attn_raon_mhc.res.eta": "float32", "model.layers.5.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.6.input_layernorm.weight": "bf16", "model.layers.6.mlp.down_proj.weight": "bfp8", "model.layers.6.mlp.gate_proj.weight": "bfp8", "model.layers.6.mlp.up_proj.weight": "bfp8", "model.layers.6.mlp_raon_mhc.alpha_post": "bf16", "model.layers.6.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.6.mlp_raon_mhc.b_post": "bf16", "model.layers.6.mlp_raon_mhc.b_pre": "bf16", "model.layers.6.mlp_raon_mhc.phi_post": "bf16", "model.layers.6.mlp_raon_mhc.phi_pre": "bf16", "model.layers.6.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.6.mlp_raon_mhc.res.b_z": "bf16", "model.layers.6.mlp_raon_mhc.res.eta": "float32", "model.layers.6.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.6.per_layer_input_gate.gate": "bfp8", "model.layers.6.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.6.per_layer_input_gate.projection": "bfp8", "model.layers.6.post_attention_layernorm.weight": "bf16", "model.layers.6.self_attn.A_log": "float32", "model.layers.6.self_attn.b_proj.weight": "bfp8", "model.layers.6.self_attn.dt_bias": "float32", "model.layers.6.self_attn.f_a_proj.weight": "bfp8", "model.layers.6.self_attn.f_b_proj.weight": "bfp8", "model.layers.6.self_attn.g_proj.weight": "bfp8", "model.layers.6.self_attn.k_conv1d.weight": "bf16", "model.layers.6.self_attn.k_proj.weight": "bfp8", "model.layers.6.self_attn.o_norm.weight": "bf16", "model.layers.6.self_attn.o_proj.weight": "bfp8", "model.layers.6.self_attn.q_conv1d.weight": "bf16", "model.layers.6.self_attn.q_proj.weight": "bfp8", "model.layers.6.self_attn.rda_w_proj.weight": "bfp8", "model.layers.6.self_attn.v_conv1d.weight": "bf16", "model.layers.6.self_attn.v_proj.weight": "bfp8", "model.layers.6.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.6.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.6.self_attn_raon_mhc.b_post": "bf16", "model.layers.6.self_attn_raon_mhc.b_pre": "bf16", "model.layers.6.self_attn_raon_mhc.phi_post": "bf16", "model.layers.6.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.6.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.6.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.6.self_attn_raon_mhc.res.eta": "float32", "model.layers.6.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.7.input_layernorm.weight": "bf16", "model.layers.7.mlp.down_proj.weight": "bfp8", "model.layers.7.mlp.gate_proj.weight": "bfp8", "model.layers.7.mlp.up_proj.weight": "bfp8", "model.layers.7.mlp_raon_mhc.alpha_post": "bf16", "model.layers.7.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.7.mlp_raon_mhc.b_post": "bf16", "model.layers.7.mlp_raon_mhc.b_pre": "bf16", "model.layers.7.mlp_raon_mhc.phi_post": "bf16", "model.layers.7.mlp_raon_mhc.phi_pre": "bf16", "model.layers.7.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.7.mlp_raon_mhc.res.b_z": "bf16", "model.layers.7.mlp_raon_mhc.res.eta": "float32", "model.layers.7.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.7.per_layer_input_gate.gate": "bfp8", "model.layers.7.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.7.per_layer_input_gate.projection": "bfp8", "model.layers.7.post_attention_layernorm.weight": "bf16", "model.layers.7.self_attn.g_proj.weight": "bfp8", "model.layers.7.self_attn.kv_a_layernorm.weight": "bf16", "model.layers.7.self_attn.kv_a_proj_with_mqa.weight": "bfp8", "model.layers.7.self_attn.kv_b_proj.weight": "bf16", "model.layers.7.self_attn.o_proj.weight": "bfp8", "model.layers.7.self_attn.q_a_layernorm.weight": "bf16", "model.layers.7.self_attn.q_a_proj.weight": "bfp8", "model.layers.7.self_attn.q_b_proj.weight": "bfp8", "model.layers.7.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.7.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.7.self_attn_raon_mhc.b_post": "bf16", "model.layers.7.self_attn_raon_mhc.b_pre": "bf16", "model.layers.7.self_attn_raon_mhc.phi_post": "bf16", "model.layers.7.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.7.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.7.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.7.self_attn_raon_mhc.res.eta": "float32", "model.layers.7.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.8.input_layernorm.weight": "bf16", "model.layers.8.mlp.down_proj.weight": "bfp8", "model.layers.8.mlp.gate_proj.weight": "bfp8", "model.layers.8.mlp.up_proj.weight": "bfp8", "model.layers.8.mlp_raon_mhc.alpha_post": "bf16", "model.layers.8.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.8.mlp_raon_mhc.b_post": "bf16", "model.layers.8.mlp_raon_mhc.b_pre": "bf16", "model.layers.8.mlp_raon_mhc.phi_post": "bf16", "model.layers.8.mlp_raon_mhc.phi_pre": "bf16", "model.layers.8.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.8.mlp_raon_mhc.res.b_z": "bf16", "model.layers.8.mlp_raon_mhc.res.eta": "float32", "model.layers.8.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.8.per_layer_input_gate.gate": "bfp8", "model.layers.8.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.8.per_layer_input_gate.projection": "bfp8", "model.layers.8.post_attention_layernorm.weight": "bf16", "model.layers.8.self_attn.A_log": "float32", "model.layers.8.self_attn.b_proj.weight": "bfp8", "model.layers.8.self_attn.dt_bias": "float32", "model.layers.8.self_attn.f_a_proj.weight": "bfp8", "model.layers.8.self_attn.f_b_proj.weight": "bfp8", "model.layers.8.self_attn.g_proj.weight": "bfp8", "model.layers.8.self_attn.k_conv1d.weight": "bf16", "model.layers.8.self_attn.k_proj.weight": "bfp8", "model.layers.8.self_attn.o_norm.weight": "bf16", "model.layers.8.self_attn.o_proj.weight": "bfp8", "model.layers.8.self_attn.q_conv1d.weight": "bf16", "model.layers.8.self_attn.q_proj.weight": "bfp8", "model.layers.8.self_attn.rda_w_proj.weight": "bfp8", "model.layers.8.self_attn.v_conv1d.weight": "bf16", "model.layers.8.self_attn.v_proj.weight": "bfp8", "model.layers.8.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.8.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.8.self_attn_raon_mhc.b_post": "bf16", "model.layers.8.self_attn_raon_mhc.b_pre": "bf16", "model.layers.8.self_attn_raon_mhc.phi_post": "bf16", "model.layers.8.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.8.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.8.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.8.self_attn_raon_mhc.res.eta": "float32", "model.layers.8.self_attn_raon_mhc.res.phi_z": "bf16", "model.layers.9.input_layernorm.weight": "bf16", "model.layers.9.mlp.down_proj.weight": "bfp8", "model.layers.9.mlp.gate_proj.weight": "bfp8", "model.layers.9.mlp.up_proj.weight": "bfp8", "model.layers.9.mlp_raon_mhc.alpha_post": "bf16", "model.layers.9.mlp_raon_mhc.alpha_pre": "bf16", "model.layers.9.mlp_raon_mhc.b_post": "bf16", "model.layers.9.mlp_raon_mhc.b_pre": "bf16", "model.layers.9.mlp_raon_mhc.phi_post": "bf16", "model.layers.9.mlp_raon_mhc.phi_pre": "bf16", "model.layers.9.mlp_raon_mhc.res.alpha_z": "bf16", "model.layers.9.mlp_raon_mhc.res.b_z": "bf16", "model.layers.9.mlp_raon_mhc.res.eta": "float32", "model.layers.9.mlp_raon_mhc.res.phi_z": "bf16", "model.layers.9.per_layer_input_gate.gate": "bfp8", "model.layers.9.per_layer_input_gate.output_norm.weight": "bf16", "model.layers.9.per_layer_input_gate.projection": "bfp8", "model.layers.9.post_attention_layernorm.weight": "bf16", "model.layers.9.self_attn.A_log": "float32", "model.layers.9.self_attn.b_proj.weight": "bfp8", "model.layers.9.self_attn.dt_bias": "float32", "model.layers.9.self_attn.f_a_proj.weight": "bfp8", "model.layers.9.self_attn.f_b_proj.weight": "bfp8", "model.layers.9.self_attn.g_proj.weight": "bfp8", "model.layers.9.self_attn.k_conv1d.weight": "bf16", "model.layers.9.self_attn.k_proj.weight": "bfp8", "model.layers.9.self_attn.o_norm.weight": "bf16", "model.layers.9.self_attn.o_proj.weight": "bfp8", "model.layers.9.self_attn.q_conv1d.weight": "bf16", "model.layers.9.self_attn.q_proj.weight": "bfp8", "model.layers.9.self_attn.rda_w_proj.weight": "bfp8", "model.layers.9.self_attn.v_conv1d.weight": "bf16", "model.layers.9.self_attn.v_proj.weight": "bfp8", "model.layers.9.self_attn_raon_mhc.alpha_post": "bf16", "model.layers.9.self_attn_raon_mhc.alpha_pre": "bf16", "model.layers.9.self_attn_raon_mhc.b_post": "bf16", "model.layers.9.self_attn_raon_mhc.b_pre": "bf16", "model.layers.9.self_attn_raon_mhc.phi_post": "bf16", "model.layers.9.self_attn_raon_mhc.phi_pre": "bf16", "model.layers.9.self_attn_raon_mhc.res.alpha_z": "bf16", "model.layers.9.self_attn_raon_mhc.res.b_z": "bf16", "model.layers.9.self_attn_raon_mhc.res.eta": "float32", "model.layers.9.self_attn_raon_mhc.res.phi_z": "bf16", "model.norm.weight": "bf16", "model.per_layer_inputs.embedding_projection": "bfp8", "model.per_layer_inputs.projection_norm.weight": "bf16", "model.per_layer_inputs.table": "bf16", "lm_head.weight": "bfp8" }}123version https://git-lfs.github.com/spec/v1oid sha256:47752d33008f5dd7cc91d875f1b798d1f1ad8f6a0e84aac9e67cbb49f9da16afsize 122190541234567891011{ "tokenizer_class": "PreTrainedTokenizerFast", "add_bos_token": false, "add_eos_token": false, "bos_token": null, "eos_token": "<|im_end|>", "pad_token": "<|endoftext|>", "unk_token": null, "clean_up_tokenization_spaces": false, "model_max_length": 1000000000}.gitattributes+1
LICENSEAdded+202
NOTICEAdded+7
README.mdAdded+84
chat_template.jinjaAdded+134
config.jsonAdded+69
configuration_raon1_nano.pyAdded+151
generation_config.jsonAdded+7
model-00001-of-00002.safetensorsAdded+3
model-00002-of-00002.safetensorsAdded+3
model-tied-lm-head.safetensorsAdded+3
model.safetensors.index.jsonAdded+1004
modeling_raon1_nano.pyAdded+1014
quant4.jsonAdded+2631
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+11