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: - OpenUncensored/Qwen4-35B-A3B-Uncensored
pipeline_tag: image-text-to-text
日本語の説明は readme-ja.md をご覧ください。
soyaakinohara/Qwen4-35B-A3B-Uncensored-ja-fixed
A Japanese-output and tool-calling fine-tune of OpenUncensored/Qwen4-35B-A3B-Uncensored[1], itself based on Qwen/Qwen4-35B-A3B[2]. This folder contains the merged Hugging Face Transformers-format BF16 checkpoint.
Files
- 33 sharded BF16
model-xxxxx-of-00033.safetensorsfiles model.safetensors.index.json- Qwen4 tokenizer, processor, image/video preprocessing, and tokenizer compatibility files
LICENSE— licensing and commercial-use noticeLICENSE-APACHE-2.0-BASE— original upstream base-model Apache-2.0 license text
Model and training
Qwen4-35B-A3B is a multimodal MoE model with 35B total parameters and about 3B active parameters per token. The upstream model card describes 40 layers, vision input, a large n-gram embedding table, and an MTP head[2]. The SFT lineage is:
OpenUncensored/Qwen4-35B-A3B-Uncensored[1]- Initial Japanese SFT checkpoint
SFT-600 - Tool-use checkpoint
SFT-200 - Final corrective
SFT-FIXmerge in this folder
SFT-600 and SFT-200 refer to optimizer-step checkpoints, not dataset row counts. The final corrective pass used 900 rows: 450 no-tool examples sampled from LLM-jp Magpie, 250 tool-call examples sampled from a mixed Tonari/synthetic tool pool, and 200 Japanese chat replays from the earlier SFT corpus[3][8]. Tool-row source labels were not retained in the final training export, so the exact Tonari-versus-synthetic count in those 250 rows is unknown.
The earlier Japanese SFT corpus used filtered subsets of llm-jp/magpie-sft-v1.0[3], llm-jp/oasst2-33k-ja[4], and llm-jp/oasst1-21k-ja[5]. It also used llm-jp/databricks-dolly-15k-ja[6] and the composite llm-jp/llm-jp-4.1-thinking-sft-data[7]. The tool-use stage also used Tonari-no-usagi/Japanese_Function_Calling_Dataset[8] plus locally generated synthetic function-call examples. These were subsets, not full-dataset training runs.
Final corrective SFT: one epoch, 112 optimizer updates, learning rate 2e-5, LoRA rank 16 / alpha 32. The adapter was merged into BF16 weights; 313 target weight tensors were patched in the final merge.
The SFT did not modify the MTP head; its original weights remain in this checkpoint. A matching MTP sidecar from the same upstream checkpoint can be reused as-is.
Japanese / Chinese-character audit
The same 20-prompt probe suite was used. The detector treats CJK Han characters that cannot be encoded in Shift-JIS as a simplified-Chinese-glyph proxy; it is not a general language classifier and can miss characters shared between Japanese and Chinese.
| Checkpoint and settings | Flagged characters / counted chars | Per 1,000 chars | Responses with a flagged character | No-kana sentence flags |
|---|---|---|---|---|
| Pre-SFT B baseline, reasoning low | 52 / 15,962 | 3.26 | 11/20 | 14 |
| SFT-FIX MXFP4, Japanese system prompt, reasoning off | 0 / 10,764 | 0.00 observed; one-sided 95% upper limit ≈0.28 | 0/20 | 2* |
No flagged character was observed in the final answer-only audit. The 0.28 upper limit is a simple per-character binomial calculation treating counted characters as independent; it is a rough reference, not a prompt-level confidence bound. Relative to the baseline point estimate of 3.26 per 1,000, the upper-limit value is about 91.5% lower. Because the test conditions differed, this is only an arithmetic comparison—not a controlled reduction estimate or a guarantee for arbitrary prompts. The two final no-kana flags were numbered headings, not Chinese sentences, on manual review.
The final answer-only audit had 20/20 nonempty responses; 6/20 contained long English runs, mostly technical vocabulary. A separate reasoning-on / unparsed-format audit was stopped after 4/20 prompts: all four answers were nonempty and had zero flagged characters, but the raw <think> marker appeared. The full Chinese-character result above is for reasoning-off and should not be generalized to every reasoning/parser setting.
The strict local tool-call test passed 6/6 with the tested reasoning-on --reasoning-format none server configuration. This is a small format/argument test, not a general tool-use benchmark.
Loading
Use a Transformers build with Qwen4 support (the source config records Transformers 5.26.0.dev0). For multimodal loading, the upstream integration advertises AutoModelForMultimodalLM and AutoProcessor[2]:
import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor
repo = "soyaakinohara/Qwen4-35B-A3B-Uncensored-ja-fixed"
processor = AutoProcessor.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForMultimodalLM.from_pretrained(
repo, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True
)
Dataset rights and release status
The training data includes LLM-jp Dolly JA marked CC-BY-SA-3.0[6], Tonari Japanese Function Calling data marked CC-BY-NC-4.0[8], and LLM-jp thinking data whose components have varying license and redistribution terms[7].
The model is made available for non-commercial use only: non-commercial use is permitted, and commercial use is prohibited. The model-card metadata sets license: other and links to this notice through license_link: LICENSE[9][10].
This permission remains subject to applicable rights and license terms for the upstream base model, training data, and other third-party materials. It does not grant rights to the underlying data or override more restrictive third-party terms. The upstream Apache-2.0 text is preserved separately in LICENSE-APACHE-2.0-BASE[1]. This does not establish that all rights required for redistribution have been cleared.
AI assistance
AI assistance was used for data-builder and training-script work, evaluation harnesses, conversion, packaging, and documentation. The model weights were produced by the recorded SFT and merge/conversion runs; the 20-prompt audit is a small internal probe, not a broad benchmark.
Sources
[1] https://huggingface.co/OpenUncensored/Qwen4-35B-A3B-Uncensored — OpenUncensored Qwen4 base model
[2] https://huggingface.co/Qwen/Qwen4-35B-A3B — Qwen4 base model
[3] https://huggingface.co/datasets/llm-jp/magpie-sft-v1.0 — LLM-jp Magpie SFT v1.0
[4] https://huggingface.co/datasets/llm-jp/oasst2-33k-ja — LLM-jp OASST2 JA
[5] https://huggingface.co/datasets/llm-jp/oasst1-21k-ja — LLM-jp OASST1 JA
[6] https://huggingface.co/datasets/llm-jp/databricks-dolly-15k-ja — LLM-jp Dolly JA
[7] https://huggingface.co/datasets/llm-jp/llm-jp-4.1-thinking-sft-data — LLM-jp 4.1 thinking SFT data
[8] https://huggingface.co/datasets/Tonari-no-usagi/Japanese_Function_Calling_Dataset — Tonari Japanese Function Calling Dataset
[9] https://huggingface.co/docs/hub/en/model-cards — Hugging Face model card metadata
[10] https://huggingface.co/docs/hub/en/repositories-licenses — Hugging Face repository licenses