license: other
license_link: LICENSE
datasets:
- llm-jp/magpie-sft-v1.0
- llm-jp/oasst2-33k-ja
- llm-jp/oasst1-21k-ja
- llm-jp/databricks-dolly-15k-ja
- llm-jp/llm-jp-4.1-thinking-sft-data
- Tonari-no-usagi/Japanese_Function_Calling_Dataset
language: - ja
base_model: - soyaakinohara/Qwen4-35B-A3B-Uncensored-ja-fixed
pipeline_tag: image-text-to-text
tags: - mlx
- omlx
- oq2.5e
- qwen4
- moe
- japanese
- uncensored
- mtp
日本語の説明は readme-ja.md をご覧ください。
studio-rizi/Qwen4-35B-A3B-Uncensored-ja-fixed-oQ2.5e-mtp
oMLX v0.8.5 oQ2.5e quantization of soyaakinohara/Qwen4-35B-A3B-Uncensored-ja-fixed with MTP weights preserved.
This is a non-commercial use only model derived from the Japanese SFT of Qwen4-35B-A3B-Uncensored.
Quantization Details
- Method: oMLX oQ2.5e (enhanced oQ with imatrix-weighted quantization)
- Source:
soyaakinohara/Qwen4-35B-A3B-Uncensored-ja-fixed(BF16, revisionf481f77dbe2fd27859d18ef8086b2af95aa8dc21) - Quantization level: oQ2.5e (2.5-bit enhanced)
- Preserved components: MTP heads, N-gram embedding tables, Vision encoder, Tokenizer, Chat template
- Non-quantized dtype: bfloat16
- Calibration: 1024 samples × 512 tokens (oqe_code_multilingual dataset)
- imatrix reuse: Yes (cached from oQ4e run)
- oMLX version: v0.8.5
Model Architecture
- Base: Qwen4-35B-A3B (35B total params, ~3B active per token)
- Type: Multimodal MoE with vision encoder
- Layers: 40 (mixed linear/full attention)
- Experts: 256 (8 active per token)
- MTP: 1-layer hybrid Lightning MTP head preserved
- N-gram: 3-gram with PLE embedding table
Files
- 6 sharded quantized
model-xxxxx-of-00006.safetensorsfiles (~28 GB total) model.safetensors.index.jsonconfig.json(with quantization config)oq_imatrix_report.json(imatrix collection report)- Qwen4 tokenizer, processor, image/video preprocessing files
LICENSE— non-commercial use license (inherited from source)LICENSE-APACHE-2.0-BASE— upstream Apache-2.0 license text
Loading with oMLX
# Place model folder in oMLX model directory (~/.omlx/models/ by default)
# Model will be auto-discovered as "Qwen4-35B-A3B-Uncensored-ja-fixed-oQ2.5e-mtp"
With mlx-lm (requires Qwen4 support):
from mlx_lm import load, generate
model, tokenizer = load("Qwen4-35B-A3B-Uncensored-ja-fixed-oQ2.5e-mtp", trust_remote_code=True)
# Enable MTP in oMLX settings or via generation config
Loading with mlx-vlm
from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
model, processor = load("Qwen4-35B-A3B-Uncensored-ja-fixed-oQ2.5e-mtp", trust_remote_code=True)
messages = [{"role": "user", "content": "こんにちは"}]
prompt = apply_chat_template(processor, messages)
generate(model, processor, prompt, max_tokens=256)
License & Usage Restrictions
Non-commercial use only. This model inherits the license terms from its source soyaakinohara/Qwen4-35B-A3B-Uncensored-ja-fixed:
- Non-commercial use is permitted
- Commercial use is prohibited
- Training data includes CC-BY-SA-3.0 (Dolly JA), CC-BY-NC-4.0 (Tonari), and other datasets with varying terms
- Upstream Apache-2.0 base model license preserved in
LICENSE-APACHE-2.0-BASE - This does not grant rights to underlying data or override more restrictive third-party terms
Source & Credits
- Source model: soyaakinohara/Qwen4-35B-A3B-Uncensored-ja-fixed
- Base model: Qwen/Qwen4-35B-A3B
- Quantization: oMLX v0.8.5 oQ2.5e
- Brand: studio-rizi
AI Assistance
AI assistance was used for quantization workflow, documentation, and packaging. The model weights were produced by oMLX's standard oQ2.5e quantization pipeline with imatrix-weighted calibration.