Add local models via Git LFS (23 models, ~143 GB)
This commit is contained in:
parent
94b5c12c2d
commit
9b381fb3de
246 changed files with 38788 additions and 0 deletions
37
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/.gitattributes
vendored
Normal file
37
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
text_encoder-mlx-4bit/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||
tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||
177
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/LICENSE
Normal file
177
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/LICENSE
Normal file
|
|
@ -0,0 +1,177 @@
|
|||
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
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
This software is copyright 2026-present Prism ML, Inc. It is available under the Apache 2.0 license.
|
||||
If you publicly deploy or redistribute this software, we would appreciate attribution such as: "Created using Bonsai Image by Prism ML."
|
||||
|
||||
This software is built from FLUX.2 [klein] 4B, Copyright 2026 Black Forest Labs, which is available under the Apache 2.0 License: https://huggingface.co/black-forest-labs/FLUX.2-klein-4B/blob/main/LICENSE.md
|
||||
|
||||
The text encoder is built from Qwen3-4B, Copyright 2024 Alibaba Cloud, which is available under the Apache 2.0 License: https://huggingface.co/Qwen/Qwen3-4B/blob/main/LICENSE
|
||||
207
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/README.md
Normal file
207
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/README.md
Normal file
|
|
@ -0,0 +1,207 @@
|
|||
---
|
||||
license: apache-2.0
|
||||
pipeline_tag: text-to-image
|
||||
tags:
|
||||
- 1-bit
|
||||
- mlx
|
||||
- apple-silicon
|
||||
- on-device
|
||||
- text-to-image
|
||||
- diffusion
|
||||
- flux
|
||||
- prismml
|
||||
- bonsai
|
||||
base_model:
|
||||
- prism-ml/bonsai-image-binary-4B-unpacked
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<img src="./assets/bonsai-logo.svg" width="280" alt="Bonsai Image">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://prismml.com"><b>Prism ML Website</b></a> |
|
||||
<a href="https://github.com/PrismML-Eng/Bonsai-Image-Demo/blob/main/bonsai-image-4b-whitepaper.pdf"><b>Whitepaper</b></a> |
|
||||
<a href="https://github.com/PrismML-Eng/Bonsai-Image-Demo"><b>Demo & Examples</b></a> |
|
||||
<a href="https://discord.gg/prismml"><b>Discord</b></a>
|
||||
</p>
|
||||
|
||||
# bonsai-image-binary-4B-mlx-1bit
|
||||
|
||||
Binary weight (1-bit) text-to-image diffusion transformer deployment for Apple Silicon
|
||||
|
||||
> **0.93 GB transformer** | **8.3×** smaller than FP16 | **9.4 s / 512²** on iPhone 17 Pro Max | **6 s / 512²** on M4 Pro | runs on Mac, iPhone, iPad
|
||||
|
||||
## Highlights
|
||||
|
||||
- **0.93 GB** diffusion transformer, down from **7.75 GB** for the FP16 FLUX.2 Klein 4B transformer
|
||||
- Binary {−1, +1} transformer weights with FP16 group-wise scaling in the matrix-heavy transformer layers (Q/K/V projections, output projections, MLP weights)
|
||||
- 3.42 GB Apple Silicon deployment payload including the 4-bit text encoder and FP16 VAE — text encoder is offloaded after prompt encode, so the denoising loop only keeps the compact transformer and VAE resident
|
||||
- 4-step FlowMatch-Euler sampler with guidance = 1.0 and shift = 3.0 — no CFG, no negative prompts needed
|
||||
- MLX-native 1-bit format for Apple Silicon, the same kernel path as our 1-bit language-model releases
|
||||
- Cross-platform companion: also available as [gemlite 1-bit](https://huggingface.co/prism-ml/bonsai-image-binary-4B-gemlite-1bit) for NVIDIA GPUs
|
||||
|
||||
## Resources
|
||||
|
||||
- **[Whitepaper](https://github.com/PrismML-Eng/Bonsai-Image-Demo/blob/main/bonsai-image-4b-whitepaper.pdf)** — full benchmarks, kernels, and memory analysis
|
||||
- **[Demo repo](https://github.com/PrismML-Eng/Bonsai-Image-Demo)** — one-command setup for Mac / Linux / Windows
|
||||
- **[Discord](https://discord.gg/prismml)** — community + support
|
||||
- **Kernels**: [MLX fork](https://github.com/PrismML-Eng/mlx) (Apple Silicon) · [mlx-swift fork](https://github.com/PrismML-Eng/mlx-swift) (iOS / macOS) — upstream PRs pending
|
||||
|
||||
## Model Overview
|
||||
|
||||
| Item | Specification |
|
||||
| :-------------------- | :-------------------------------------------------------------------------------------|
|
||||
| Base architecture | FLUX.2 Klein 4B (MMDiT diffusion transformer) |
|
||||
| Parameters | ~4.0B (transformer trunk) |
|
||||
| Blocks | 25 MMDiT blocks: 5 double-stream + 20 single-stream |
|
||||
| Sampler | FlowMatchEuler, **4 steps**, guidance = 1.0, shift = 3.0 |
|
||||
| Text encoder | Qwen3-4B at 4-bit (≈ 2.28 GB on-device, offloaded after prompt encode) |
|
||||
| VAE | Flux2 32-channel latent, tiled decode (128 px tiles) |
|
||||
| Native resolution | 1024×1024 (also supports 512×512 and arbitrary multiples of 32) |
|
||||
| Weight format | MLX 1-bit g128, binary values + FP16 group-wise scales |
|
||||
| **Transformer size** | **0.93 GB** (8.3× smaller than 7.75 GB FP16) |
|
||||
| Total payload | **3.42 GB** (4.7x smaller than the 15.97 GB FP16 transformer + text encoder + VAE) |
|
||||
| 1-bit coverage | All 100 matmul-heavy linears in the 25 MMDiT blocks |
|
||||
| License | Apache 2.0 |
|
||||
|
||||
## Binary Weight Representation: 1-bit g128
|
||||
|
||||
Each binary weight takes a value from {−1, +1} with one shared FP16 scale per group of 128 weights:
|
||||
|
||||
```
|
||||
w_i = scale_g * b_i, b_i in {−1, +1}
|
||||
```
|
||||
|
||||
Binary values carry exactly 1 bit of information per weight. With one FP16 scale per group of 128, the effective storage is
|
||||
|
||||
```
|
||||
b_eff ≈ 1 + 16/128 ≈ 1.125 bits/weight
|
||||
```
|
||||
|
||||
This gives an idealized **14.2× reduction** relative to FP16 for the binary transformer layers. A small set of precision-sensitive supporting tensors remains in FP16, so the final 1-bit Bonsai Image 4B diffusion transformer is **0.93 GB**, an 8.3× reduction from the 7.75 GB FP16 FLUX.2 Klein 4B transformer.
|
||||
|
||||
The binary representation is applied to the matrix-heavy transformer layers, including Q / K / V projections, output projections, MLP linears, and the double-stream add-K / Q / V linears. Supporting tensors (less than 5% of the total parameters) such as modulation streams, embedders, output norm, and output projection remain FP16 for image quality and stability.
|
||||
|
||||
### Memory
|
||||
|
||||
| Format | Transformer size | Reduction | Ratio |
|
||||
| :------------------------- | ---------------: | --------: | -------: |
|
||||
| FP16 FLUX.2 Klein 4B | 7.75 GB | — | 1.0× |
|
||||
| **1-bit Bonsai Image 4B** | **0.93 GB** | **88.0%** | **8.3×** |
|
||||
|
||||
Apple Silicon deployment:
|
||||
|
||||
| Component | Size |
|
||||
| :------------------------------ | ------: |
|
||||
| MLX 1-bit diffusion transformer | 0.97 GB |
|
||||
| Compressed text encoder | 2.28 GB |
|
||||
| FP16 VAE | 0.17 GB |
|
||||
| **Total payload** | **3.42 GB** |
|
||||
|
||||
At runtime, the text encoder is offloaded after prompt encoding. During denoising, the repeated image-generation loop is dominated by the compact binary diffusion transformer and active image-generation components rather than the full payload.
|
||||
|
||||
End-to-end Mac M4 Pro mean-active memory pressure at 1024² is **1.95 GB** — a **7.4×** reduction vs the stock FP16 MFLUX pipeline (14.39 GB).
|
||||
|
||||
## Best Practices
|
||||
|
||||
- Sampler: FlowMatchEuler-discrete with 4 steps, guidance = 1.0 (no classifier-free guidance), shift = 3.0. The model is designed for 4 steps; running more steps does not improve quality significantly and can introduce artifacts.
|
||||
- Resolution: native 1024² is the design target; 512² works for quick previews.
|
||||
- Aspect ratios: multiples of 32 are supported, including 832×1248 and 1248×832.
|
||||
- Prompting: natural-language prompts. Negative prompts are not required.
|
||||
- Runtime memory: the text encoder is offloaded after prompt encoding, so the denoising loop is memory-light.
|
||||
|
||||
## Quickstart
|
||||
|
||||
### MLX (Python)
|
||||
|
||||
The simplest path is the [Bonsai Image Demo repo](https://github.com/PrismML-Eng/Bonsai-Image-Demo), which sets up the full Bonsai Studio (FastAPI backend + Next.js frontend):
|
||||
|
||||
```bash
|
||||
git clone https://github.com/PrismML-Eng/Bonsai-Image-Demo.git
|
||||
cd Bonsai-Image-Demo
|
||||
./setup.sh
|
||||
BONSAI_VARIANT=binary ./scripts/download_model.sh
|
||||
BONSAI_VARIANT=binary ./scripts/serve.sh
|
||||
```
|
||||
|
||||
For a one-shot render without the studio frontend:
|
||||
|
||||
```bash
|
||||
BONSAI_VARIANT=binary ./scripts/generate.sh --prompt "A bonsai tree in a quiet ceramic studio, soft morning light"
|
||||
```
|
||||
|
||||
### MLX Swift (iOS / macOS)
|
||||
|
||||
Binary Bonsai Image 4B runs natively on iPhone and iPad via MLX Swift. Bonsai Studio for iPhone is available on the App Store; under the hood, it loads this model with the kernels in our [mlx-swift fork](https://github.com/PrismML-Eng/mlx-swift).
|
||||
|
||||
## Throughput (MLX / Apple Silicon)
|
||||
|
||||
Mac M4 Pro (48 GB unified memory), 4 denoising steps, fixed prompt and seed:
|
||||
|
||||
| Resolution | s / step | s / image (mean ± std) | vs stock MFLUX FP16 |
|
||||
| :------------ | -------: | ---------------------: | ------------------: |
|
||||
| 512 × 512 | 1.50 | 6.01 ± 0.31 s | **3.03×** |
|
||||
| 1024 × 1024 | 6.02 | **24.07 ± 0.03 s** | **5.60×** |
|
||||
|
||||
iPhone 17 Pro Max (A19 Pro, 12 GB unified memory), MLX Swift, same methodology:
|
||||
|
||||
| Resolution | s / step | s / image |
|
||||
| :------------ | -------: | --------: |
|
||||
| 128 × 128 | 0.68 | 2.7 s |
|
||||
| 256 × 256 | 0.95 | 3.8 s |
|
||||
| 512 × 512 | 2.35 | **9.4 s** |
|
||||
| 1024 × 1024 | 8.15 | **32.6 s**|
|
||||
|
||||
Stock FP16 FLUX.2 Klein 4B does not fit within iPhone 17 Pro Max's 12 GB unified memory budget; Bonsai Image 4B models do.
|
||||
|
||||
## Benchmarks
|
||||
|
||||
Evaluated with matched generation settings across the comparison set on H100. GenEval uses the official 512x512 protocol. For HPSv3 and DPG-Bench, larger-backbone rows are evaluated at 1024x1024, while smaller-backbone rows are evaluated at their native 512x512 setting. Higher is better for all three benchmarks.
|
||||
|
||||
| Model | Transformer (GB) | GenEval | HPSv3 | DPG-Bench |
|
||||
| :-------------------------- | ---------------: | ------: | -----: | --------: |
|
||||
| **Bonsai Image · Binary 4B**| **0.93** | **0.671** | **11.15** | **0.822** |
|
||||
| **Bonsai Image · Ternary 4B** | **1.21** | **0.723** | **12.22** | **0.851** |
|
||||
| FLUX.2 Klein 4B | 7.75 | 0.819 | 12.84 | 0.853 |
|
||||
| FLUX.1-schnell | 23.8 | 0.716 | 12.67 | 0.848 |
|
||||
| SDXL | 5.14 | 0.300 | 10.05 | 0.740 |
|
||||
| PixArt-Σ XL 2 | 1.20 | 0.541 | 11.93 | 0.769 |
|
||||
| Stable Diffusion 1.5 | 1.72 | 0.396 | 4.20 | 0.601 |
|
||||
| BK-SDM-Small | 0.98 | 0.297 | 3.05 | 0.559 |
|
||||
|
||||
The benchmark results show the intended quality-footprint trade-off. 1-bit Bonsai Image 4B is the footprint-oriented variant: it reduces the diffusion transformer below 1 GB while still delivering strong GenEval, HPSv3, and DPG-Bench results. The ternary companion is the quality-oriented variant, using a slightly larger representation to achieve very close visual quality and prompt fidelity to the original FLUX.2 Klein 4B model.
|
||||
|
||||
Together, the Bonsai Image variants move the quality-footprint frontier: they bring modern diffusion-transformer behavior into a memory range previously occupied by much smaller, lower-capability models.
|
||||
|
||||
## Use Cases
|
||||
|
||||
- **Local creative tooling**: image generation directly on Mac, iPhone, and iPad
|
||||
- **Private generation**: prompts and generated assets can remain local
|
||||
- **Rapid iteration**: lower local latency and no remote queue for iterative creative workflows
|
||||
- **Mobile deployment**: image generation on devices with unified-memory, thermal, and connectivity constraints
|
||||
- **Commodity-GPU serving**: lower transformer footprint and reduced memory pressure for serving on CUDA GPUs
|
||||
- **Enterprise and controlled inference**: local or private environments for data residency and compliance-sensitive workflows
|
||||
|
||||
## Limitations
|
||||
|
||||
- 1-bit Bonsai Image 4B is not bit-identical to the FP16 FLUX.2 Klein 4B model; it is a compact binary-weight deployment designed to deliver similar practical behavior at much smaller size.
|
||||
- Image-generation quality remains prompt- and workflow-dependent. Small text, fine details, object counts, and strict compositional constraints should be evaluated for the target use case.
|
||||
- Current commodity inference stacks do not yet expose fully native binary execution as a standard hardware path. This release uses practical MLX low-bit kernel paths on Apple Silicon and Gemlite low-bit GEMM on CUDA.
|
||||
- After the diffusion transformer is made compact, other components such as the VAE can become more visible memory bottlenecks. The runtime mitigates this with text-encoder offload and tiled VAE decoding.
|
||||
|
||||
## Citation
|
||||
|
||||
```bibtex
|
||||
@techreport{bonsaiimage4b,
|
||||
title = {Bonsai Image 4B: Low-Bit Diffusion on Apple Silicon and Consumer GPUs},
|
||||
author = {Prism ML},
|
||||
year = {2026},
|
||||
month = {May},
|
||||
url = {https://prismml.com}
|
||||
}
|
||||
```
|
||||
|
||||
## Contact
|
||||
|
||||
For questions, feedback, or collaboration inquiries: **contact@prismml.com**
|
||||
|
|
@ -0,0 +1 @@
|
|||
<svg width="24" height="15" viewBox="0 0 24 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.1304 6.25864H12L14.087 10.4311L6.78261 14.6035H16.1739L20.3478 10.4311L15.1304 6.25864Z" fill="#262C35"/><path d="M16.7826 6.25866H24V8.34488H19.4022L16.7826 6.25866Z" fill="#262C35"/><path d="M0 6.25866H10.837L11.8804 8.34488H0V6.25866Z" fill="#262C35"/><path d="M5.21739 3.12933H20.8696V5.21555H5.21739V3.12933Z" fill="#262C35"/><path d="M10.4348 0H17.7391V2.08622H10.4348V0Z" fill="#262C35"/></svg>
|
||||
|
After Width: | Height: | Size: 510 B |
136
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/manifest.json
Normal file
136
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/manifest.json
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
{
|
||||
"model_version": "binary g128 (Apple Silicon mlx-1bit deployment)",
|
||||
"total_bytes": 3428210856,
|
||||
"files": [
|
||||
{
|
||||
"remote_path": "LICENSE",
|
||||
"size": 10174,
|
||||
"sha256": "69849221bfb90053de2134ef5e6d540287b4b98062326492f1f96f5da685524b"
|
||||
},
|
||||
{
|
||||
"remote_path": "NOTICE.md",
|
||||
"size": 623,
|
||||
"sha256": "bbefa4a26b836efc040c1a0f155a425d1d833eae1b2534ffc414b1eada3cd922"
|
||||
},
|
||||
{
|
||||
"remote_path": "README.md",
|
||||
"size": 11996,
|
||||
"sha256": "1527258bbdd58161a3241245985c78ad5503635fd32bc2d0d37634c192a574e5"
|
||||
},
|
||||
{
|
||||
"remote_path": "model_index.json",
|
||||
"size": 81,
|
||||
"sha256": "ecb4735e37691a8733f62957fd6c548f841af40624905bb24fa639756153c8a1"
|
||||
},
|
||||
{
|
||||
"remote_path": "scheduler/scheduler_config.json",
|
||||
"size": 486,
|
||||
"sha256": "067afb012cef64553a763447d1efd93daeffcc0123ca7e25b09f8de20b90762e"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/added_tokens.json",
|
||||
"size": 707,
|
||||
"sha256": "c0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/config.json",
|
||||
"size": 937,
|
||||
"sha256": "b5efdcf3b0035a3638e7228dad4d85f5c4a23f156eb7cdb0b44c8366a5d34d9b"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/merges.txt",
|
||||
"size": 1671853,
|
||||
"sha256": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/model.safetensors",
|
||||
"size": 2263022529,
|
||||
"sha256": "e240c0bdc0ebb0681bf0da0f98d9719fd6ebe269a3633f81542c13e81345651d"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/model.safetensors.index.json",
|
||||
"size": 63924,
|
||||
"sha256": "f7825defe5865d179c3b593173d37056be5f202dcb7153985cf74e75ecf1628b"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/special_tokens_map.json",
|
||||
"size": 613,
|
||||
"sha256": "76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/tokenizer.json",
|
||||
"size": 11422654,
|
||||
"sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/tokenizer_config.json",
|
||||
"size": 9706,
|
||||
"sha256": "253153d0738ceb4c668d2eff957714dd2bea0b56de772a9fdccd96cbf517e6a0"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/vocab.json",
|
||||
"size": 2776833,
|
||||
"sha256": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/added_tokens.json",
|
||||
"size": 707,
|
||||
"sha256": "c0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/chat_template.jinja",
|
||||
"size": 4168,
|
||||
"sha256": "a55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/merges.txt",
|
||||
"size": 1671853,
|
||||
"sha256": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/special_tokens_map.json",
|
||||
"size": 613,
|
||||
"sha256": "76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/tokenizer.json",
|
||||
"size": 11422654,
|
||||
"sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/tokenizer_config.json",
|
||||
"size": 5404,
|
||||
"sha256": "443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/vocab.json",
|
||||
"size": 2776833,
|
||||
"sha256": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910"
|
||||
},
|
||||
{
|
||||
"remote_path": "transformer-packed-mflux/config.json",
|
||||
"size": 619,
|
||||
"sha256": "14c6d8314d28cc027ce636d52dfb98cecc11b65c1455bd51b394a971f4b7b49e"
|
||||
},
|
||||
{
|
||||
"remote_path": "transformer-packed-mflux/diffusion_pytorch_model.safetensors",
|
||||
"size": 965208136,
|
||||
"sha256": "1792b31d857d95fcbe32df8e6d2fc96b30e800a195e295565d033deccea2dd75"
|
||||
},
|
||||
{
|
||||
"remote_path": "transformer-packed-mflux/quantization_config.json",
|
||||
"size": 5054,
|
||||
"sha256": "ff8e78812e547f25868eff7b9a86cbcf7a91bee95f81f2bf0e039f198dbbabf0"
|
||||
},
|
||||
{
|
||||
"remote_path": "vae/config.json",
|
||||
"size": 821,
|
||||
"sha256": "0d6dfb69ae95a5e2ac9836284bbb63d8b38ce67b25ba2dff380752b2a10ab948"
|
||||
},
|
||||
{
|
||||
"remote_path": "vae/diffusion_pytorch_model.safetensors",
|
||||
"size": 168120878,
|
||||
"sha256": "ca70d2202afe6415bdbcb8793ba8cd99fd159cfe6192381504d6c4d3036e0f04"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"_class_name": "Flux2KleinPipeline",
|
||||
"_diffusers_version": "0.37.0.dev0"
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
||||
"_diffusers_version": "0.37.0.dev0",
|
||||
"base_image_seq_len": 256,
|
||||
"base_shift": 0.5,
|
||||
"invert_sigmas": false,
|
||||
"max_image_seq_len": 4096,
|
||||
"max_shift": 1.15,
|
||||
"num_train_timesteps": 1000,
|
||||
"shift": 3.0,
|
||||
"shift_terminal": null,
|
||||
"stochastic_sampling": false,
|
||||
"time_shift_type": "exponential",
|
||||
"use_beta_sigmas": false,
|
||||
"use_dynamic_shifting": true,
|
||||
"use_exponential_sigmas": false,
|
||||
"use_karras_sigmas": false
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"</think>": 151668,
|
||||
"</tool_call>": 151658,
|
||||
"</tool_response>": 151666,
|
||||
"<think>": 151667,
|
||||
"<tool_call>": 151657,
|
||||
"<tool_response>": 151665,
|
||||
"<|box_end|>": 151649,
|
||||
"<|box_start|>": 151648,
|
||||
"<|endoftext|>": 151643,
|
||||
"<|file_sep|>": 151664,
|
||||
"<|fim_middle|>": 151660,
|
||||
"<|fim_pad|>": 151662,
|
||||
"<|fim_prefix|>": 151659,
|
||||
"<|fim_suffix|>": 151661,
|
||||
"<|im_end|>": 151645,
|
||||
"<|im_start|>": 151644,
|
||||
"<|image_pad|>": 151655,
|
||||
"<|object_ref_end|>": 151647,
|
||||
"<|object_ref_start|>": 151646,
|
||||
"<|quad_end|>": 151651,
|
||||
"<|quad_start|>": 151650,
|
||||
"<|repo_name|>": 151663,
|
||||
"<|video_pad|>": 151656,
|
||||
"<|vision_end|>": 151653,
|
||||
"<|vision_pad|>": 151654,
|
||||
"<|vision_start|>": 151652
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"architectures": [
|
||||
"Qwen3ForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151645,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 2560,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 9728,
|
||||
"max_position_embeddings": 40960,
|
||||
"max_window_layers": 36,
|
||||
"model_type": "qwen3",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 36,
|
||||
"num_key_value_heads": 8,
|
||||
"quantization": {
|
||||
"group_size": 64,
|
||||
"bits": 4
|
||||
},
|
||||
"quantization_config": {
|
||||
"group_size": 64,
|
||||
"bits": 4
|
||||
},
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_scaling": null,
|
||||
"rope_theta": 1000000,
|
||||
"sliding_window": null,
|
||||
"tie_word_embeddings": true,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.51.0",
|
||||
"use_cache": true,
|
||||
"use_sliding_window": false,
|
||||
"vocab_size": 151936
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/merges.txt
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/merges.txt
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/model.safetensors
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/model.safetensors
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,911 @@
|
|||
{
|
||||
"metadata": {
|
||||
"total_size": 2262920192
|
||||
},
|
||||
"weight_map": {
|
||||
"model.embed_tokens.biases": "model.safetensors",
|
||||
"model.embed_tokens.scales": "model.safetensors",
|
||||
"model.embed_tokens.weight": "model.safetensors",
|
||||
"model.layers.0.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.0.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.0.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.0.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.0.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.0.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.0.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.0.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.1.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.1.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.1.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.1.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.1.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.1.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.1.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.1.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.10.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.10.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.10.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.10.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.10.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.10.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.10.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.10.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.11.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.11.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.11.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.11.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.11.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.11.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.11.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.11.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.12.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.12.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.12.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.12.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.12.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.12.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.12.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.12.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.13.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.13.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.13.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.13.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.13.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.13.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.13.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.13.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.14.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.14.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.14.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.14.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.14.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.14.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.14.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.14.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.15.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.15.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.15.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.15.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.15.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.15.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.15.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.15.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.16.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.16.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.16.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.16.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.16.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.16.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.16.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.16.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.17.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.17.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.17.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.17.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.17.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.17.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.17.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.17.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.18.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.18.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.18.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.18.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.18.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.18.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.18.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.18.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.19.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.19.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.19.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.19.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.19.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.19.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.19.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.19.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.2.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.2.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.2.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.2.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.2.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.2.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.2.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.2.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.20.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.20.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.20.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.20.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.20.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.20.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.20.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.20.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.21.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.21.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.21.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.21.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.21.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.21.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.21.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.21.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.22.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.22.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.22.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.22.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.22.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.22.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.22.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.22.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.23.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.23.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.23.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.23.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.23.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.23.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.23.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.23.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.24.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.24.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.24.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.24.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.24.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.24.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.24.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.24.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.25.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.25.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.25.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.25.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.25.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.25.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.25.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.25.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.26.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.26.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.26.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.26.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.26.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.26.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.26.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.26.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.27.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.27.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.27.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.27.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.27.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.27.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.27.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.27.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.28.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.28.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.28.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.28.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.28.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.28.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.28.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.28.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.29.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.29.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.29.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.29.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.29.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.29.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.29.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.29.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.3.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.3.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.3.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.3.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.3.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.3.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.3.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.3.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.30.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.30.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.30.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.30.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.30.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.30.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.30.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.30.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.31.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.31.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.31.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.31.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.31.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.31.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.31.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.31.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.32.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.32.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.32.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.32.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.32.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.32.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.32.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.32.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.32.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.32.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.32.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.33.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.33.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.33.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.33.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.33.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.33.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.33.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.33.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.33.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.33.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.33.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.34.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.34.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.34.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.34.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.34.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.34.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.34.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.34.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.34.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.34.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.34.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.35.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.35.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.35.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.35.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.35.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.35.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.35.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.35.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.35.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.35.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.35.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.4.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.4.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.4.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.4.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.4.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.4.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.4.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.4.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.5.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.5.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.5.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.5.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.5.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.5.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.5.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.5.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.6.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.6.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.6.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.6.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.6.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.6.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.6.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.6.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.7.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.7.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.7.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.7.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.7.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.7.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.7.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.7.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.8.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.8.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.8.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.8.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.8.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.8.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.8.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.8.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.9.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.9.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.9.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.9.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.9.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.9.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.9.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.9.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.norm.weight": "model.safetensors"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"eos_token": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/tokenizer.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/tokenizer.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,240 @@
|
|||
{
|
||||
"add_bos_token": false,
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"151643": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151644": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151645": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151646": {
|
||||
"content": "<|object_ref_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151647": {
|
||||
"content": "<|object_ref_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151648": {
|
||||
"content": "<|box_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151649": {
|
||||
"content": "<|box_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151650": {
|
||||
"content": "<|quad_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151651": {
|
||||
"content": "<|quad_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151652": {
|
||||
"content": "<|vision_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151653": {
|
||||
"content": "<|vision_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151654": {
|
||||
"content": "<|vision_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151655": {
|
||||
"content": "<|image_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151656": {
|
||||
"content": "<|video_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151657": {
|
||||
"content": "<tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151658": {
|
||||
"content": "</tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151659": {
|
||||
"content": "<|fim_prefix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151660": {
|
||||
"content": "<|fim_middle|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151661": {
|
||||
"content": "<|fim_suffix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151662": {
|
||||
"content": "<|fim_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151663": {
|
||||
"content": "<|repo_name|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151664": {
|
||||
"content": "<|file_sep|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151665": {
|
||||
"content": "<tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151666": {
|
||||
"content": "</tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151667": {
|
||||
"content": "<think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151668": {
|
||||
"content": "</think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"bos_token": null,
|
||||
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in message.content %}\n {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|im_end|>",
|
||||
"errors": "replace",
|
||||
"extra_special_tokens": {},
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/vocab.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/text_encoder-mlx-4bit/vocab.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"</think>": 151668,
|
||||
"</tool_call>": 151658,
|
||||
"</tool_response>": 151666,
|
||||
"<think>": 151667,
|
||||
"<tool_call>": 151657,
|
||||
"<tool_response>": 151665,
|
||||
"<|box_end|>": 151649,
|
||||
"<|box_start|>": 151648,
|
||||
"<|endoftext|>": 151643,
|
||||
"<|file_sep|>": 151664,
|
||||
"<|fim_middle|>": 151660,
|
||||
"<|fim_pad|>": 151662,
|
||||
"<|fim_prefix|>": 151659,
|
||||
"<|fim_suffix|>": 151661,
|
||||
"<|im_end|>": 151645,
|
||||
"<|im_start|>": 151644,
|
||||
"<|image_pad|>": 151655,
|
||||
"<|object_ref_end|>": 151647,
|
||||
"<|object_ref_start|>": 151646,
|
||||
"<|quad_end|>": 151651,
|
||||
"<|quad_start|>": 151650,
|
||||
"<|repo_name|>": 151663,
|
||||
"<|video_pad|>": 151656,
|
||||
"<|vision_end|>": 151653,
|
||||
"<|vision_pad|>": 151654,
|
||||
"<|vision_start|>": 151652
|
||||
}
|
||||
|
|
@ -0,0 +1,89 @@
|
|||
{%- if tools %}
|
||||
{{- '<|im_start|>system\n' }}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{{- messages[0].content + '\n\n' }}
|
||||
{%- endif %}
|
||||
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
||||
{%- for tool in tools %}
|
||||
{{- "\n" }}
|
||||
{{- tool | tojson }}
|
||||
{%- endfor %}
|
||||
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
||||
{%- else %}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- 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" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
||||
{%- set ns.multi_step_tool = false %}
|
||||
{%- set ns.last_query_index = index %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- for message in messages %}
|
||||
{%- if message.content is string %}
|
||||
{%- set content = message.content %}
|
||||
{%- else %}
|
||||
{%- set content = '' %}
|
||||
{%- endif %}
|
||||
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
||||
{%- elif message.role == "assistant" %}
|
||||
{%- set reasoning_content = '' %}
|
||||
{%- if message.reasoning_content is string %}
|
||||
{%- set reasoning_content = message.reasoning_content %}
|
||||
{%- else %}
|
||||
{%- if '</think>' in content %}
|
||||
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
||||
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- if loop.index0 > ns.last_query_index %}
|
||||
{%- if loop.last or (not loop.last and reasoning_content) %}
|
||||
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
{%- if message.tool_calls %}
|
||||
{%- for tool_call in message.tool_calls %}
|
||||
{%- if (loop.first and content) or (not loop.first) %}
|
||||
{{- '\n' }}
|
||||
{%- endif %}
|
||||
{%- if tool_call.function %}
|
||||
{%- set tool_call = tool_call.function %}
|
||||
{%- endif %}
|
||||
{{- '<tool_call>\n{"name": "' }}
|
||||
{{- tool_call.name }}
|
||||
{{- '", "arguments": ' }}
|
||||
{%- if tool_call.arguments is string %}
|
||||
{{- tool_call.arguments }}
|
||||
{%- else %}
|
||||
{{- tool_call.arguments | tojson }}
|
||||
{%- endif %}
|
||||
{{- '}\n</tool_call>' }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- elif message.role == "tool" %}
|
||||
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
||||
{{- '<|im_start|>user' }}
|
||||
{%- endif %}
|
||||
{{- '\n<tool_response>\n' }}
|
||||
{{- content }}
|
||||
{{- '\n</tool_response>' }}
|
||||
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if add_generation_prompt %}
|
||||
{{- '<|im_start|>assistant\n' }}
|
||||
{%- if enable_thinking is defined and enable_thinking is false %}
|
||||
{{- '<think>\n\n</think>\n\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/tokenizer/merges.txt
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/tokenizer/merges.txt
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"eos_token": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/tokenizer/tokenizer.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/tokenizer/tokenizer.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,239 @@
|
|||
{
|
||||
"add_bos_token": false,
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"151643": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151644": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151645": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151646": {
|
||||
"content": "<|object_ref_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151647": {
|
||||
"content": "<|object_ref_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151648": {
|
||||
"content": "<|box_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151649": {
|
||||
"content": "<|box_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151650": {
|
||||
"content": "<|quad_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151651": {
|
||||
"content": "<|quad_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151652": {
|
||||
"content": "<|vision_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151653": {
|
||||
"content": "<|vision_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151654": {
|
||||
"content": "<|vision_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151655": {
|
||||
"content": "<|image_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151656": {
|
||||
"content": "<|video_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151657": {
|
||||
"content": "<tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151658": {
|
||||
"content": "</tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151659": {
|
||||
"content": "<|fim_prefix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151660": {
|
||||
"content": "<|fim_middle|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151661": {
|
||||
"content": "<|fim_suffix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151662": {
|
||||
"content": "<|fim_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151663": {
|
||||
"content": "<|repo_name|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151664": {
|
||||
"content": "<|file_sep|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151665": {
|
||||
"content": "<tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151666": {
|
||||
"content": "</tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151667": {
|
||||
"content": "<think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151668": {
|
||||
"content": "</think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"bos_token": null,
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|im_end|>",
|
||||
"errors": "replace",
|
||||
"extra_special_tokens": {},
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/tokenizer/vocab.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/tokenizer/vocab.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"_class_name": "Flux2Transformer2DModel",
|
||||
"_diffusers_version": "0.37.1",
|
||||
"_name_or_path": "black-forest-labs/FLUX.2-klein-4B",
|
||||
"attention_head_dim": 128,
|
||||
"axes_dims_rope": [
|
||||
32,
|
||||
32,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"enable_time_sign_embed": false,
|
||||
"eps": 1e-06,
|
||||
"guidance_embeds": false,
|
||||
"in_channels": 128,
|
||||
"joint_attention_dim": 7680,
|
||||
"mlp_ratio": 3.0,
|
||||
"musubi_block_swap_device": "cpu",
|
||||
"musubi_blocks_to_swap": 0,
|
||||
"num_attention_heads": 24,
|
||||
"num_layers": 5,
|
||||
"num_single_layers": 20,
|
||||
"out_channels": null,
|
||||
"patch_size": 1,
|
||||
"rope_theta": 2000,
|
||||
"timestep_guidance_channels": 256
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/transformer-packed-mflux/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/transformer-packed-mflux/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,120 @@
|
|||
{
|
||||
"format": "prism-packed-affine",
|
||||
"solver": "affine",
|
||||
"bits": 1,
|
||||
"group_size": 128,
|
||||
"scale_dtype": "bfloat16",
|
||||
"skip_patterns": [
|
||||
"proj_out",
|
||||
"x_embedder",
|
||||
"context_embedder",
|
||||
"time_text_embed",
|
||||
"time_guidance_embed",
|
||||
"norm_out",
|
||||
"double_stream_modulation_img",
|
||||
"double_stream_modulation_txt",
|
||||
"single_stream_modulation"
|
||||
],
|
||||
"quantized_modules": [
|
||||
"single_transformer_blocks.0.attn.to_out",
|
||||
"single_transformer_blocks.0.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.1.attn.to_out",
|
||||
"single_transformer_blocks.1.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.10.attn.to_out",
|
||||
"single_transformer_blocks.10.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.11.attn.to_out",
|
||||
"single_transformer_blocks.11.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.12.attn.to_out",
|
||||
"single_transformer_blocks.12.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.13.attn.to_out",
|
||||
"single_transformer_blocks.13.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.14.attn.to_out",
|
||||
"single_transformer_blocks.14.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.15.attn.to_out",
|
||||
"single_transformer_blocks.15.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.16.attn.to_out",
|
||||
"single_transformer_blocks.16.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.17.attn.to_out",
|
||||
"single_transformer_blocks.17.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.18.attn.to_out",
|
||||
"single_transformer_blocks.18.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.19.attn.to_out",
|
||||
"single_transformer_blocks.19.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.2.attn.to_out",
|
||||
"single_transformer_blocks.2.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.3.attn.to_out",
|
||||
"single_transformer_blocks.3.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.4.attn.to_out",
|
||||
"single_transformer_blocks.4.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.5.attn.to_out",
|
||||
"single_transformer_blocks.5.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.6.attn.to_out",
|
||||
"single_transformer_blocks.6.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.7.attn.to_out",
|
||||
"single_transformer_blocks.7.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.8.attn.to_out",
|
||||
"single_transformer_blocks.8.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.9.attn.to_out",
|
||||
"single_transformer_blocks.9.attn.to_qkv_mlp_proj",
|
||||
"transformer_blocks.0.attn.add_k_proj",
|
||||
"transformer_blocks.0.attn.add_q_proj",
|
||||
"transformer_blocks.0.attn.add_v_proj",
|
||||
"transformer_blocks.0.attn.to_add_out",
|
||||
"transformer_blocks.0.attn.to_k",
|
||||
"transformer_blocks.0.attn.to_out.0",
|
||||
"transformer_blocks.0.attn.to_q",
|
||||
"transformer_blocks.0.attn.to_v",
|
||||
"transformer_blocks.0.ff.linear_in",
|
||||
"transformer_blocks.0.ff.linear_out",
|
||||
"transformer_blocks.0.ff_context.linear_in",
|
||||
"transformer_blocks.0.ff_context.linear_out",
|
||||
"transformer_blocks.1.attn.add_k_proj",
|
||||
"transformer_blocks.1.attn.add_q_proj",
|
||||
"transformer_blocks.1.attn.add_v_proj",
|
||||
"transformer_blocks.1.attn.to_add_out",
|
||||
"transformer_blocks.1.attn.to_k",
|
||||
"transformer_blocks.1.attn.to_out.0",
|
||||
"transformer_blocks.1.attn.to_q",
|
||||
"transformer_blocks.1.attn.to_v",
|
||||
"transformer_blocks.1.ff.linear_in",
|
||||
"transformer_blocks.1.ff.linear_out",
|
||||
"transformer_blocks.1.ff_context.linear_in",
|
||||
"transformer_blocks.1.ff_context.linear_out",
|
||||
"transformer_blocks.2.attn.add_k_proj",
|
||||
"transformer_blocks.2.attn.add_q_proj",
|
||||
"transformer_blocks.2.attn.add_v_proj",
|
||||
"transformer_blocks.2.attn.to_add_out",
|
||||
"transformer_blocks.2.attn.to_k",
|
||||
"transformer_blocks.2.attn.to_out.0",
|
||||
"transformer_blocks.2.attn.to_q",
|
||||
"transformer_blocks.2.attn.to_v",
|
||||
"transformer_blocks.2.ff.linear_in",
|
||||
"transformer_blocks.2.ff.linear_out",
|
||||
"transformer_blocks.2.ff_context.linear_in",
|
||||
"transformer_blocks.2.ff_context.linear_out",
|
||||
"transformer_blocks.3.attn.add_k_proj",
|
||||
"transformer_blocks.3.attn.add_q_proj",
|
||||
"transformer_blocks.3.attn.add_v_proj",
|
||||
"transformer_blocks.3.attn.to_add_out",
|
||||
"transformer_blocks.3.attn.to_k",
|
||||
"transformer_blocks.3.attn.to_out.0",
|
||||
"transformer_blocks.3.attn.to_q",
|
||||
"transformer_blocks.3.attn.to_v",
|
||||
"transformer_blocks.3.ff.linear_in",
|
||||
"transformer_blocks.3.ff.linear_out",
|
||||
"transformer_blocks.3.ff_context.linear_in",
|
||||
"transformer_blocks.3.ff_context.linear_out",
|
||||
"transformer_blocks.4.attn.add_k_proj",
|
||||
"transformer_blocks.4.attn.add_q_proj",
|
||||
"transformer_blocks.4.attn.add_v_proj",
|
||||
"transformer_blocks.4.attn.to_add_out",
|
||||
"transformer_blocks.4.attn.to_k",
|
||||
"transformer_blocks.4.attn.to_out.0",
|
||||
"transformer_blocks.4.attn.to_q",
|
||||
"transformer_blocks.4.attn.to_v",
|
||||
"transformer_blocks.4.ff.linear_in",
|
||||
"transformer_blocks.4.ff.linear_out",
|
||||
"transformer_blocks.4.ff_context.linear_in",
|
||||
"transformer_blocks.4.ff_context.linear_out"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"_class_name": "AutoencoderKLFlux2",
|
||||
"_diffusers_version": "0.37.0.dev0",
|
||||
"_name_or_path": "black-forest-labs/FLUX.2-dev",
|
||||
"act_fn": "silu",
|
||||
"batch_norm_eps": 0.0001,
|
||||
"batch_norm_momentum": 0.1,
|
||||
"block_out_channels": [
|
||||
128,
|
||||
256,
|
||||
512,
|
||||
512
|
||||
],
|
||||
"down_block_types": [
|
||||
"DownEncoderBlock2D",
|
||||
"DownEncoderBlock2D",
|
||||
"DownEncoderBlock2D",
|
||||
"DownEncoderBlock2D"
|
||||
],
|
||||
"force_upcast": true,
|
||||
"in_channels": 3,
|
||||
"latent_channels": 32,
|
||||
"layers_per_block": 2,
|
||||
"mid_block_add_attention": true,
|
||||
"norm_num_groups": 32,
|
||||
"out_channels": 3,
|
||||
"patch_size": [
|
||||
2,
|
||||
2
|
||||
],
|
||||
"sample_size": 1024,
|
||||
"up_block_types": [
|
||||
"UpDecoderBlock2D",
|
||||
"UpDecoderBlock2D",
|
||||
"UpDecoderBlock2D",
|
||||
"UpDecoderBlock2D"
|
||||
],
|
||||
"use_post_quant_conv": true,
|
||||
"use_quant_conv": true
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/vae/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-binary-4B-mlx-1bit/vae/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
Binary file not shown.
37
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/.gitattributes
vendored
Normal file
37
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
text_encoder-mlx-4bit/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||
tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||
177
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/LICENSE
Normal file
177
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/LICENSE
Normal file
|
|
@ -0,0 +1,177 @@
|
|||
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
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
This software is copyright 2026-present Prism ML, Inc. It is available under the Apache 2.0 license.
|
||||
If you publicly deploy or redistribute this software, we would appreciate attribution such as: "Created using Bonsai Image by Prism ML."
|
||||
|
||||
This software is built from FLUX.2 [klein] 4B, Copyright 2026 Black Forest Labs, which is available under the Apache 2.0 License: https://huggingface.co/black-forest-labs/FLUX.2-klein-4B/blob/main/LICENSE.md
|
||||
|
||||
The text encoder is built from Qwen3-4B, Copyright 2024 Alibaba Cloud, which is available under the Apache 2.0 License: https://huggingface.co/Qwen/Qwen3-4B/blob/main/LICENSE
|
||||
213
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/README.md
Normal file
213
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/README.md
Normal file
|
|
@ -0,0 +1,213 @@
|
|||
---
|
||||
license: apache-2.0
|
||||
pipeline_tag: text-to-image
|
||||
tags:
|
||||
- ternary
|
||||
- 1.58-bit
|
||||
- mlx
|
||||
- apple-silicon
|
||||
- on-device
|
||||
- text-to-image
|
||||
- diffusion
|
||||
- flux
|
||||
- prismml
|
||||
- bonsai
|
||||
base_model:
|
||||
- prism-ml/bonsai-image-ternary-4B-unpacked
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<img src="./assets/bonsai-logo.svg" width="280" alt="Bonsai Image">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://prismml.com"><b>Prism ML Website</b></a> |
|
||||
<a href="https://github.com/PrismML-Eng/Bonsai-Image-Demo/blob/main/bonsai-image-4b-whitepaper.pdf"><b>White Paper</b></a> |
|
||||
<a href="https://github.com/PrismML-Eng/Bonsai-Image-Demo"><b>Demo & Examples</b></a> |
|
||||
<a href="https://discord.gg/prismml"><b>Discord</b></a>
|
||||
</p>
|
||||
|
||||
# bonsai-image-ternary-4B-mlx-2bit
|
||||
|
||||
Ternary weight (1.58-bit) text-to-image diffusion transformer deployment for Apple Silicon
|
||||
|
||||
> **1.21 GB transformer** | **6.4×** smaller than FP16 | **9.4 s / 512²** on iPhone 17 Pro Max | **~6 s / 512²** on M4 Pro | runs on Mac, iPhone, iPad
|
||||
|
||||
## Highlights
|
||||
|
||||
- **1.21 GB** diffusion transformer, down from **7.75 GB** for the FP16 FLUX.2 Klein 4B transformer
|
||||
- Ternary {−1, 0, +1} transformer weights with FP16 group-wise scaling in the matrix-heavy transformer layers (Q/K/V projections, output projections, MLP weights)
|
||||
- Quality-oriented Bonsai Image variant: the additional zero state improves visual quality and prompt fidelity while keeping the transformer compact
|
||||
- 3.88 GB Apple Silicon deployment payload including the 4-bit text encoder and FP16 VAE — text encoder is offloaded after prompt encode, so the denoising loop only keeps the compact transformer and VAE resident
|
||||
- 4-step FlowMatch-Euler sampler with guidance = 1.0 and shift = 3.0 — no CFG, no negative prompts needed
|
||||
- MLX-native 2-bit format for Apple Silicon, the same kernel path as our ternary language-model releases
|
||||
- Cross-platform companion: also available as [gemlite 2-bit](https://huggingface.co/prism-ml/bonsai-image-ternary-4B-gemlite-2bit) for NVIDIA GPUs
|
||||
|
||||
## Resources
|
||||
|
||||
- **[White Paper](https://github.com/PrismML-Eng/Bonsai-Image-Demo/blob/main/bonsai-image-4b-whitepaper.pdf)** — full benchmarks, kernels, and memory analysis
|
||||
- **[Demo repo](https://github.com/PrismML-Eng/Bonsai-Image-Demo)** — one-command setup for Mac / Linux / Windows
|
||||
- **[Discord](https://discord.gg/prismml)** — community + support
|
||||
- **Kernels**: [MLX](https://github.com/ml-explore/mlx) (Apple Silicon) · [mlx-swift](https://github.com/ml-explore/mlx-swift) (iOS / macOS) — 2-bit format is supported out of the box
|
||||
|
||||
## Model Overview
|
||||
|
||||
| Item | Specification |
|
||||
| :-------------------- | :-------------------------------------------------------------------------------------|
|
||||
| Base architecture | FLUX.2 Klein 4B (MMDiT diffusion transformer) |
|
||||
| Parameters | ~4.0B (transformer trunk) |
|
||||
| Blocks | 25 MMDiT blocks: 5 double-stream + 20 single-stream |
|
||||
| Sampler | FlowMatchEuler, **4 steps**, guidance = 1.0, shift = 3.0 |
|
||||
| Text encoder | Qwen3-4B at 4-bit (≈ 2.28 GB on-device, offloaded after prompt encode) |
|
||||
| VAE | Flux2 32-channel latent, tiled decode (128 px tiles) |
|
||||
| Native resolution | 1024×1024 (also supports 512×512 and arbitrary multiples of 32) |
|
||||
| Weight format | MLX 2-bit g128, ternary values + FP16 group-wise scales |
|
||||
| **Transformer size** | **1.21 GB** (6.4× smaller than 7.75 GB FP16) |
|
||||
| Total payload | **3.88 GB** (4.1x smaller than the 15.97 GB FP16 transformer + text encoder + VAE) |
|
||||
| Ternary coverage | All 100 matmul-heavy linears in the 25 MMDiT blocks |
|
||||
| License | Apache 2.0 |
|
||||
|
||||
## Ternary Weight Representation: 1.58-bit g128
|
||||
|
||||
Each ternary weight takes a value from {−1, 0, +1} with one shared FP16 scale per group of 128 weights:
|
||||
|
||||
```
|
||||
w_i = scale_g * t_i, t_i in {−1, 0, +1}
|
||||
```
|
||||
|
||||
Ternary values carry log₂(3) ≈ 1.585 bits of information per weight. With one FP16 scale per group of 128, the effective storage is
|
||||
|
||||
```
|
||||
b_eff ≈ log2(3) + 16/128 ≈ 1.585 + 0.125 ≈ 1.71 bits/weight
|
||||
```
|
||||
|
||||
This gives an idealized **9.4× reduction** relative to FP16 for the ternary transformer layers. A small set of precision-sensitive supporting tensors remains in FP16, so the final Ternary Bonsai Image 4B diffusion transformer is **1.21 GB**, a 6.4× reduction from the 7.75 GB FP16 FLUX.2 Klein 4B transformer.
|
||||
|
||||
The ternary representation is applied to the matrix-heavy transformer layers, including Q / K / V projections, output projections, MLP linears, and the double-stream add-K / Q / V linears. Supporting tensors (less than 5% of the total parameters) such as modulation streams, embedders, output norm, and output projection remain FP16 for image quality and stability.
|
||||
|
||||
The MLX deployment uses a 2-bit packed format. Ternary values are stored in 2-bit slots, with the fourth code unused. The model-level Bonsai representation is **1.21 GB**; the deployed MLX pack is **1.43 GB** on disk due to runtime packing and alignment overhead in the current MLX path.
|
||||
|
||||
### Memory
|
||||
|
||||
| Format | Transformer size | Reduction | Ratio |
|
||||
| :------------------------------ | ---------------: | --------: | -------: |
|
||||
| FP16 FLUX.2 Klein 4B | 7.75 GB | — | 1.0× |
|
||||
| **Ternary Bonsai Image 4B** | **1.21 GB** | **84.4%** | **6.4×** |
|
||||
|
||||
Apple Silicon deployment:
|
||||
|
||||
| Component | Size |
|
||||
| :------------------------------ | ------: |
|
||||
| MLX 2-bit diffusion transformer | 1.43 GB |
|
||||
| Compressed text encoder | 2.28 GB |
|
||||
| FP16 VAE | 0.17 GB |
|
||||
| **Total payload** | **3.88 GB** |
|
||||
|
||||
At runtime, the text encoder is offloaded after prompt encoding. During denoising, the repeated image-generation loop is dominated by the compact ternary diffusion transformer and active image-generation components rather than the full payload.
|
||||
|
||||
End-to-end Mac M4 Pro mean-active memory pressure at 1024² is **2.38 GB** — a **6.0×** reduction vs the stock FP16 MFLUX pipeline (14.39 GB).
|
||||
|
||||
|
||||
## Best Practices
|
||||
|
||||
- Sampler: FlowMatchEuler-discrete with 4 steps, guidance = 1.0 (no classifier-free guidance), shift = 3.0. The model is designed for 4 steps; running more steps does not improve quality significantly and can introduce artifacts.
|
||||
- Resolution: native 1024² is the design target; 512² works for quick previews.
|
||||
- Aspect ratios: multiples of 32 are supported, including 832×1248 and 1248×832.
|
||||
- Prompting: natural-language prompts. Negative prompts are not required.
|
||||
- Runtime memory: the text encoder is offloaded after prompt encoding, so the denoising loop is memory-light.
|
||||
|
||||
## Quickstart
|
||||
|
||||
### MLX (Python)
|
||||
|
||||
The simplest path is the [Bonsai Image Demo repo](https://github.com/PrismML-Eng/Bonsai-Image-Demo), which sets up the full Bonsai Studio (FastAPI backend + Next.js frontend):
|
||||
|
||||
```bash
|
||||
git clone https://github.com/PrismML-Eng/Bonsai-Image-Demo.git
|
||||
cd Bonsai-Image-Demo
|
||||
./setup.sh
|
||||
./scripts/download_model.sh # ternary is the default
|
||||
./scripts/serve.sh
|
||||
```
|
||||
|
||||
For a one-shot render without the studio frontend:
|
||||
|
||||
```bash
|
||||
./scripts/generate.sh --prompt "A bonsai tree in a quiet ceramic studio, soft morning light"
|
||||
```
|
||||
|
||||
### MLX Swift (iOS / macOS)
|
||||
|
||||
Ternary Bonsai Image 4B runs natively on iPhone and iPad via MLX Swift. Bonsai Studio for iPhone is available on the App Store and ships ternary as the default variant.
|
||||
|
||||
## Throughput (MLX / Apple Silicon)
|
||||
|
||||
Mac M4 Pro (48 GB unified memory), 4 denoising steps, fixed prompt and seed:
|
||||
|
||||
| Resolution | s / step | s / image (mean ± std) | vs stock MFLUX FP16 |
|
||||
| :------------ | -------: | ---------------------: | ------------------: |
|
||||
| 512 × 512 | 1.44 | 5.78 ± 0.08 s | **3.15×** |
|
||||
| 1024 × 1024 | 6.06 | **24.26 ± 0.24 s** | **5.56×** |
|
||||
|
||||
iPhone 17 Pro Max (A19 Pro, 12 GB unified memory), MLX Swift, same methodology:
|
||||
|
||||
| Resolution | s / step | s / image |
|
||||
| :------------ | -------: | --------: |
|
||||
| 128 × 128 | 0.68 | 2.7 s |
|
||||
| 256 × 256 | 1.00 | 4.0 s |
|
||||
| 512 × 512 | 2.35 | **9.4 s** |
|
||||
| 1024 × 1024 | 8.50 | **34.0 s**|
|
||||
|
||||
Stock FP16 FLUX.2 Klein 4B does not fit within iPhone 17 Pro Max's 12 GB unified memory budget; Bonsai Image 4B models do.
|
||||
|
||||
## Benchmarks
|
||||
|
||||
Evaluated with matched generation settings across the comparison set on H100. GenEval uses the official 512x512 protocol. For HPSv3 and DPG-Bench, larger-backbone rows are evaluated at 1024x1024, while smaller-backbone rows are evaluated at their native 512x512 setting. Higher is better for all three benchmarks.
|
||||
|
||||
| Model | Transformer (GB) | GenEval | HPSv3 | DPG-Bench |
|
||||
| :--------------------------- | ---------------: | ------: | -----: | --------: |
|
||||
| **Bonsai Image · Ternary 4B**| **1.21** | **0.723** | **12.22** | **0.851** |
|
||||
| **Bonsai Image · Binary 4B** | **0.93** | **0.671** | **11.15** | **0.822** |
|
||||
| FLUX.2 Klein 4B | 7.75 | 0.819 | 12.84 | 0.853 |
|
||||
| FLUX.1-schnell | 23.8 | 0.716 | 12.67 | 0.848 |
|
||||
| SDXL | 5.14 | 0.300 | 10.05 | 0.740 |
|
||||
| PixArt-Σ XL 2 | 1.20 | 0.541 | 11.93 | 0.769 |
|
||||
| Stable Diffusion 1.5 | 1.72 | 0.396 | 4.20 | 0.601 |
|
||||
| BK-SDM-Small | 0.98 | 0.297 | 3.05 | 0.559 |
|
||||
|
||||
The benchmark results show the intended quality-footprint trade-off. Ternary Bonsai Image 4B is the quality-oriented variant: at 1.21 GB, it sits very close to FLUX.2 Klein 4B across GenEval, HPSv3, and DPG-Bench while reducing the diffusion transformer footprint by 6.4x. The binary companion is the footprint-oriented variant, reducing the diffusion transformer below 1 GB while still delivering strong benchmark results.
|
||||
|
||||
Together, the Bonsai Image variants move the quality-footprint frontier: they bring modern diffusion-transformer behavior into a memory range previously occupied by much smaller, lower-capability models.
|
||||
|
||||
## Use Cases
|
||||
|
||||
- **Local creative tooling**: image generation directly on Mac, iPhone, and iPad
|
||||
- **Private generation**: prompts and generated assets can remain local
|
||||
- **Rapid iteration**: lower local latency and no remote queue for iterative creative workflows
|
||||
- **Mobile deployment**: image generation on devices with unified-memory, thermal, and connectivity constraints
|
||||
- **Commodity-GPU serving**: lower transformer footprint and reduced memory pressure through the companion CUDA deployment
|
||||
- **Enterprise and controlled inference**: local or private environments for data residency and compliance-sensitive workflows
|
||||
|
||||
## Limitations
|
||||
|
||||
- Ternary Bonsai Image 4B is not bit-identical to the FP16 FLUX.2 Klein 4B model; it is a compact ternary-weight deployment designed to deliver similar practical behavior at much smaller size.
|
||||
- Image-generation quality remains prompt- and workflow-dependent. Small text, fine details, object counts, and strict compositional constraints should be evaluated for the target use case.
|
||||
- Current commodity inference stacks do not yet expose fully native ternary execution as a standard hardware path. This release uses practical MLX low-bit kernel paths on Apple Silicon and Gemlite low-bit GEMM on CUDA.
|
||||
- After the diffusion transformer is made compact, other components such as the VAE can become more visible memory bottlenecks. The runtime mitigates this with text-encoder offload and tiled VAE decoding.
|
||||
|
||||
|
||||
## Citation
|
||||
|
||||
```bibtex
|
||||
@techreport{bonsaiimage4b,
|
||||
title = {Bonsai Image 4B: Low-Bit Diffusion on Apple Silicon and Consumer GPUs},
|
||||
author = {Prism ML},
|
||||
year = {2026},
|
||||
month = {May},
|
||||
url = {https://prismml.com}
|
||||
}
|
||||
```
|
||||
|
||||
## Contact
|
||||
|
||||
For questions, feedback, or collaboration inquiries: **contact@prismml.com**
|
||||
|
|
@ -0,0 +1 @@
|
|||
<svg width="24" height="15" viewBox="0 0 24 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.1304 6.25864H12L14.087 10.4311L6.78261 14.6035H16.1739L20.3478 10.4311L15.1304 6.25864Z" fill="#262C35"/><path d="M16.7826 6.25866H24V8.34488H19.4022L16.7826 6.25866Z" fill="#262C35"/><path d="M0 6.25866H10.837L11.8804 8.34488H0V6.25866Z" fill="#262C35"/><path d="M5.21739 3.12933H20.8696V5.21555H5.21739V3.12933Z" fill="#262C35"/><path d="M10.4348 0H17.7391V2.08622H10.4348V0Z" fill="#262C35"/></svg>
|
||||
|
After Width: | Height: | Size: 510 B |
|
|
@ -0,0 +1,136 @@
|
|||
{
|
||||
"model_version": "ternary g128 (Apple Silicon mlx-2bit deployment)",
|
||||
"total_bytes": 3888274639,
|
||||
"files": [
|
||||
{
|
||||
"remote_path": "LICENSE",
|
||||
"size": 10174,
|
||||
"sha256": "69849221bfb90053de2134ef5e6d540287b4b98062326492f1f96f5da685524b"
|
||||
},
|
||||
{
|
||||
"remote_path": "NOTICE.md",
|
||||
"size": 623,
|
||||
"sha256": "bbefa4a26b836efc040c1a0f155a425d1d833eae1b2534ffc414b1eada3cd922"
|
||||
},
|
||||
{
|
||||
"remote_path": "README.md",
|
||||
"size": 12443,
|
||||
"sha256": "4017f9c74fc1f89212a8b736a29bcc742fe1fe4679fbeb1a5818bf395f80d55e"
|
||||
},
|
||||
{
|
||||
"remote_path": "model_index.json",
|
||||
"size": 81,
|
||||
"sha256": "ecb4735e37691a8733f62957fd6c548f841af40624905bb24fa639756153c8a1"
|
||||
},
|
||||
{
|
||||
"remote_path": "scheduler/scheduler_config.json",
|
||||
"size": 486,
|
||||
"sha256": "067afb012cef64553a763447d1efd93daeffcc0123ca7e25b09f8de20b90762e"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/added_tokens.json",
|
||||
"size": 707,
|
||||
"sha256": "c0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/config.json",
|
||||
"size": 937,
|
||||
"sha256": "b5efdcf3b0035a3638e7228dad4d85f5c4a23f156eb7cdb0b44c8366a5d34d9b"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/merges.txt",
|
||||
"size": 1671853,
|
||||
"sha256": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/model.safetensors",
|
||||
"size": 2263022529,
|
||||
"sha256": "e240c0bdc0ebb0681bf0da0f98d9719fd6ebe269a3633f81542c13e81345651d"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/model.safetensors.index.json",
|
||||
"size": 63924,
|
||||
"sha256": "f7825defe5865d179c3b593173d37056be5f202dcb7153985cf74e75ecf1628b"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/special_tokens_map.json",
|
||||
"size": 613,
|
||||
"sha256": "76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/tokenizer.json",
|
||||
"size": 11422654,
|
||||
"sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/tokenizer_config.json",
|
||||
"size": 9706,
|
||||
"sha256": "253153d0738ceb4c668d2eff957714dd2bea0b56de772a9fdccd96cbf517e6a0"
|
||||
},
|
||||
{
|
||||
"remote_path": "text_encoder-mlx-4bit/vocab.json",
|
||||
"size": 2776833,
|
||||
"sha256": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/added_tokens.json",
|
||||
"size": 707,
|
||||
"sha256": "c0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/chat_template.jinja",
|
||||
"size": 4168,
|
||||
"sha256": "a55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/merges.txt",
|
||||
"size": 1671853,
|
||||
"sha256": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/special_tokens_map.json",
|
||||
"size": 613,
|
||||
"sha256": "76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/tokenizer.json",
|
||||
"size": 11422654,
|
||||
"sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/tokenizer_config.json",
|
||||
"size": 5404,
|
||||
"sha256": "443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0"
|
||||
},
|
||||
{
|
||||
"remote_path": "tokenizer/vocab.json",
|
||||
"size": 2776833,
|
||||
"sha256": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910"
|
||||
},
|
||||
{
|
||||
"remote_path": "transformer-packed-mflux/config.json",
|
||||
"size": 619,
|
||||
"sha256": "14c6d8314d28cc027ce636d52dfb98cecc11b65c1455bd51b394a971f4b7b49e"
|
||||
},
|
||||
{
|
||||
"remote_path": "transformer-packed-mflux/diffusion_pytorch_model.safetensors",
|
||||
"size": 1425271472,
|
||||
"sha256": "b21737bdf02690b7d662907781c4dc8b8bf22a2c98b823b1ca3336f48371a84f"
|
||||
},
|
||||
{
|
||||
"remote_path": "transformer-packed-mflux/quantization_config.json",
|
||||
"size": 5054,
|
||||
"sha256": "6a792a07051e534b177aefaac5222796ec13bbdd1a597a2b08695b4c6c75fec7"
|
||||
},
|
||||
{
|
||||
"remote_path": "vae/config.json",
|
||||
"size": 821,
|
||||
"sha256": "0d6dfb69ae95a5e2ac9836284bbb63d8b38ce67b25ba2dff380752b2a10ab948"
|
||||
},
|
||||
{
|
||||
"remote_path": "vae/diffusion_pytorch_model.safetensors",
|
||||
"size": 168120878,
|
||||
"sha256": "ca70d2202afe6415bdbcb8793ba8cd99fd159cfe6192381504d6c4d3036e0f04"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"_class_name": "Flux2KleinPipeline",
|
||||
"_diffusers_version": "0.37.0.dev0"
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
||||
"_diffusers_version": "0.37.0.dev0",
|
||||
"base_image_seq_len": 256,
|
||||
"base_shift": 0.5,
|
||||
"invert_sigmas": false,
|
||||
"max_image_seq_len": 4096,
|
||||
"max_shift": 1.15,
|
||||
"num_train_timesteps": 1000,
|
||||
"shift": 3.0,
|
||||
"shift_terminal": null,
|
||||
"stochastic_sampling": false,
|
||||
"time_shift_type": "exponential",
|
||||
"use_beta_sigmas": false,
|
||||
"use_dynamic_shifting": true,
|
||||
"use_exponential_sigmas": false,
|
||||
"use_karras_sigmas": false
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"</think>": 151668,
|
||||
"</tool_call>": 151658,
|
||||
"</tool_response>": 151666,
|
||||
"<think>": 151667,
|
||||
"<tool_call>": 151657,
|
||||
"<tool_response>": 151665,
|
||||
"<|box_end|>": 151649,
|
||||
"<|box_start|>": 151648,
|
||||
"<|endoftext|>": 151643,
|
||||
"<|file_sep|>": 151664,
|
||||
"<|fim_middle|>": 151660,
|
||||
"<|fim_pad|>": 151662,
|
||||
"<|fim_prefix|>": 151659,
|
||||
"<|fim_suffix|>": 151661,
|
||||
"<|im_end|>": 151645,
|
||||
"<|im_start|>": 151644,
|
||||
"<|image_pad|>": 151655,
|
||||
"<|object_ref_end|>": 151647,
|
||||
"<|object_ref_start|>": 151646,
|
||||
"<|quad_end|>": 151651,
|
||||
"<|quad_start|>": 151650,
|
||||
"<|repo_name|>": 151663,
|
||||
"<|video_pad|>": 151656,
|
||||
"<|vision_end|>": 151653,
|
||||
"<|vision_pad|>": 151654,
|
||||
"<|vision_start|>": 151652
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"architectures": [
|
||||
"Qwen3ForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151645,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 2560,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 9728,
|
||||
"max_position_embeddings": 40960,
|
||||
"max_window_layers": 36,
|
||||
"model_type": "qwen3",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 36,
|
||||
"num_key_value_heads": 8,
|
||||
"quantization": {
|
||||
"group_size": 64,
|
||||
"bits": 4
|
||||
},
|
||||
"quantization_config": {
|
||||
"group_size": 64,
|
||||
"bits": 4
|
||||
},
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_scaling": null,
|
||||
"rope_theta": 1000000,
|
||||
"sliding_window": null,
|
||||
"tie_word_embeddings": true,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.51.0",
|
||||
"use_cache": true,
|
||||
"use_sliding_window": false,
|
||||
"vocab_size": 151936
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/merges.txt
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/merges.txt
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/model.safetensors
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/model.safetensors
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,911 @@
|
|||
{
|
||||
"metadata": {
|
||||
"total_size": 2262920192
|
||||
},
|
||||
"weight_map": {
|
||||
"model.embed_tokens.biases": "model.safetensors",
|
||||
"model.embed_tokens.scales": "model.safetensors",
|
||||
"model.embed_tokens.weight": "model.safetensors",
|
||||
"model.layers.0.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.0.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.0.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.0.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.0.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.0.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.0.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.0.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.1.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.1.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.1.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.1.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.1.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.1.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.1.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.1.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.10.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.10.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.10.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.10.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.10.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.10.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.10.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.10.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.11.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.11.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.11.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.11.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.11.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.11.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.11.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.11.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.12.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.12.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.12.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.12.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.12.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.12.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.12.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.12.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.13.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.13.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.13.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.13.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.13.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.13.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.13.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.13.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.14.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.14.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.14.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.14.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.14.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.14.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.14.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.14.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.15.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.15.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.15.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.15.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.15.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.15.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.15.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.15.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.16.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.16.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.16.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.16.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.16.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.16.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.16.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.16.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.17.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.17.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.17.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.17.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.17.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.17.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.17.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.17.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.18.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.18.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.18.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.18.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.18.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.18.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.18.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.18.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.19.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.19.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.19.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.19.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.19.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.19.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.19.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.19.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.2.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.2.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.2.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.2.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.2.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.2.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.2.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.2.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.20.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.20.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.20.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.20.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.20.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.20.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.20.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.20.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.21.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.21.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.21.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.21.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.21.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.21.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.21.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.21.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.22.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.22.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.22.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.22.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.22.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.22.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.22.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.22.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.23.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.23.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.23.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.23.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.23.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.23.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.23.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.23.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.24.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.24.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.24.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.24.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.24.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.24.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.24.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.24.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.25.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.25.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.25.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.25.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.25.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.25.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.25.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.25.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.26.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.26.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.26.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.26.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.26.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.26.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.26.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.26.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.27.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.27.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.27.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.27.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.27.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.27.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.27.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.27.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.28.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.28.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.28.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.28.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.28.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.28.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.28.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.28.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.29.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.29.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.29.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.29.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.29.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.29.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.29.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.29.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.3.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.3.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.3.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.3.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.3.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.3.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.3.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.3.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.30.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.30.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.30.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.30.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.30.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.30.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.30.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.30.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.31.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.31.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.31.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.31.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.31.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.31.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.31.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.31.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.32.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.32.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.32.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.32.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.32.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.32.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.32.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.32.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.32.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.32.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.32.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.33.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.33.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.33.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.33.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.33.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.33.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.33.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.33.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.33.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.33.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.33.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.34.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.34.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.34.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.34.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.34.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.34.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.34.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.34.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.34.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.34.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.34.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.35.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.35.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.35.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.35.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.35.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.35.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.35.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.35.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.35.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.35.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.35.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.4.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.4.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.4.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.4.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.4.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.4.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.4.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.4.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.5.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.5.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.5.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.5.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.5.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.5.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.5.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.5.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.6.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.6.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.6.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.6.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.6.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.6.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.6.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.6.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.7.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.7.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.7.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.7.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.7.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.7.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.7.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.7.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.8.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.8.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.8.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.8.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.8.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.8.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.8.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.8.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.layers.9.input_layernorm.weight": "model.safetensors",
|
||||
"model.layers.9.mlp.down_proj.biases": "model.safetensors",
|
||||
"model.layers.9.mlp.down_proj.scales": "model.safetensors",
|
||||
"model.layers.9.mlp.down_proj.weight": "model.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.biases": "model.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.scales": "model.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.weight": "model.safetensors",
|
||||
"model.layers.9.mlp.up_proj.biases": "model.safetensors",
|
||||
"model.layers.9.mlp.up_proj.scales": "model.safetensors",
|
||||
"model.layers.9.mlp.up_proj.weight": "model.safetensors",
|
||||
"model.layers.9.post_attention_layernorm.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_norm.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_norm.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.weight": "model.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.biases": "model.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.scales": "model.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.weight": "model.safetensors",
|
||||
"model.norm.weight": "model.safetensors"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"eos_token": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/tokenizer.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/tokenizer.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,240 @@
|
|||
{
|
||||
"add_bos_token": false,
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"151643": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151644": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151645": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151646": {
|
||||
"content": "<|object_ref_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151647": {
|
||||
"content": "<|object_ref_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151648": {
|
||||
"content": "<|box_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151649": {
|
||||
"content": "<|box_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151650": {
|
||||
"content": "<|quad_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151651": {
|
||||
"content": "<|quad_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151652": {
|
||||
"content": "<|vision_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151653": {
|
||||
"content": "<|vision_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151654": {
|
||||
"content": "<|vision_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151655": {
|
||||
"content": "<|image_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151656": {
|
||||
"content": "<|video_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151657": {
|
||||
"content": "<tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151658": {
|
||||
"content": "</tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151659": {
|
||||
"content": "<|fim_prefix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151660": {
|
||||
"content": "<|fim_middle|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151661": {
|
||||
"content": "<|fim_suffix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151662": {
|
||||
"content": "<|fim_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151663": {
|
||||
"content": "<|repo_name|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151664": {
|
||||
"content": "<|file_sep|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151665": {
|
||||
"content": "<tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151666": {
|
||||
"content": "</tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151667": {
|
||||
"content": "<think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151668": {
|
||||
"content": "</think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"bos_token": null,
|
||||
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in message.content %}\n {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|im_end|>",
|
||||
"errors": "replace",
|
||||
"extra_special_tokens": {},
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/vocab.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/text_encoder-mlx-4bit/vocab.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"</think>": 151668,
|
||||
"</tool_call>": 151658,
|
||||
"</tool_response>": 151666,
|
||||
"<think>": 151667,
|
||||
"<tool_call>": 151657,
|
||||
"<tool_response>": 151665,
|
||||
"<|box_end|>": 151649,
|
||||
"<|box_start|>": 151648,
|
||||
"<|endoftext|>": 151643,
|
||||
"<|file_sep|>": 151664,
|
||||
"<|fim_middle|>": 151660,
|
||||
"<|fim_pad|>": 151662,
|
||||
"<|fim_prefix|>": 151659,
|
||||
"<|fim_suffix|>": 151661,
|
||||
"<|im_end|>": 151645,
|
||||
"<|im_start|>": 151644,
|
||||
"<|image_pad|>": 151655,
|
||||
"<|object_ref_end|>": 151647,
|
||||
"<|object_ref_start|>": 151646,
|
||||
"<|quad_end|>": 151651,
|
||||
"<|quad_start|>": 151650,
|
||||
"<|repo_name|>": 151663,
|
||||
"<|video_pad|>": 151656,
|
||||
"<|vision_end|>": 151653,
|
||||
"<|vision_pad|>": 151654,
|
||||
"<|vision_start|>": 151652
|
||||
}
|
||||
|
|
@ -0,0 +1,89 @@
|
|||
{%- if tools %}
|
||||
{{- '<|im_start|>system\n' }}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{{- messages[0].content + '\n\n' }}
|
||||
{%- endif %}
|
||||
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
||||
{%- for tool in tools %}
|
||||
{{- "\n" }}
|
||||
{{- tool | tojson }}
|
||||
{%- endfor %}
|
||||
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
||||
{%- else %}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- 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" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
||||
{%- set ns.multi_step_tool = false %}
|
||||
{%- set ns.last_query_index = index %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- for message in messages %}
|
||||
{%- if message.content is string %}
|
||||
{%- set content = message.content %}
|
||||
{%- else %}
|
||||
{%- set content = '' %}
|
||||
{%- endif %}
|
||||
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
||||
{%- elif message.role == "assistant" %}
|
||||
{%- set reasoning_content = '' %}
|
||||
{%- if message.reasoning_content is string %}
|
||||
{%- set reasoning_content = message.reasoning_content %}
|
||||
{%- else %}
|
||||
{%- if '</think>' in content %}
|
||||
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
||||
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- if loop.index0 > ns.last_query_index %}
|
||||
{%- if loop.last or (not loop.last and reasoning_content) %}
|
||||
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
{%- if message.tool_calls %}
|
||||
{%- for tool_call in message.tool_calls %}
|
||||
{%- if (loop.first and content) or (not loop.first) %}
|
||||
{{- '\n' }}
|
||||
{%- endif %}
|
||||
{%- if tool_call.function %}
|
||||
{%- set tool_call = tool_call.function %}
|
||||
{%- endif %}
|
||||
{{- '<tool_call>\n{"name": "' }}
|
||||
{{- tool_call.name }}
|
||||
{{- '", "arguments": ' }}
|
||||
{%- if tool_call.arguments is string %}
|
||||
{{- tool_call.arguments }}
|
||||
{%- else %}
|
||||
{{- tool_call.arguments | tojson }}
|
||||
{%- endif %}
|
||||
{{- '}\n</tool_call>' }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- elif message.role == "tool" %}
|
||||
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
||||
{{- '<|im_start|>user' }}
|
||||
{%- endif %}
|
||||
{{- '\n<tool_response>\n' }}
|
||||
{{- content }}
|
||||
{{- '\n</tool_response>' }}
|
||||
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if add_generation_prompt %}
|
||||
{{- '<|im_start|>assistant\n' }}
|
||||
{%- if enable_thinking is defined and enable_thinking is false %}
|
||||
{{- '<think>\n\n</think>\n\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/tokenizer/merges.txt
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/tokenizer/merges.txt
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"eos_token": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/tokenizer/tokenizer.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/tokenizer/tokenizer.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,239 @@
|
|||
{
|
||||
"add_bos_token": false,
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"151643": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151644": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151645": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151646": {
|
||||
"content": "<|object_ref_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151647": {
|
||||
"content": "<|object_ref_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151648": {
|
||||
"content": "<|box_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151649": {
|
||||
"content": "<|box_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151650": {
|
||||
"content": "<|quad_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151651": {
|
||||
"content": "<|quad_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151652": {
|
||||
"content": "<|vision_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151653": {
|
||||
"content": "<|vision_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151654": {
|
||||
"content": "<|vision_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151655": {
|
||||
"content": "<|image_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151656": {
|
||||
"content": "<|video_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151657": {
|
||||
"content": "<tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151658": {
|
||||
"content": "</tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151659": {
|
||||
"content": "<|fim_prefix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151660": {
|
||||
"content": "<|fim_middle|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151661": {
|
||||
"content": "<|fim_suffix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151662": {
|
||||
"content": "<|fim_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151663": {
|
||||
"content": "<|repo_name|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151664": {
|
||||
"content": "<|file_sep|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151665": {
|
||||
"content": "<tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151666": {
|
||||
"content": "</tool_response>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151667": {
|
||||
"content": "<think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151668": {
|
||||
"content": "</think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"bos_token": null,
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|im_end|>",
|
||||
"errors": "replace",
|
||||
"extra_special_tokens": {},
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/tokenizer/vocab.json
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/tokenizer/vocab.json
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"_class_name": "Flux2Transformer2DModel",
|
||||
"_diffusers_version": "0.37.1",
|
||||
"_name_or_path": "black-forest-labs/FLUX.2-klein-4B",
|
||||
"attention_head_dim": 128,
|
||||
"axes_dims_rope": [
|
||||
32,
|
||||
32,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"enable_time_sign_embed": false,
|
||||
"eps": 1e-06,
|
||||
"guidance_embeds": false,
|
||||
"in_channels": 128,
|
||||
"joint_attention_dim": 7680,
|
||||
"mlp_ratio": 3.0,
|
||||
"musubi_block_swap_device": "cpu",
|
||||
"musubi_blocks_to_swap": 0,
|
||||
"num_attention_heads": 24,
|
||||
"num_layers": 5,
|
||||
"num_single_layers": 20,
|
||||
"out_channels": null,
|
||||
"patch_size": 1,
|
||||
"rope_theta": 2000,
|
||||
"timestep_guidance_channels": 256
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/transformer-packed-mflux/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/transformer-packed-mflux/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,120 @@
|
|||
{
|
||||
"format": "mlx-packed-affine",
|
||||
"solver": "ternary",
|
||||
"bits": 2,
|
||||
"group_size": 128,
|
||||
"scale_dtype": "bfloat16",
|
||||
"skip_patterns": [
|
||||
"proj_out",
|
||||
"x_embedder",
|
||||
"context_embedder",
|
||||
"time_text_embed",
|
||||
"time_guidance_embed",
|
||||
"norm_out",
|
||||
"double_stream_modulation_img",
|
||||
"double_stream_modulation_txt",
|
||||
"single_stream_modulation"
|
||||
],
|
||||
"quantized_modules": [
|
||||
"single_transformer_blocks.0.attn.to_out",
|
||||
"single_transformer_blocks.0.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.1.attn.to_out",
|
||||
"single_transformer_blocks.1.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.10.attn.to_out",
|
||||
"single_transformer_blocks.10.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.11.attn.to_out",
|
||||
"single_transformer_blocks.11.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.12.attn.to_out",
|
||||
"single_transformer_blocks.12.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.13.attn.to_out",
|
||||
"single_transformer_blocks.13.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.14.attn.to_out",
|
||||
"single_transformer_blocks.14.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.15.attn.to_out",
|
||||
"single_transformer_blocks.15.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.16.attn.to_out",
|
||||
"single_transformer_blocks.16.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.17.attn.to_out",
|
||||
"single_transformer_blocks.17.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.18.attn.to_out",
|
||||
"single_transformer_blocks.18.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.19.attn.to_out",
|
||||
"single_transformer_blocks.19.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.2.attn.to_out",
|
||||
"single_transformer_blocks.2.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.3.attn.to_out",
|
||||
"single_transformer_blocks.3.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.4.attn.to_out",
|
||||
"single_transformer_blocks.4.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.5.attn.to_out",
|
||||
"single_transformer_blocks.5.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.6.attn.to_out",
|
||||
"single_transformer_blocks.6.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.7.attn.to_out",
|
||||
"single_transformer_blocks.7.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.8.attn.to_out",
|
||||
"single_transformer_blocks.8.attn.to_qkv_mlp_proj",
|
||||
"single_transformer_blocks.9.attn.to_out",
|
||||
"single_transformer_blocks.9.attn.to_qkv_mlp_proj",
|
||||
"transformer_blocks.0.attn.add_k_proj",
|
||||
"transformer_blocks.0.attn.add_q_proj",
|
||||
"transformer_blocks.0.attn.add_v_proj",
|
||||
"transformer_blocks.0.attn.to_add_out",
|
||||
"transformer_blocks.0.attn.to_k",
|
||||
"transformer_blocks.0.attn.to_out.0",
|
||||
"transformer_blocks.0.attn.to_q",
|
||||
"transformer_blocks.0.attn.to_v",
|
||||
"transformer_blocks.0.ff.linear_in",
|
||||
"transformer_blocks.0.ff.linear_out",
|
||||
"transformer_blocks.0.ff_context.linear_in",
|
||||
"transformer_blocks.0.ff_context.linear_out",
|
||||
"transformer_blocks.1.attn.add_k_proj",
|
||||
"transformer_blocks.1.attn.add_q_proj",
|
||||
"transformer_blocks.1.attn.add_v_proj",
|
||||
"transformer_blocks.1.attn.to_add_out",
|
||||
"transformer_blocks.1.attn.to_k",
|
||||
"transformer_blocks.1.attn.to_out.0",
|
||||
"transformer_blocks.1.attn.to_q",
|
||||
"transformer_blocks.1.attn.to_v",
|
||||
"transformer_blocks.1.ff.linear_in",
|
||||
"transformer_blocks.1.ff.linear_out",
|
||||
"transformer_blocks.1.ff_context.linear_in",
|
||||
"transformer_blocks.1.ff_context.linear_out",
|
||||
"transformer_blocks.2.attn.add_k_proj",
|
||||
"transformer_blocks.2.attn.add_q_proj",
|
||||
"transformer_blocks.2.attn.add_v_proj",
|
||||
"transformer_blocks.2.attn.to_add_out",
|
||||
"transformer_blocks.2.attn.to_k",
|
||||
"transformer_blocks.2.attn.to_out.0",
|
||||
"transformer_blocks.2.attn.to_q",
|
||||
"transformer_blocks.2.attn.to_v",
|
||||
"transformer_blocks.2.ff.linear_in",
|
||||
"transformer_blocks.2.ff.linear_out",
|
||||
"transformer_blocks.2.ff_context.linear_in",
|
||||
"transformer_blocks.2.ff_context.linear_out",
|
||||
"transformer_blocks.3.attn.add_k_proj",
|
||||
"transformer_blocks.3.attn.add_q_proj",
|
||||
"transformer_blocks.3.attn.add_v_proj",
|
||||
"transformer_blocks.3.attn.to_add_out",
|
||||
"transformer_blocks.3.attn.to_k",
|
||||
"transformer_blocks.3.attn.to_out.0",
|
||||
"transformer_blocks.3.attn.to_q",
|
||||
"transformer_blocks.3.attn.to_v",
|
||||
"transformer_blocks.3.ff.linear_in",
|
||||
"transformer_blocks.3.ff.linear_out",
|
||||
"transformer_blocks.3.ff_context.linear_in",
|
||||
"transformer_blocks.3.ff_context.linear_out",
|
||||
"transformer_blocks.4.attn.add_k_proj",
|
||||
"transformer_blocks.4.attn.add_q_proj",
|
||||
"transformer_blocks.4.attn.add_v_proj",
|
||||
"transformer_blocks.4.attn.to_add_out",
|
||||
"transformer_blocks.4.attn.to_k",
|
||||
"transformer_blocks.4.attn.to_out.0",
|
||||
"transformer_blocks.4.attn.to_q",
|
||||
"transformer_blocks.4.attn.to_v",
|
||||
"transformer_blocks.4.ff.linear_in",
|
||||
"transformer_blocks.4.ff.linear_out",
|
||||
"transformer_blocks.4.ff_context.linear_in",
|
||||
"transformer_blocks.4.ff_context.linear_out"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"_class_name": "AutoencoderKLFlux2",
|
||||
"_diffusers_version": "0.37.0.dev0",
|
||||
"_name_or_path": "black-forest-labs/FLUX.2-dev",
|
||||
"act_fn": "silu",
|
||||
"batch_norm_eps": 0.0001,
|
||||
"batch_norm_momentum": 0.1,
|
||||
"block_out_channels": [
|
||||
128,
|
||||
256,
|
||||
512,
|
||||
512
|
||||
],
|
||||
"down_block_types": [
|
||||
"DownEncoderBlock2D",
|
||||
"DownEncoderBlock2D",
|
||||
"DownEncoderBlock2D",
|
||||
"DownEncoderBlock2D"
|
||||
],
|
||||
"force_upcast": true,
|
||||
"in_channels": 3,
|
||||
"latent_channels": 32,
|
||||
"layers_per_block": 2,
|
||||
"mid_block_add_attention": true,
|
||||
"norm_num_groups": 32,
|
||||
"out_channels": 3,
|
||||
"patch_size": [
|
||||
2,
|
||||
2
|
||||
],
|
||||
"sample_size": 1024,
|
||||
"up_block_types": [
|
||||
"UpDecoderBlock2D",
|
||||
"UpDecoderBlock2D",
|
||||
"UpDecoderBlock2D",
|
||||
"UpDecoderBlock2D"
|
||||
],
|
||||
"use_post_quant_conv": true,
|
||||
"use_quant_conv": true
|
||||
}
|
||||
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/vae/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
BIN
image/mlx/prism-ml/bonsai-image-ternary-4B-mlx-2bit/vae/diffusion_pytorch_model.safetensors
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue