lulingoo commited on
Commit
d2c3585
·
verified ·
1 Parent(s): a8b515e

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +3 -34
  2. README.md +193 -0
  3. chat_template.jinja +195 -0
  4. config.json +229 -0
  5. configuration_memt.py +97 -0
  6. generation_config.json +14 -0
  7. model-00001-of-00226.safetensors +3 -0
  8. model-00002-of-00226.safetensors +3 -0
  9. model-00005-of-00226.safetensors +3 -0
  10. model-00006-of-00226.safetensors +3 -0
  11. model-00007-of-00226.safetensors +3 -0
  12. model-00008-of-00226.safetensors +3 -0
  13. model-00016-of-00226.safetensors +3 -0
  14. model-00019-of-00226.safetensors +3 -0
  15. model-00022-of-00226.safetensors +3 -0
  16. model-00031-of-00226.safetensors +3 -0
  17. model-00033-of-00226.safetensors +3 -0
  18. model-00034-of-00226.safetensors +3 -0
  19. model-00037-of-00226.safetensors +3 -0
  20. model-00054-of-00226.safetensors +3 -0
  21. model-00061-of-00226.safetensors +3 -0
  22. model-00063-of-00226.safetensors +3 -0
  23. model-00072-of-00226.safetensors +3 -0
  24. model-00079-of-00226.safetensors +3 -0
  25. model-00081-of-00226.safetensors +3 -0
  26. model-00086-of-00226.safetensors +3 -0
  27. model-00089-of-00226.safetensors +3 -0
  28. model-00090-of-00226.safetensors +3 -0
  29. model-00091-of-00226.safetensors +3 -0
  30. model-00097-of-00226.safetensors +3 -0
  31. model-00098-of-00226.safetensors +3 -0
  32. model-00099-of-00226.safetensors +3 -0
  33. model-00103-of-00226.safetensors +3 -0
  34. model-00104-of-00226.safetensors +3 -0
  35. model-00106-of-00226.safetensors +3 -0
  36. model-00109-of-00226.safetensors +3 -0
  37. model-00112-of-00226.safetensors +3 -0
  38. model-00116-of-00226.safetensors +3 -0
  39. model-00118-of-00226.safetensors +3 -0
  40. model-00124-of-00226.safetensors +3 -0
  41. model-00126-of-00226.safetensors +3 -0
  42. model-00129-of-00226.safetensors +3 -0
  43. model-00132-of-00226.safetensors +3 -0
  44. model-00133-of-00226.safetensors +3 -0
  45. model-00134-of-00226.safetensors +3 -0
  46. model-00135-of-00226.safetensors +3 -0
  47. model-00138-of-00226.safetensors +3 -0
  48. model-00142-of-00226.safetensors +3 -0
  49. model-00144-of-00226.safetensors +3 -0
  50. model-00150-of-00226.safetensors +3 -0
.gitattributes CHANGED
@@ -1,35 +1,4 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
  *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.safetensors filter=lfs diff=lfs merge=lfs -text
2
+ *.png filter=lfs diff=lfs merge=lfs -text
3
+ *.jpg filter=lfs diff=lfs merge=lfs -text
4
+ *.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
README.md ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - custom_code
6
+ - memt
7
+ - nemotron-h
8
+ - text-generation
9
+ base_model: nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-BF16
10
+ license: other
11
+ license_name: openmdw-1.1
12
+ license_link: https://openmdw.ai/license/1-1/
13
+ ---
14
+
15
+ # **MemT-1.0-Pro**
16
+
17
+ ![MemT-1.0](assets/MemT-1.0.png)
18
+
19
+ [Hugging Face Models](https://huggingface.co/collections/MemTensor/memt-1) · [ModelScope](https://modelscope.cn/models/MemTensor/MemT-1.0-Pro) · [Tech Report](https://arxiv.org/pdf/2610.26825) · [GitHub](https://github.com/MemTensor/MemT-1.0)
20
+
21
+ > 🚀🚀 **We are happy to announce the release of MemT-1.0-Pro [MemT × NVIDIA]!**
22
+
23
+ ## **Overview**
24
+
25
+ **MemT-1.0 is a new generation of memory foundation models that makes persistent, dynamically evolving memory an intrinsic part of model computation.**
26
+
27
+ MemT-1.0 integrates dynamic local memory and trainable hyper memory to retain and leverage historical information without accessing original context at inference. Its persistent state remains constant in size, reducing storage by approximately 66× versus full-context KV cache at 128K history length.
28
+
29
+ The project makes three main contributions:
30
+
31
+ * **Memory architecture**. Introduce MemT-1.0 with improved memory storage and utilization, and Mixture-of-Storage (MoS) for scalable memory capacity.
32
+
33
+ * **Training and evaluation**. Develop backbone preparation and a two-stage training pipeline, supported by 34B tokens of data and dedicated infrastructure. Evaluate memory and general capabilities.
34
+
35
+ * **Scaling and applications**. Study memory scaling and demonstrate native memory for experience-guided agentic coding.
36
+
37
+ ### Model Family
38
+
39
+ | Model | Backbone | Total Parameters | Activated Parameters | Trainable Memory Parameters | Dynamic Memory State |
40
+ | --------------------------- | -------------------------- | ---------------- | -------------------- | --------------------------- | -------------------- |
41
+ | MemT-1.0-Nano | Qwen3.6-35B-A3B | 36B | 3B | 451M | 10M |
42
+ | MemT-1.0-Flash | DeepSeek-V4-Flash | 288B | 17B | 3.61B | 336M |
43
+ | MemT-1.0-Pro | NVIDIA-Nemotron-3-Ultra-550B-A55B | 554B | 59B | 4.23B | 13M |
44
+
45
+ ### Architecture
46
+
47
+ A **Native Memory Block** runs alongside the backbone attention and contains two components:
48
+
49
+ * The **Local Memory Block** maintains a dynamic, multi-channel memory matrix and evolves across interaction steps.
50
+
51
+ * The **Hyper Memory Block** contains trainable memory query, key, and value projections, erase, write, and forget gates, as well as an output gate.
52
+
53
+ During generation, memory attention reads from the current memory state, normalizes and gates the readout, and adds it to the backbone attention output. At the end of each turn or segment, a stable GDN-2 performs token-level memory updates the memory state for subsequent steps.
54
+
55
+ ![MemT-1.0 native memory architecture](assets/memt-arc.jpg)
56
+
57
+ ### Evaluation Results
58
+
59
+ Across 11 memory benchmarks, MemT-1.0-Pro, MemT-1.0-Flash, and MemT-1.0-Nano rank first, second, and third among the **evaluated parametric-memory methods**, respectively. Strong textual-memory systems remain ahead overall, particularly on long histories that require detailed evidence retrieval.
60
+
61
+ ![MemT-1.0 memory benchmark results](assets/figure_performance.png)
62
+
63
+ ### Experience-Guided Agentic Coding
64
+
65
+ MemT-1.0 introduces an agentic framework for reusing procedural experience in long-horizon coding tasks. Retrieved experience is stored in native memory and accessed through memory attention during execution, improving task performance without adding experience text to the task context.
66
+
67
+ ![Experience-guided coding agents](assets/application.png)
68
+
69
+ ## **Quick Start**
70
+
71
+ The examples below use MemT-1.0 with Hugging Face Transformers.
72
+
73
+ ### Installation
74
+
75
+ Use Python 3.11 or newer and install a CUDA build of PyTorch for your GPU, then:
76
+
77
+ ```bash
78
+ pip install -r requirements.txt
79
+ ```
80
+
81
+ The Nemotron backbone additionally requires `mamba-ssm==2.3.2.post1` and `causal-conv1d==1.6.2.post1`, matching the validated Pro environment.
82
+
83
+ ### Load the Model
84
+
85
+ ```python
86
+ import torch
87
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
88
+
89
+ model_id = "MemTensor/MemT-1.0-Pro" # Or a local model directory.
90
+ tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
91
+ model = AutoModelForCausalLM.from_pretrained(
92
+ model_id,
93
+ trust_remote_code=True,
94
+ dtype=torch.bfloat16,
95
+ device_map="auto",
96
+ attn_implementation="eager",
97
+ )
98
+ ```
99
+
100
+ ### A Conversation with Memory
101
+
102
+ ```python
103
+ session = model.create_session(tokenizer)
104
+
105
+ # Set enable_memory=True to save past and current turns information to latent
106
+ # local memory and clear the plaintext conversation context.
107
+ session.chat(
108
+ "I have a three-month-old kitten named memmy who loves eating "
109
+ "small shrimp and is excellent at remembering things.",
110
+ enable_memory=True,
111
+ enable_thinking=False,
112
+ )
113
+
114
+ # Answer using the latent local memory.
115
+ answer = session.chat(
116
+ "What are my kitten's name, age, favorite food, and special trait?",
117
+ enable_thinking=False,
118
+ )
119
+ print(answer)
120
+ # Based on the information you provided earlier:
121
+ #
122
+ # * **Name:** Memmy
123
+ # * **Age:** Three months old
124
+ # * **Favorite Food:** Small shrimp
125
+ # * **Special Trait:** An excellent memory
126
+ ```
127
+
128
+ ### Save and Resume
129
+
130
+ ```python
131
+ # Save local memory, including any unsaved conversation turns.
132
+ state_path = "memmy_memory.safetensors"
133
+ session.save_state(state_path)
134
+ session.close()
135
+
136
+ # Restore local memory without loading the plaintext conversation.
137
+ restored = model.create_session(tokenizer, state=state_path)
138
+
139
+ print(len(restored.messages))
140
+ # 0
141
+
142
+ answer = restored.chat(
143
+ "How old is my kitten?",
144
+ enable_thinking=False,
145
+ )
146
+ print(answer)
147
+ # Your kitten is **3 months old**.
148
+
149
+ restored.close()
150
+ ```
151
+
152
+ ### Standard Chat
153
+
154
+ ```python
155
+ # Use the standard Transformers pipeline for chat generation with plaintext context, without enable_memory.
156
+ generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
157
+ messages = [{
158
+ "role": "user",
159
+ "content": "Type 'I love MemT' exactly.",
160
+ }]
161
+ result = generator(
162
+ messages,
163
+ generation_config=model.generation_config,
164
+ tokenizer_encode_kwargs={"enable_thinking": False},
165
+ )
166
+ print(result[0]["generated_text"][-1]["content"])
167
+ # I love MemT
168
+ ```
169
+
170
+ ## **Citation**
171
+
172
+ For the MemT-1.0 technical report:
173
+
174
+ ```bibtex
175
+ @misc{memtensor2026memt1,
176
+ title = {MemT-1.0: Towards Memory-Native Evolution},
177
+ author = {{MemTensor Team}},
178
+ year = {2026},
179
+ howpublished = {Technical report}
180
+ }
181
+ ```
182
+
183
+ ## **License**
184
+
185
+ MemT-1.0-Pro is released under the [OpenMDW-1.1 license](https://openmdw.ai/license/1-1/), following the NVIDIA Nemotron backbone. The backbone and third-party components retain their original licenses and copyright notices.
186
+
187
+ Portions of the inference code are adapted from Hugging Face Transformers and the MemTensor Nano release and retain their upstream attribution:
188
+ Copyright 2024 The HuggingFace Inc. team; Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. Apache License 2.0.
189
+
190
+
191
+ ## **Contact**
192
+
193
+ Correspondence: [lizy@memtensor.cn](mailto:lizy@memtensor.cn).
chat_template.jinja ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% macro render_extra_keys(json_dict, handled_keys) %}
2
+ {%- if json_dict is mapping %}
3
+ {%- for json_key in json_dict if json_key not in handled_keys %}
4
+ {%- if json_dict[json_key] is mapping or (json_dict[json_key] is sequence and json_dict[json_key] is not string) %}
5
+ {{- '\n<' ~ json_key ~ '>' ~ (json_dict[json_key] | tojson | safe) ~ '</' ~ json_key ~ '>' }}
6
+ {%- else %}
7
+ {{-'\n<' ~ json_key ~ '>' ~ (json_dict[json_key] | string) ~ '</' ~ json_key ~ '>' }}
8
+ {%- endif %}
9
+ {%- endfor %}
10
+ {%- endif %}
11
+ {% endmacro %}
12
+ {%- set enable_thinking = enable_thinking if enable_thinking is defined else True %}
13
+ {%- set medium_effort = medium_effort if medium_effort is defined else False %}
14
+ {%- set truncate_history_thinking = truncate_history_thinking if truncate_history_thinking is defined else True %}
15
+ {%- set ns = namespace(last_user_idx = -1) %}
16
+ {%- set loop_messages = messages %}
17
+ {%- for m in loop_messages %}
18
+ {%- if m["role"] == "user" %}
19
+ {%- set ns.last_user_idx = loop.index0 %}
20
+ {%- endif %}
21
+ {%- endfor %}
22
+ {%- if messages[0]["role"] == "system" %}
23
+ {%- set system_message = messages[0]["content"] %}
24
+ {%- set loop_messages = messages[1:] %}
25
+ {%- else %}
26
+ {%- set system_message = "" %}
27
+ {%- set loop_messages = messages %}
28
+ {%- endif %}
29
+ {%- if not tools is defined %}
30
+ {%- set tools = [] %}
31
+ {%- endif %}
32
+ {%- set ns = namespace(last_user_idx = -1) %}
33
+ {%- for m in loop_messages %}
34
+ {%- if m["role"] == "user" %}
35
+ {%- set ns.last_user_idx = loop.index0 %}
36
+ {%- endif %}
37
+ {%- endfor %}
38
+ {%- if system_message is defined %}
39
+ {{- "<|im_start|>system\n" + system_message }}
40
+ {%- else %}
41
+ {%- if tools is iterable and tools | length > 0 %}
42
+ {{- "<|im_start|>system\n" }}
43
+ {%- endif %}
44
+ {%- endif %}
45
+ {%- if tools is iterable and tools | length > 0 %}
46
+ {%- if system_message is defined and system_message | length > 0 %}
47
+ {{- "\n\n" }}
48
+ {%- endif %}
49
+ {{- "# Tools\n\nYou have access to the following functions:\n\n" }}
50
+ {{- "<tools>" }}
51
+ {%- for tool in tools %}
52
+ {%- if tool.function is defined %}
53
+ {%- set tool = tool.function %}
54
+ {%- endif %}
55
+ {{- "\n<function>\n<name>" ~ tool.name ~ "</name>" }}
56
+ {%- if tool.description is defined %}
57
+ {{- '\n<description>' ~ (tool.description | trim) ~ '</description>' }}
58
+ {%- endif %}
59
+ {{- '\n<parameters>' }}
60
+ {%- if tool.parameters is defined and tool.parameters is mapping and tool.parameters.properties is defined and tool.parameters.properties is mapping %}
61
+ {%- for param_name, param_fields in tool.parameters.properties|items %}
62
+ {{- '\n<parameter>' }}
63
+ {{- '\n<name>' ~ param_name ~ '</name>' }}
64
+ {%- if param_fields.type is defined %}
65
+ {{- '\n<type>' ~ (param_fields.type | string) ~ '</type>' }}
66
+ {%- endif %}
67
+ {%- if param_fields.description is defined %}
68
+ {{- '\n<description>' ~ (param_fields.description | trim) ~ '</description>' }}
69
+ {%- endif %}
70
+ {%- if param_fields.enum is defined %}
71
+ {{- '\n<enum>' ~ (param_fields.enum | tojson | safe) ~ '</enum>' }}
72
+ {%- endif %}
73
+ {%- set handled_keys = ['name', 'type', 'description', 'enum'] %}
74
+ {{- render_extra_keys(param_fields, handled_keys) }}
75
+ {{- '\n</parameter>' }}
76
+ {%- endfor %}
77
+ {%- endif %}
78
+ {% set handled_keys = ['type', 'properties', 'required'] %}
79
+ {{- render_extra_keys(tool.parameters, handled_keys) }}
80
+ {%- if tool.parameters is defined and tool.parameters.required is defined %}
81
+ {{- '\n<required>' ~ (tool.parameters.required | tojson | safe) ~ '</required>' }}
82
+ {%- endif %}
83
+ {{- '\n</parameters>' }}
84
+ {%- set handled_keys = ['type', 'name', 'description', 'parameters'] %}
85
+ {{- render_extra_keys(tool, handled_keys) }}
86
+ {{- '\n</function>' }}
87
+ {%- endfor %}
88
+ {{- "\n</tools>" }}
89
+ {{- '\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>' }}
90
+ {%- endif %}
91
+ {%- if system_message is defined %}
92
+ {{- '<|im_end|>\n' }}
93
+ {%- else %}
94
+ {%- if tools is iterable and tools | length > 0 %}
95
+ {{- '<|im_end|>\n' }}
96
+ {%- endif %}
97
+ {%- endif %}
98
+ {%- for message in loop_messages %}
99
+ {%- if message.role == "assistant" %}
100
+ {%- if message.reasoning_content is defined and message.reasoning_content is string and message.reasoning_content | trim | length > 0 %}
101
+ {%- set content = "<think>\n" ~ message.reasoning_content ~ "</think>" ~ (message.content | default('', true)) %}
102
+ {%- else %}
103
+ {%- set content = message.content | default('', true) %}
104
+ {%- if content is string -%}
105
+ {%- if '<think>' not in content and '</think>' not in content -%}
106
+ {%- set content = "<think></think>" ~ content -%}
107
+ {%- endif -%}
108
+ {%- else -%}
109
+ {%- set content = content -%}
110
+ {%- endif -%}
111
+ {%- endif %}
112
+ {%- if message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 %}
113
+ {{- '<|im_start|>assistant\n' }}
114
+ {%- set include_content = not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}
115
+ {%- if content is string and content | trim | length > 0 %}
116
+ {%- if include_content %}
117
+ {{- (content | trim) ~ '\n' -}}
118
+ {%- else %}
119
+ {%- set c = (content | string) %}
120
+ {%- if '</think>' in c %}
121
+ {%- set c = c.split('</think>')[-1] %}
122
+ {%- elif '<think>' in c %}
123
+ {%- set c = c.split('<think>')[0] %}
124
+ {%- endif %}
125
+ {%- set c = "<think></think>" ~ c %}
126
+ {%- if c | length > 0 %}
127
+ {{- c ~ '\n' -}}
128
+ {%- endif %}
129
+ {%- endif %}
130
+ {%- else %}
131
+ {{- "<think></think>" -}}
132
+ {%- endif %}
133
+ {%- for tool_call in message.tool_calls %}
134
+ {%- if tool_call.function is defined %}
135
+ {%- set tool_call = tool_call.function %}
136
+ {%- endif %}
137
+ {{- '<tool_call>\n<function=' ~ tool_call.name ~ '>\n' -}}
138
+ {%- if tool_call.arguments is defined %}
139
+ {%- for args_name, args_value in tool_call.arguments|items %}
140
+ {{- '<parameter=' ~ args_name ~ '>\n' -}}
141
+ {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
142
+ {{- args_value ~ '\n</parameter>\n' -}}
143
+ {%- endfor %}
144
+ {%- endif %}
145
+ {{- '</function>\n</tool_call>\n' -}}
146
+ {%- endfor %}
147
+ {{- '<|im_end|>\n' }}
148
+ {%- else %}
149
+ {%- if not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}
150
+ {{- '<|im_start|>assistant\n' ~ (content | default('', true) | string | trim) ~ '<|im_end|>\n' }}
151
+ {%- else %}
152
+ {%- set c = (content | default('', true) | string) %}
153
+ {%- if '<think>' in c and '</think>' in c %}
154
+ {%- set c = "<think></think>" ~ c.split('</think>')[-1] %}
155
+ {%- endif %}
156
+ {%- set c = c | trim %}
157
+ {%- if c | length > 0 %}
158
+ {{- '<|im_start|>assistant\n' ~ c ~ '<|im_end|>\n' }}
159
+ {%- else %}
160
+ {{- '<|im_start|>assistant\n<|im_end|>\n' }}
161
+ {%- endif %}
162
+ {%- endif %}
163
+ {%- endif %}
164
+ {%- elif message.role == "user" or message.role == "system" %}
165
+ {{- '<|im_start|>' + message.role + '\n' }}
166
+ {%- set content = message.content | string %}
167
+ {%- if message.role == "user" and loop.index0 == ns.last_user_idx and medium_effort %}
168
+ {{- content + '\n\n{reasoning effort: efficient}' }}
169
+ {%- else %}
170
+ {{- content }}
171
+ {%- endif %}
172
+ {{- '<|im_end|>\n' }}
173
+ {%- elif message.role == "tool" %}
174
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
175
+ {{- '<|im_start|>user\n' }}
176
+ {%- endif %}
177
+ {{- '<tool_response>\n' }}
178
+ {{- message.content }}
179
+ {{- '\n</tool_response>\n' }}
180
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
181
+ {{- '<|im_end|>\n' }}
182
+ {%- elif loop.last %}
183
+ {{- '<|im_end|>\n' }}
184
+ {%- endif %}
185
+ {%- else %}
186
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>\n' }}
187
+ {%- endif %}
188
+ {%- endfor %}
189
+ {%- if add_generation_prompt %}
190
+ {%- if enable_thinking %}
191
+ {{- '<|im_start|>assistant\n<think>\n' }}
192
+ {%- else %}
193
+ {{- '<|im_start|>assistant\n<think></think>' }}
194
+ {%- endif %}
195
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "memt_nemotron_h",
3
+ "architectures": [
4
+ "MemTNemotronHForCausalLM"
5
+ ],
6
+ "dtype": "bfloat16",
7
+ "tie_word_embeddings": false,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "pad_token_id": 0,
11
+ "use_cache": true,
12
+ "backbone_configs": {
13
+ "architectures": [
14
+ "NemotronHForCausalLM"
15
+ ],
16
+ "attention_bias": false,
17
+ "attention_dropout": 0.0,
18
+ "bos_token_id": 1,
19
+ "chunk_size": 128,
20
+ "conv_kernel": 4,
21
+ "dtype": "bfloat16",
22
+ "eos_token_id": 2,
23
+ "expand": 2,
24
+ "head_dim": 128,
25
+ "hidden_dropout": 0.0,
26
+ "hidden_size": 8192,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 5120,
29
+ "layer_norm_epsilon": 1e-05,
30
+ "layers_block_type": [
31
+ "mamba",
32
+ "moe",
33
+ "mamba",
34
+ "moe",
35
+ "mamba",
36
+ "moe",
37
+ "mamba",
38
+ "attention",
39
+ "moe",
40
+ "mamba",
41
+ "moe",
42
+ "mamba",
43
+ "moe",
44
+ "mamba",
45
+ "attention",
46
+ "moe",
47
+ "mamba",
48
+ "moe",
49
+ "mamba",
50
+ "moe",
51
+ "mamba",
52
+ "moe",
53
+ "mamba",
54
+ "attention",
55
+ "moe",
56
+ "mamba",
57
+ "moe",
58
+ "mamba",
59
+ "moe",
60
+ "mamba",
61
+ "moe",
62
+ "mamba",
63
+ "attention",
64
+ "moe",
65
+ "mamba",
66
+ "moe",
67
+ "mamba",
68
+ "moe",
69
+ "mamba",
70
+ "attention",
71
+ "moe",
72
+ "mamba",
73
+ "moe",
74
+ "mamba",
75
+ "moe",
76
+ "mamba",
77
+ "moe",
78
+ "mamba",
79
+ "attention",
80
+ "moe",
81
+ "mamba",
82
+ "moe",
83
+ "mamba",
84
+ "moe",
85
+ "mamba",
86
+ "moe",
87
+ "mamba",
88
+ "attention",
89
+ "moe",
90
+ "mamba",
91
+ "moe",
92
+ "mamba",
93
+ "moe",
94
+ "mamba",
95
+ "attention",
96
+ "moe",
97
+ "mamba",
98
+ "moe",
99
+ "mamba",
100
+ "moe",
101
+ "mamba",
102
+ "moe",
103
+ "mamba",
104
+ "attention",
105
+ "moe",
106
+ "mamba",
107
+ "moe",
108
+ "mamba",
109
+ "moe",
110
+ "mamba",
111
+ "moe",
112
+ "mamba",
113
+ "attention",
114
+ "moe",
115
+ "mamba",
116
+ "moe",
117
+ "mamba",
118
+ "moe",
119
+ "mamba",
120
+ "attention",
121
+ "moe",
122
+ "mamba",
123
+ "moe",
124
+ "mamba",
125
+ "moe",
126
+ "mamba",
127
+ "moe",
128
+ "mamba",
129
+ "attention",
130
+ "moe",
131
+ "mamba",
132
+ "moe",
133
+ "mamba",
134
+ "moe",
135
+ "mamba",
136
+ "moe",
137
+ "mamba",
138
+ "moe"
139
+ ],
140
+ "mamba_head_dim": 64,
141
+ "mamba_hidden_act": "silu",
142
+ "mamba_num_heads": 256,
143
+ "mamba_proj_bias": false,
144
+ "mamba_ssm_cache_dtype": "float32",
145
+ "max_position_embeddings": 262144,
146
+ "mlp_bias": false,
147
+ "mlp_hidden_act": "relu2",
148
+ "model_type": "nemotron_h",
149
+ "moe_intermediate_size": 5120,
150
+ "moe_latent_size": 2048,
151
+ "moe_shared_expert_intermediate_size": 10240,
152
+ "moe_shared_expert_overlap": false,
153
+ "mtp_layers_block_type": [
154
+ "attention",
155
+ "moe"
156
+ ],
157
+ "n_group": 1,
158
+ "n_groups": 8,
159
+ "n_routed_experts": 512,
160
+ "n_shared_experts": 1,
161
+ "norm_eps": 1e-05,
162
+ "norm_topk_prob": true,
163
+ "num_attention_heads": 64,
164
+ "num_experts_per_tok": 22,
165
+ "num_key_value_heads": 2,
166
+ "num_logits_to_keep": 1,
167
+ "num_nextn_predict_layers": 1,
168
+ "pad_token_id": 0,
169
+ "partial_rotary_factor": 1.0,
170
+ "rescale_prenorm_residual": true,
171
+ "residual_in_fp32": false,
172
+ "rope_theta": 10000,
173
+ "routed_scaling_factor": 5.0,
174
+ "sliding_window": null,
175
+ "ssm_state_size": 128,
176
+ "tie_word_embeddings": false,
177
+ "time_step_floor": 0.0001,
178
+ "time_step_max": 0.1,
179
+ "time_step_min": 0.001,
180
+ "topk_group": 1,
181
+ "transformers_version": "4.57.6",
182
+ "use_bias": false,
183
+ "use_cache": true,
184
+ "use_conv_bias": true,
185
+ "use_mamba_kernels": true,
186
+ "vocab_size": 131072
187
+ },
188
+ "memt": {
189
+ "chunk_tokens": 2048,
190
+ "gate_latent_norm": false,
191
+ "gate_rank": 512,
192
+ "gdn_version": "stable_gdn2",
193
+ "head_dim": 128,
194
+ "layers": [
195
+ 7,
196
+ 14,
197
+ 23,
198
+ 32,
199
+ 39,
200
+ 48,
201
+ 57,
202
+ 64,
203
+ 73,
204
+ 82,
205
+ 89,
206
+ 98
207
+ ],
208
+ "linear_attention_state_policy": "reset_per_chunk",
209
+ "memory_head_mode": "mha",
210
+ "memory_read_scale": "k_inv_sqrt",
211
+ "memory_update_mode": "token",
212
+ "memory_use_short_conv": false,
213
+ "norm_eps": 1e-05,
214
+ "num_kv_heads": 64,
215
+ "num_memory_heads": 64,
216
+ "output_gate_bias": false,
217
+ "output_gate_softcap_enabled": true,
218
+ "output_gate_softcap_limit": 2.0,
219
+ "output_gate_type": "silu",
220
+ "projection": "dense_v1",
221
+ "stable_gdn2_sqrt_erase_gate": true,
222
+ "tail_policy": "commit"
223
+ },
224
+ "auto_map": {
225
+ "AutoConfig": "configuration_memt.MemTNemotronHConfig",
226
+ "AutoModelForCausalLM": "modeling_memt.MemTNemotronHForCausalLM"
227
+ },
228
+ "transformers_version": "5.12.1"
229
+ }
configuration_memt.py ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """MemT-1.0-Pro configuration for the Nemotron-H backbone.
2
+
3
+ For dense_v1, Q/K/V and erase/write projections are full-width. gate_rank
4
+ controls the factorized decay/output gates, preserving their trained shapes.
5
+ """
6
+
7
+ from copy import deepcopy
8
+
9
+ from transformers import PretrainedConfig
10
+ from transformers.models.nemotron_h.configuration_nemotron_h import NemotronHConfig
11
+
12
+
13
+ _SEMANTICS = {
14
+ "memory_update_mode": "token",
15
+ "gdn_version": "stable_gdn2",
16
+ "memory_use_short_conv": False,
17
+ "memory_head_mode": "mha",
18
+ "memory_read_scale": "k_inv_sqrt",
19
+ "projection": "dense_v1",
20
+ "gate_rank": 512,
21
+ "output_gate_type": "silu",
22
+ "output_gate_bias": False,
23
+ "output_gate_softcap_enabled": True,
24
+ "output_gate_softcap_limit": 2.0,
25
+ "stable_gdn2_sqrt_erase_gate": True,
26
+ "linear_attention_state_policy": "reset_per_chunk",
27
+ "chunk_tokens": 2048,
28
+ "tail_policy": "commit",
29
+ "gate_latent_norm": False,
30
+ }
31
+ _GEOMETRY = {"layers", "num_memory_heads", "num_kv_heads", "head_dim", "norm_eps"}
32
+
33
+
34
+ class MemTNemotronHConfig(PretrainedConfig):
35
+ model_type = "memt_nemotron_h"
36
+ has_no_defaults_at_init = True
37
+
38
+ def __init__(self, backbone_configs=None, memt=None, **kwargs):
39
+ if not isinstance(backbone_configs, dict) or not isinstance(memt, dict):
40
+ raise TypeError("backbone_configs and memt are required objects")
41
+ required = set(_SEMANTICS) | _GEOMETRY
42
+ if set(memt) != required:
43
+ raise ValueError(f"Unknown MemT fields: {sorted(set(memt) - required)}; "
44
+ f"missing: {sorted(required - set(memt))}")
45
+ for name, expected in _SEMANTICS.items():
46
+ if type(memt[name]) is not type(expected) or memt[name] != expected:
47
+ raise ValueError(f"Unsupported memt.{name}: {memt[name]!r}")
48
+ b = deepcopy(backbone_configs)
49
+ if b.get("model_type") != "nemotron_h":
50
+ raise ValueError("MemT-1.0-Pro requires the native nemotron_h backbone")
51
+ kinds = b.get("layers_block_type")
52
+ if not isinstance(kinds, list) or not kinds or any(x not in {"mamba", "moe", "attention", "mlp"} for x in kinds):
53
+ raise ValueError("layers_block_type must use native Nemotron layer names")
54
+ expected_layers = [i for i, kind in enumerate(kinds) if kind == "attention"]
55
+ if (not isinstance(memt["layers"], list)
56
+ or any(type(x) is not int for x in memt["layers"])
57
+ or memt["layers"] != expected_layers or not expected_layers):
58
+ raise ValueError("MemT must be attached to every native attention layer in order")
59
+ for name, expected in (("num_memory_heads", b["num_attention_heads"]),
60
+ ("num_kv_heads", b["num_attention_heads"]),
61
+ ("head_dim", b["head_dim"])):
62
+ if type(memt[name]) is not int or memt[name] <= 0 or memt[name] != expected:
63
+ raise ValueError(f"memt.{name} must match native query-head geometry")
64
+ if b["num_attention_heads"] % b["num_key_value_heads"]:
65
+ raise ValueError("Native query heads must be divisible by native KV heads")
66
+ if (isinstance(memt["norm_eps"], bool) or memt["norm_eps"] != b["layer_norm_epsilon"]
67
+ or not 0 < memt["norm_eps"] < 1):
68
+ raise ValueError("memt.norm_eps must match the native normalization epsilon")
69
+ for key in ("metis_settings", "memory_configs", "backend", "backend_config"):
70
+ if key in kwargs:
71
+ raise ValueError(f"Training-only field {key!r} is not part of this HF configuration")
72
+ for name in ("bos_token_id", "eos_token_id", "pad_token_id", "tie_word_embeddings"):
73
+ kwargs.setdefault(name, b.get(name))
74
+ self.backbone_configs = b
75
+ self.memt = deepcopy(memt)
76
+ super().__init__(**kwargs)
77
+ self.vocab_size = b["vocab_size"]
78
+ self.hidden_size = b["hidden_size"]
79
+ self.num_hidden_layers = len(kinds)
80
+ self.initializer_range = b["initializer_range"]
81
+ self.use_cache = kwargs.get("use_cache", True)
82
+
83
+ def get_text_config(self, decoder=False, encoder=False):
84
+ text = NemotronHConfig(**deepcopy(self.backbone_configs))
85
+ text._attn_implementation = getattr(self, "_attn_implementation", None) or "sdpa"
86
+ text._experts_implementation = getattr(self, "_experts_implementation", None)
87
+ return text
88
+
89
+ @classmethod
90
+ def from_dict(cls, config_dict, **kwargs):
91
+ result = super().from_dict(deepcopy(config_dict), **kwargs)
92
+ config = result[0] if isinstance(result, tuple) else result
93
+ cls(**config.to_dict())
94
+ return result
95
+
96
+
97
+ MemTNemotronHConfig.register_for_auto_class()
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 2,
7
+ 11
8
+ ],
9
+ "pad_token_id": 0,
10
+ "temperature": 1.0,
11
+ "top_p": 0.95,
12
+ "transformers_version": "4.57.6",
13
+ "max_new_tokens": 4096
14
+ }
model-00001-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9270ac4f126fae66781d382632ed0b54c02ad3a7736d1ca58871cc203a8ca19b
3
+ size 4983097968
model-00002-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90b5e986bb3820797deebaa757d48271895afb3408d5450d5e4f51be54010395
3
+ size 4991252496
model-00005-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23ff084fcdc2dd4758d70072289d074e7b10247dc606e6347307ecb9964b2c70
3
+ size 4920152112
model-00006-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:319a9408a84b564ef3689ca6c9141e8a4e28103a4269cd491ab446bfb26a257f
3
+ size 4995491168
model-00007-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:828062eb0be70c4894f408189c36f3a8793ca3eab2aa14e04b07b05505c191a4
3
+ size 4991252600
model-00008-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8498d0639fce51f37f2e202830ff0daca2a549042f3cdb0d7b7ccfba0d7abefc
3
+ size 4991252600
model-00016-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20e036c89b31c0f8139001c0d07358b02c5b3ce1a582c05eafac64e5b84c809c
3
+ size 4991252560
model-00019-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f7b332e1bb5e2803a037eb143f4ea13c4ca0bd3accc4555ff8c7b16656be69e
3
+ size 4987305744
model-00022-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf00047e63ad9389cb7a9c31aac8eeea1dd4bbebe3df2d73953d49a657c96a6c
3
+ size 4991252840
model-00031-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:342c0e794469b3ded324e4bc4997e496bcec33352559aec7a83542827c71d277
3
+ size 4991252840
model-00033-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741ac67fe56a3ac3565adcc9b508482f8f6ee568759b004e8a8a86b0b7b96763
3
+ size 4987305848
model-00034-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7185a2149133c63b3bfd8b07e23bc2f2423c90ece859fb3c0c21e0a9d9d5b0fd
3
+ size 4991252736
model-00037-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:711c9969e344217cf0b1e4f11393abc95b27454c59795eb558141ff5f6334a5f
3
+ size 4962095640
model-00054-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7262b47af4d740dd41fb135051f97a851259676452f622cc75ba333e4fc02d2f
3
+ size 4991252840
model-00061-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35176872fafd2a439cda86c007286c963aa2047b9279cdd9e72b38a889ce188d
3
+ size 4991252624
model-00063-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82ca7c5000e0c6a99fc24101324736b669ce2897f24510d03ab746f3e8ee138f
3
+ size 4991252840
model-00072-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e0f926a102ffa6dd16ec8b691957e7b7a976190c6860fc3b50f416c0604f0da
3
+ size 4991252840
model-00079-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfac40af6fcf5d237dd02a19369ec7fe6a14765b08a18a83efdd81e0daa14603
3
+ size 4991515392
model-00081-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55e301e88d1eeef3cb152889711e8b33c5755a7ba7043e55e7ae3b28f5115954
3
+ size 4991252840
model-00086-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffbf701213def3b4f367a2855f020f64fc892c89b85af2e669e07375b38df00e
3
+ size 4991252840
model-00089-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fad57551a678c0cb4cde55c2794fcc8641bff294b6146703e6a8fc5f24b110db
3
+ size 4991252776
model-00090-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8c50a1bfb3a9c56963b7b15d5bbbaec028a64824f8c79c57a5cb510e6e1656a
3
+ size 4991252840
model-00091-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c094961fef375b72afc345babe98638c8c74fe5e1891a65ecd894ad990d0327
3
+ size 4991252840
model-00097-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52c6c9335c07a3e6a689e61b80a83f2e487aae9939defb8f3542886d3764a2ef
3
+ size 4991515400
model-00098-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7915b9141427af35cf4bcdb969b842f8c98b4cf6aa460fd1eb213393bb2c9981
3
+ size 4991252736
model-00099-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a43250768d5ce856b323cc936210d20f1b5d17ec1a74191f2beb6cbff467b5c6
3
+ size 4991252840
model-00103-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:651b4b561a146ef0b4fd7f32d02124e4457a9536772b777028a005015cd87fcb
3
+ size 4991252840
model-00104-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb884ca67523841d05c8b5dd7d1491855d08a6e8b021c32b1eec5d4ff487b74
3
+ size 4991252840
model-00106-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e94e7fddb7ce51d9ca91d40f4fb0eea03403afbabd8cc08a4c9b9d6838ccecef
3
+ size 4987305872
model-00109-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7724f1b79a069e56632b43e79fe51f27e3dcdb169023f953f8d6060c7e8984c4
3
+ size 4991252840
model-00112-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ebb542d43f66d2a4926f20c7de37cac8040017970327329ff4afa47d2734109
3
+ size 4991252808
model-00116-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec30f5418bece29fb0c97925e418974380c03742fcc478ded80267ba8edef8c4
3
+ size 4991252664
model-00118-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8771f5232ef5dc0ab012a59a5e392453fd39495d756f48752224222aa5e03c61
3
+ size 4991252840
model-00124-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8ad9f8a58d9127b3de4e947ac4f57f442adb5d9f03a5ff1fa57338f704fcf07
3
+ size 4987305952
model-00126-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c69b61ec9eaac7964b375a751b41cfe444c64e70b2392f5563dc93a7ae2cd4c7
3
+ size 4991252840
model-00129-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e5e19806c45afef9d9f3afa4851cdd8cef73c8954912dab899b915bb0e9b7d6
3
+ size 4991515400
model-00132-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb5f5cc38d965c034375979e7e896d154aa83d11f2422445a92a05ce0a74370a
3
+ size 4991252840
model-00133-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed9d4da503b91de11fcc92e16f4c354757860295ad7f44ce83f520644371baba
3
+ size 4941123984
model-00134-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95b3a3f5fa6e794be7e582bbbb45f1bcbf8ccba572c521c98d24ce50f079dbdc
3
+ size 4995491376
model-00135-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b13716d98a2e644e0763e7ae09aec6796b300948d89092dabcb163d9bd16099
3
+ size 4991252840
model-00138-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff23ac5b9829aa47e01de935dda2ecc1bf61fa2b20505b5b871cb1e26fbe5f6f
3
+ size 4987305872
model-00142-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4ce403185eb36530b231e8bbd1058acaf09fbd1a12895fd408a2322224292b8
3
+ size 4991252840
model-00144-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b13ecb215c2c95b8cf0015cfa3360fa58bb22140531e8ca403060694c4c564ab
3
+ size 4991252808
model-00150-of-00226.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f58ccf8d780d38e6754367ce523cc22ad1f80858410f073a1bd34a40ebcb3db
3
+ size 4991252840