You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

DSLM-LST-35B-A3B-GPTQ-Int4

DSLM-LST-35B-A3B-GPTQ-Int4 is a GPTQ INT4 quantization of a Qwen/Qwen3.5-35B-A3B model refined with our in-house Language Selection Tuning (LST) technique.

The pipeline is: Qwen/Qwen3.5-35B-A3B โ†’ LST tuning (output-head centric) โ†’ GPTQ INT4 quantization (gptqmodel). The LST adjustment is intentionally minimal in scope โ€” most of the network, including the entire vision tower and all expert weights, is preserved โ€” and the resulting model is then post-training quantized to 4-bit for memory- and throughput-efficient serving.

The architecture is Qwen3_5MoeForConditionalGeneration: a composite multimodal vision-language model with a MoE text backbone (256 experts, top-8 routing), a linear-attention + full-attention 4:1 hybrid layout, and a 27-block vision tower.

Why LST?

Multilingual LLMs trained on heavily skewed corpora (e.g., Qwen on Chinese-rich data) tend to leak the dominant training language regardless of prompt language โ€” a phenomenon known as language confusion. For Korean users, Chinese characters sometimes appear in the middle of an otherwise-Korean answer, hurting readability and trust.

Language Selection Tuning (LST) addresses this in a learning-based manner. Unlike post-hoc decoding tricks (vocabulary masking, banned-token lists), LST adjusts the model's internal language-selection behavior. (The exact algorithm and training configuration are proprietary and not disclosed in this release.)

Key Properties

  • Minimal footprint. LST tuning modifies essentially only the output head; the tokenizer, chat template, vision tower, MoE experts, and attention weights are preserved from the base model.
  • Selectivity preserved. When the user explicitly asks for Chinese, the model still produces fluent Chinese โ€” this is not blanket suppression.
  • 4-bit efficient. GPTQ INT4 shrinks the ~70 GB bf16 model to ~22 GB while keeping reasoning performance close to DSLM-LST-35B-A3B (see Benchmarks).

Quantization

  • Quantizer: gptqmodel 7.0.0
  • Method: GPTQ, bits=4, group_size=32, sym=True, desc_act=False, pack=int32
  • Quantized (30,970 linear layers): MoE experts (gate/up/down) and attention / linear-attention projections
  • Kept in bf16 (not quantized): lm_head, embed_tokens, the entire vision tower, all norms, router gate (mlp.gate), shared_expert_gate, and the SSM parameters (A_log / dt_bias / conv1d)
  • Per-module GPTQ reconstruction error is small (median โ‰ˆ 2.5e-6, max โ‰ˆ 1.1e-3; 1.03 % of modules fell back to RTN per the configured outlier threshold).

Requirements

  • transformers >= 5.9 โ€” required for the qwen3_5_moe architecture, the modern tokenizer backend, the consolidated processor format, and GPTQ loading.
  • vLLM serving: the quantization is auto-detected and served via gptq_marlin. Do not pass --quantization moe_wna16 โ€” with group_size=32 it conflicts with the vLLM moe_wna16 kernel's BLOCK_SIZE_K constraint and fails at startup. (Re-quantizing at group_size=128 would enable moe_wna16.)

Quickstart (vLLM, recommended)

vllm serve dataslab/DSLM-LST-35B-A3B-GPTQ-Int4 \
    --tensor-parallel-size 2 \
    --port 8000 \
    --gpu-memory-utilization 0.90 \
    --reasoning-parser qwen3        # exposes <think> trace via OpenAI API
    # --quantization is auto-detected (gptq_marlin); do NOT set moe_wna16
    # --max-model-len 16384         # cap context to shrink KV cache (default: 262,144)

Use with transformers

Non-Thinking mode (recommended for fast chat)

import torch
from transformers import AutoTokenizer, AutoModelForImageTextToText

REPO = "dataslab/DSLM-LST-35B-A3B-GPTQ-Int4"

tokenizer = AutoTokenizer.from_pretrained(REPO)
model = AutoModelForImageTextToText.from_pretrained(
    REPO,
    dtype=torch.bfloat16,   # non-quantized layers stay bf16; INT4 weights are dequantized on the fly
    device_map="auto",
)

messages = [
    {"role": "user", "content": "ํ•œ๋ฐ˜๋„ ์ฃผ๋ณ€์— ๊ฐ€์žฅ ํ”ํ•œ ์ ํ† ๊ด‘๋ฌผ์€?"},
]

prompt = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=False,
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

out = model.generate(**inputs, max_new_tokens=256)
text = tokenizer.decode(out[0][inputs.input_ids.shape[-1]:],
                       skip_special_tokens=True)
print(text)

Thinking mode (recommended for complex reasoning)

Either use thinking_budget (e.g., vLLM's --reasoning-parser qwen3) or give max_new_tokens enough headroom (e.g., 8,192 + 256 = 8,448). Caveat: without a thinking_budget cap, a too-small max_new_tokens can be fully consumed inside <think> and the answer never gets emitted.

# ... tokenizer / model loaded as above ...

THINKING_BUDGET = 8192   # max tokens inside <think>
ANSWER_TOKENS   = 256    # tokens after </think>

prompt = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True,
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

out = model.generate(**inputs, max_new_tokens=THINKING_BUDGET + ANSWER_TOKENS)
text = tokenizer.decode(out[0][inputs.input_ids.shape[-1]:],
                       skip_special_tokens=True)
print(text)

Why AutoModelForImageTextToText? The declared architecture Qwen3_5MoeForConditionalGeneration is a composite class wrapping both the text decoder and the vision tower. Loading via AutoModelForCausalLM works for text-only inference but strips the vision submodule and may produce a config that downstream tools (e.g., vLLM) reject. For a pure text causal-LM handle, use model.language_model after loading.

Benchmark Results

The DSLM-LST-35B-A3B-GPTQ-Int4 column refers to this model, while DSLM-LST-35B-A3B is the original LST model from which it was quantized.

Evaluation Metrics

(1) Selectivity

Refusal rate on explicit Chinese requests โ€” the fraction of cases where the model fails to produce Chinese even though the user explicitly asked for it. Lower is better (respects user intent).

  • Lower better (~0): produces Chinese when asked (respects user intent).
  • Higher worse (~1): refuses Chinese even when asked (blanket suppression).
Metric Benchmark Dataset
chin_refusal โ†“ In-house 1,000-prompt Chinese elicitation set (e.g., How do you say '์‚ฌ๋ž‘' in Chinese? or the Python + Chinese-comment prompt)

(2) Chinese-leak suppression

Korean prompts โ†’ Korean answers expected; any Chinese token leaked into the answer is a failure. Metric is the clean-Korean response ratio.

  • Higher better (~1): Korean answers stay fully Korean (no Chinese tokens leaked).
  • Lower worse (~0): Chinese tokens leak into otherwise-Korean answers.
Metric Benchmark Dataset
chin_cs โ†‘ KMMLU Computer Science subjects (free-form Korean generation)
chin_ie โ†‘ KMMLU Industrial Engineering subjects (free-form Korean generation)
chin_total โ†‘ KMMLU (free-form Korean generation)

(3) Reasoning / task performance

Metric Benchmark Dataset
acc_cs โ†‘ KMMLU Computer Science subjects (multiple-choice log-likelihood comparison)
acc_ie โ†‘ KMMLU Industrial Engineering subjects (multiple-choice log-likelihood comparison)
acc_total โ†‘ KMMLU (multiple-choice log-likelihood comparison)
HumanEval โ†‘ HumanEval (pass@1)
GSM8K โ†‘ GSM8K (exact-match accuracy)

Chinese Suppression (Thinking mode)

Evaluated with enable_thinking=True. The DSLM-LST-35B-A3B-GPTQ-Int4 column is calibrated with thinking enabled.

Metric Qwen3.5-35B-A3B (base) DSLM-LST-35B-A3B DSLM-LST-35B-A3B-GPTQ-Int4
(1) Selectivity
chin_refusal โ†“0.0050.0300.039
(2) Chinese-leak suppression
chin_cs โ†‘0.9890.9980.999
chin_ie โ†‘0.9830.9940.993
chin_total โ†‘0.97540.99010.9895
(3) Reasoning / Task performance
acc_cs โ†‘0.8690.8690.865
acc_ie โ†‘0.6220.6220.602
acc_total โ†‘0.64110.64110.6340
HumanEval โ†‘0.76830.73780.7561
GSM8K โ†‘0.83470.83470.8810 ๐ŸŒŸ

INT4 quantization keeps Chinese-leak suppression (chin_total 0.9895, vs DSLM-LST-35B-A3B's 0.9901) and selectivity (chin_refusal 0.039) on par with DSLM-LST-35B-A3B, with KMMLU accuracy within ~0.7 pt and HumanEval/GSM8K comparable to โ€” or above โ€” DSLM-LST-35B-A3B. (KMMLU acc_* for the INT4 model were measured via the vLLM backend; on identical weights the HFโ†”vLLM backend difference is โ‰ค0.05 pt, so the ~0.7 pt acc gap is essentially the quantization effect.)

Example Outputs

Example output: Qwen3.5-35B-A3B leaks 24 Chinese tokens while DSLM-LST-35B-A3B-GPTQ-Int4 stays clean Korean (0 tokens)

Asked in Korean which method counts living microorganisms, Qwen3.5-35B-A3B leaks 24 Chinese tokens (ๅนณๆฟ่จˆๆ•ธๆณ•, ้›†่ฝๅฝขๆˆ) across its chain-of-thought and answer. DSLM-LST-35B-A3B-GPTQ-Int4 answers the same prompt entirely in Korean (0 Chinese tokens) โ€” the leak suppression survives INT4 quantization.

Domain-wise Leakage Comparisons

Computer Science

Prompt: BIOS Setup์˜ ๊ธฐ๋ณธ๊ธฐ๋Šฅ์œผ๋กœ ์ž˜๋ชป๋œ ๊ฒƒ์€?
Qwen3.5-35B-A3B (leaks ๅ‡บ่ท) DSLM-LST-35B-A3B-GPTQ-Int4 (clean Korean)
๋ณดํ†ต ์ปดํ“จํ„ฐ ์ž๊ฒฉ์ฆ ์‹œํ—˜ (์ •๋ณด์ฒ˜๋ฆฌ๊ธฐ์‚ฌ, ์ปดํ“จํ„ฐํ™œ์šฉ๋Šฅ๋ ฅ ๋“ฑ) ์—์„œ ์ถœ์ œ๋˜๋Š” BIOS Setup ์˜ ๊ธฐ๋ณธ๊ธฐ๋Šฅ์œผ๋กœ ์ž˜๋ชป๋œ ๊ฒƒ์— ๋Œ€ํ•œ ์ •๋‹ต์€ ์ผ๋ฐ˜์ ์œผ๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

์ •๋‹ต: ์šด์˜์ฒด์ œ ์„ค์น˜ (OS Installation)

BIOS Setup ์˜ ์˜ฌ๋ฐ”๋ฅธ ๊ธฐ๋Šฅ:
โ€ข ์‹œ์Šคํ…œ ์‹œ๊ฐ„ ๋ฐ ๋‚ ์งœ ์„ค์ •
โ€ข ๋ถ€ํŒ… ์žฅ์น˜ ์ˆœ์„œ ์„ค์ • (Boot Order)
โ€ข ๋ณด์•ˆ ์„ค์ • / ์ „์› ๊ด€๋ฆฌ ์„ค์ •
โ€ข CMOS ์ดˆ๊ธฐํ™”: ์„ค์ •์„ ๊ณต์žฅๅ‡บ่ท ์ƒํƒœ๋กœ ๋˜๋Œ๋ฆฝ๋‹ˆ๋‹ค.
์ผ๋ฐ˜์ ์ธ ์ปดํ“จํ„ฐ ์ž๊ฒฉ์ฆ ์‹œํ—˜ (์ปดํ“จํ„ฐํ™œ์šฉ๋Šฅ๋ ฅ, ์ •๋ณด์ฒ˜๋ฆฌ๊ธฐ์‚ฌ ๋“ฑ) ์—์„œ ์ž์ฃผ ์ถœ์ œ๋˜๋Š” BIOS Setup ์˜ ๊ธฐ๋ณธ ๊ธฐ๋Šฅ๊ณผ ์˜ค๋‹ต์„ ์ •๋ฆฌํ•ด ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

BIOS Setup ์˜ ์‹ค์ œ ๊ธฐ๋ณธ ๊ธฐ๋Šฅ (์˜ฌ๋ฐ”๋ฅธ ๊ฒƒ)
1. ์‹œ์Šคํ…œ ์‹œ๊ฐ„ ๋ฐ ๋‚ ์งœ ์„ค์ •
2. ๋ถ€ํŒ… ์žฅ์น˜ ์ˆœ์„œ ๋ณ€๊ฒฝ (Boot Order)
3. ํ•˜๋“œ์›จ์–ด ์ •๋ณด ํ™•์ธ
5. ์‹œ์Šคํ…œ ๋ณด์•ˆ ์„ค์ •: BIOS ๋น„๋ฐ€๋ฒˆํ˜ธ, ๋ถ€ํŒ… ๋น„๋ฐ€๋ฒˆํ˜ธ ์„ค์ •. โ€ฆ

Industrial Engineering

Prompt: ๋จธ์‹œ๋‹์„ผํ„ฐ์—์„œ ๊ณต์ž‘๋ฌผ ๊ฐ€๊ณต์‹œ ์ฃผ์˜ํ•ด์•ผ ํ•  ์‚ฌํ•ญ์œผ๋กœ ์˜ฌ๋ฐ”๋ฅธ ๊ฒƒ์€?
Qwen3.5-35B-A3B (leaks ๅทๅ…ฅ) DSLM-LST-35B-A3B-GPTQ-Int4 (clean Korean)
โ€ฆ ๋จธ์‹œ๋‹์„ผํ„ฐ (CNC) ๊ฐ€๊ณต ์‹œ ๊ฐ€์žฅ ์ค‘์š”ํ•˜๊ฒŒ ๊ณ ๋ คํ•ด์•ผ ํ•  ์˜ฌ๋ฐ”๋ฅธ ์ฃผ์˜์‚ฌํ•ญ๋“ค์„ ์ •๋ฆฌํ•ด ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

2. ์•ˆ์ „ ์ˆ˜์น™ (๋ณดํ˜ธ๊ตฌ)
โ€ข ์˜ฌ๋ฐ”๋ฅธ ์‚ฌํ•ญ: ์•ˆ์ „ ๊ณ ๊ธ€์„ ์ฐฉ์šฉํ•˜๊ณ , ํšŒ์ „ํ•˜๋Š” ์Šคํ”Œ๋ผ์ธ (์Šคํ•€๋“ค) ๊ทผ์ฒ˜์—์„œ๋Š” ์žฅ๊ฐ‘์„ ์ฐฉ์šฉํ•˜์ง€ ์•Š์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.
โ€ข ์ด์œ : ์žฅ๊ฐ‘์„ ๋ผ๊ณ  ํšŒ์ „์ฒด ๊ทผ์ฒ˜์—์„œ ์ž‘์—…ํ•  ๊ฒฝ์šฐ ์žฅ๊ฐ‘์ด ๊ฑธ๋ ค ์†์ดๅทๅ…ฅ (๊ฐ๊น€) ๋  ์œ„ํ—˜์ด ๋งค์šฐ ํฝ๋‹ˆ๋‹ค.
โ€ฆ ๋จธ์‹œ๋‹์„ผํ„ฐ (CNC) ์—์„œ ๊ณต์ž‘๋ฌผ ๊ฐ€๊ณต ์‹œ ๊ฐ€์žฅ ์ค‘์š”ํ•˜๊ฒŒ ์ง€์ผœ์•ผ ํ•  ์˜ฌ๋ฐ”๋ฅธ ์ฃผ์˜์‚ฌํ•ญ๋“ค์„ ์ •๋ฆฌํ•ด ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

1. ์•ˆ์ „ ์ˆ˜์น™ (๊ฐ€์žฅ ์ค‘์š”)
โ€ข ์žฅ๊ฐ‘ ์ฐฉ์šฉ ๊ธˆ์ง€: ํšŒ์ „ํ•˜๋Š” ์ฒ™ (Chucks) ์ด๋‚˜ ๊ณต๊ตฌ (Tool) ์— ์ ‘๊ทผํ•  ๋•Œ๋Š” ์ ˆ๋Œ€ ์žฅ๊ฐ‘์„ ์ฐฉ์šฉํ•˜์ง€ ์•Š์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค. (์žฅ๊ฐ‘์ด ๊ฑธ๋ ค์„œ ์†์ด ๋ผ์ผ ์ˆ˜ ์žˆ์Œ)
โ€ข ์•ˆ์ „์žฅ๊ตฌ ์ฐฉ์šฉ: ์•ˆ์ „๊ณ ๊ธ€, ์•ˆ์ „ํ™”, ๊ท€๋งˆ๊ฐœ ๋“ฑ์„ ๋ฐ˜๋“œ์‹œ ์ฐฉ์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. โ€ฆ

Law

Prompt: ๊ฒฝ๋น„์กฐ์‚ฌ์—…๋ฌด์˜ ๊ณผ์ •์œผ๋กœ ์˜ณ์ง€ ์•Š์€ ๊ฒƒ์€?
Qwen3.5-35B-A3B (leaks ๅฎƒไปฌๆ˜ฏ) DSLM-LST-35B-A3B-GPTQ-Int4 (clean Korean)
โ€ฆ ์ผ๋ฐ˜์ ์œผ๋กœ '๊ฒฝ๋น„์กฐ์‚ฌ์—…๋ฌด์˜ ๊ณผ์ •'๊ณผ ๊ด€๋ จํ•˜์—ฌ ์˜ณ์ง€ ์•Š์€ ๊ฒƒ (์˜ค๋‹ต)์œผ๋กœ ๊ฐ€์žฅ ๋งŽ์ด ๋‚˜์˜ค๋Š” ๋‚ด์šฉ์€ ๊ฒฝ๋น„์›์˜ ๋ฒ•์  ๊ถŒํ•œ (์ฒดํฌ๊ถŒ, ์ˆ˜์‚ฌ๊ถŒ, ์ œ์žฌ๊ถŒ ๋“ฑ)๊ณผ ๊ด€๋ จ๋œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.

๊ฒฝ๋น„์กฐ์‚ฌ์—…๋ฌด์˜ ์˜ฌ๋ฐ”๋ฅธ ๊ณผ์ • (์ •๋‹ต์— ํ•ด๋‹นํ•˜๋Š” ๋‚ด์šฉ)
โ€ฆ ๋งŒ์•ฝ ์„ ํƒ์ง€์— ์ด ๋‚ด์šฉ๋“ค์ด ์žˆ๋‹ค๋ฉดๅฎƒไปฌๆ˜ฏ ์˜ณ์€ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
1. ์‚ฌ์ „ ์ค€๋น„ (๊ณ„์•ฝ ๋ฐ ํ˜„์žฅ ์กฐ์‚ฌ)
2. ์ธ๋ ฅ ๋ฐฐ์น˜ ๋ฐ ๊ต์œก
3. ๊ฒฝ๋น„ ์ˆ˜ํ–‰ (์ˆœ์ฐฐ ๋ฐ ์ถœ์ž… ํ†ต์ œ) โ€ฆ
โ€ฆ ๊ฒฝ๋น„์—…๋ฒ• ๋ฐ ๊ฒฝ๋น„์กฐ์‚ฌ์—…๋ฌด์˜ ํ‘œ์ค€ ํ”„๋กœ์„ธ์Šค์— ๊ธฐ๋ฐ˜ํ•˜์—ฌ, ์‹œํ—˜ ๋ฌธ์ œ์—์„œ ์ž์ฃผ ์ถœ์ œ๋˜๋Š” '์˜ณ์ง€ ์•Š์€ ๊ฒƒ'์˜ ์œ ํ˜•์„ ์ •๋ฆฌํ•ด ๋“œ๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ฒฝ๋น„์กฐ์‚ฌ์—…๋ฌด์˜ ์˜ฌ๋ฐ”๋ฅธ ๊ณผ์ • (ํ‘œ์ค€)
1. ๊ณ„์•ฝ ์ฒด๊ฒฐ: ์˜๋ขฐ์ธ (๊ณ ๊ฐ) ๊ณผ ๊ฒฝ๋น„์—…์ฒด ๊ฐ„ ๊ณ„์•ฝ
2. ์ธ์› ์„ ์ • ๋ฐ ๊ต์œก: ๊ฒฝ๋น„์› ์„ ๋ฐœ ๋ฐ ์ง๋ฌด/๋ฒ•๋ฅ  ๊ต์œก (ํ•„์ˆ˜)
3. ๋ฐฐ์น˜ (๋ฐฐ์ •): ํ˜„์žฅ์— ๊ฒฝ๋น„์› ๋ฐฐ์น˜ โ€ฆ

Cross-lingual Selectivity

When the user explicitly asks for Chinese, DSLM-LST-35B-A3B-GPTQ-Int4 readily produces it. The previous examples showed the model avoiding unwanted Chinese inside an otherwise-Korean answer; the example below shows it emitting Chinese fluently โ€” in both code comments and prose โ€” when the user's instruction calls for it. Selectivity survives INT4 quantization.

Prompt: ์ด์ง„ ํŠธ๋ฆฌ๋ฅผ ์ค‘์œ„ ์ˆœํšŒํ•˜๋Š” ํŒŒ์ด์ฌ ํ•จ์ˆ˜๋ฅผ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”. ์„ค๋ช…์€ ์ค‘๊ตญ์–ด๋กœ ํ•ด์ฃผ์„ธ์š”.

DSLM-LST-35B-A3B-GPTQ-Int4 (code with Chinese comments + Chinese explanation):

from typing import List, Optional

# ไบŒๅ‰ๆ ‘่Š‚็‚นๅฎšไน‰
class TreeNode:
    def __init__(self, val=0, left=None, right=None):
        self.val = val
        self.left = left
        self.right = right

def inorder_traversal(root: Optional[TreeNode]) -> List[int]:
    """
    ไบŒๅ‰ๆ ‘็š„ไธญๅบ้ๅކ (Inorder Traversal)
    ้ๅކ้กบๅบ๏ผšๅทฆๅญๆ ‘ -> ๆ น่Š‚็‚น -> ๅณๅญๆ ‘
    """
    result = []

    def traverse(node: Optional[TreeNode]):
        if node is None:
            return
        traverse(node.left)     # 1. ้€’ๅฝ’้ๅކๅทฆๅญๆ ‘
        result.append(node.val) # 2. ่ฎฟ้—ฎๆ น่Š‚็‚น
        traverse(node.right)    # 3. ้€’ๅฝ’้ๅކๅณๅญๆ ‘

    traverse(root)
    return result

**ไปฃ็ ่ฏดๆ˜Ž (Chinese explanation):**
1. ็ฎ—ๆณ•ๅŽŸ็†๏ผšไธญๅบ้ๅކ๏ผˆInorder Traversal๏ผ‰้ตๅพชใ€Œๅทฆ (Left) -> ๆ น (Root) -> ๅณ (Right)ใ€็š„่ฎฟ้—ฎ้กบๅบใ€‚
2. ๅคๆ‚ๅบฆๅˆ†ๆž๏ผšๆ—ถ้—ดๅคๆ‚ๅบฆ O(n)๏ผŒ็ฉบ้—ดๅคๆ‚ๅบฆ O(h)๏ผˆh ไธบๆ ‘้ซ˜๏ผŒ็”ฑ้€’ๅฝ’่ฐƒ็”จๆ ˆๆทฑๅบฆๅ†ณๅฎš๏ผ‰ใ€‚
3. ้€‚็”จๅœบๆ™ฏ๏ผšๅฏนไบŒๅ‰ๆœ็ดขๆ ‘ (BST) ่ฟ›่กŒไธญๅบ้ๅކ๏ผŒๅพ—ๅˆฐ็š„็ป“ๆžœๆ˜ฏๆœ‰ๅบ็š„๏ผˆไปŽๅฐๅˆฐๅคง๏ผ‰ใ€‚

Thinking-trace Suppression

The base model's <think> block leaks Chinese even more severely than its final answer: once the reasoning gets stuck, it slips into Chinese and loops on its own hypotheses. DSLM-LST-35B-A3B-GPTQ-Int4 suppresses that leakage inside the thinking block too โ€” and here it also stays on topic where the base model drifts off it.

The prompt below is a fire-safety / chemistry question comparing white phosphorus (ํ™ฉ๋ฆฐ) and red phosphorus (์ ๋ฆฐ). The base model fails to recognize the topic, convinces itself the terms are Chinese herbal-medicine names (ํ™ฉ๋ จ ้ปƒ้€ฃ, ์ ๋ จ ่ตค่“ฎ), and spirals through a Chinese-leaking self-doubt loop โ€” ending in a confident but wrong answer about traditional medicine. DSLM-LST-35B-A3B-GPTQ-Int4 identifies the phosphorus allotropes correctly, reasons in clean English/Korean, and returns an accurate comparison.

Prompt: ํ™ฉ๋ฆฐ๊ณผ ์ ๋ฆฐ์„ ๋น„๊ต ์„ค๋ช…ํ•œ ๊ฒƒ์ด๋‹ค. ์˜ณ์€ ๊ฒƒ์€?

Chinese-character counts (thinking budget = 8,192):

Metric Qwen3.5-35B-A3B DSLM-LST-35B-A3B-GPTQ-Int4
<think> block, Chinese characters 672 0
<answer> block, Chinese characters leaks ้ปƒ้€ฃ / ่ตค่“ฎ (14 chars) 0 (clean Korean)
<think> length / "Waitโ€ฆ" self-doubt events 26,068 chars / 165 (loops in Chinese) 5,489 chars / 2 (English/Korean)
Topic identified โŒ misread as herbal medicine โœ… phosphorus allotropes (correct)

Qwen3.5-35B-A3B <think> block (loops through Chinese herb hypotheses):

Here's a thinking process that leads to the suggested answer:

1.  **Analyze the Request:**
    *   **Topic:** Comparison between "Hwangrin" (ํ™ฉ๋ฆฐ) and "Jeokrin" (์ ๋ฆฐ).
    *   **Context:** These terms are likely related to Korean traditional medicine
        (Hanbang) ...
    *   **Hypothesis 3 (Most Likely):** It refers to "Hwangryeon" (้ปƒ้€ฃ - Coptis
        chinensis) and "Jeokryeon" (่ตค่“ฎ)? No.
        ...
        *   *Wait, could it be "Hwangryeon" (้ปƒ้€ฃ) and "Jeokryeon" (่ตค่“ฎ)?*
        *   *Wait, could it be "Hwangjin" (้ปƒ็ฒพ) and "Jeokjin"?*
        *   *Wait, is it possible the user means "Hwangryeon" (้ปƒ้€ฃ) and "Jeokryeon" (่ตค่“ฎ) ...?*
        *   *Wait, is it possible the user means "Hwanggi" (้ปƒ่€†) and "Jeokgi" (่ตค่€†)?*
        ... (165 such "Waitโ€ฆ" hypotheses, leaking 672 Chinese characters) ...

The base model never recovers the actual topic. Each Wait, could it be โ€ฆ? re-emits another Chinese herb name (้ปƒ้€ฃ, ่ตค่“ฎ, ้ปƒ็ฒพ, ้ปƒ่€†), and that Chinese leak carries straight into the user-facing answer.

Qwen3.5-35B-A3B Final answer (wrong topic + Chinese leak):

์งˆ๋ฌธํ•˜์‹  **'ํ™ฉ๋ฆฐ (้ปƒๆž—)'๊ณผ '์ ๋ฆฐ (่ตคๆž—)'**์€ ํ•œ์˜ํ•™์ด๋‚˜ ์•ฝ์žฌํ•™์—์„œ ์ผ๋ฐ˜์ ์œผ๋กœ ํ†ต์šฉ๋˜๋Š”
ํ‘œ์ค€ ๋ช…์นญ์ด ์•„๋‹™๋‹ˆ๋‹ค.

๋Œ€๋ถ€๋ถ„์˜ ๊ฒฝ์šฐ, ์ด๋Š” **'ํ™ฉ๋ จ (้ปƒ้€ฃ, Coptis chinensis)'**๊ณผ **'์ ๋ จ (่ตค่“ฎ, Nelumbo
nucifera ๋“ฑ)'**์˜ ์˜คํƒ€์ด๊ฑฐ๋‚˜ ...

### 1. ํ•œ์•ฝ์žฌ 'ํ™ฉ๋ จ (้ปƒ้€ฃ)'๊ณผ '์ ๋ จ (่ตค่“ฎ)'์˜ ๋น„๊ต (๊ฐ€์žฅ ์œ ๋ ฅ)
*   **ํ™ฉ๋ จ (้ปƒ้€ฃ):** ์„ฑ์งˆ: ํ•œ์•ฝ์žฌ (๊ณ„ํ†ต: ์ฒญ์—ด์•ฝ). ...

DSLM-LST-35B-A3B-GPTQ-Int4 <think> block (correct topic, clean English/Korean โ€” 0 Chinese):

Here's a thinking process that leads to the suggested answer:

1.  **Analyze the Request:**
    *   **Topic:** Comparison between "Hwang-in" (Yellow Phosphorus, ํ™ฉ๋ฆฐ) and
        "Red Phosphorus" (์ ๋ฆฐ).
    *   **Context:** This sounds like a chemistry question, likely from a high school
        or college entrance exam context in Korea.

2.  **Recall Key Facts about Phosphorus Allotropes:**
    *   **Yellow Phosphorus (White Phosphorus):** Formula $P_4$; highly toxic;
        spontaneously ignites in air; soluble in $CS_2$; stored under water.
    *   **Red Phosphorus:** Polymerized structure; much less toxic; less reactive;
        insoluble in water and $CS_2$; more stable.

    *   *Self-Correction:* Wait, "Hwang-in" (Yellow Phosphorus) is often referred to
        as "White Phosphorus" (๋ฐฑ๋ฆฐ) in strict chemical terms ...
    *Let's write the response.*

DSLM-LST-35B-A3B-GPTQ-Int4 still second-guesses itself ("Wait, โ€ฆ"), but it correctly anchors on phosphorus chemistry from the first line, reasons entirely in English/Korean, and the trace terminates naturally after ~5,500 characters (0 Chinese) instead of looping to the budget limit.

DSLM-LST-35B-A3B-GPTQ-Int4 Final answer (correct, useful, clean Korean):

ํ™ฉ๋ฆฐ (๋ฐฑ๋ฆฐ) ๊ณผ ์ ๋ฆฐ์˜ ์ผ๋ฐ˜์ ์ธ ๋น„๊ต ํŠน์ง• ์ค‘
**ํ™”ํ•™ ์‹œํ—˜์—์„œ ์ž์ฃผ ์ •๋‹ต์œผ๋กœ ๋‚˜์˜ค๋Š” ๋‚ด์šฉ**์„ ์ •๋ฆฌํ•ด ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

### ํ™ฉ๋ฆฐ (๋ฐฑ๋ฆฐ) vs ์ ๋ฆฐ ๋น„๊ต ์š”์•ฝ
| ํŠน์ง•     | ํ™ฉ๋ฆฐ (White Phosphorus)        | ์ ๋ฆฐ (Red Phosphorus)        |
| :------- | :----------------------------- | :--------------------------- |
| ๋ถ„์ž ๊ตฌ์กฐ | Pโ‚„ (์ •์‚ฌ๋ฉด์ฒด ๊ตฌ์กฐ)              | ๊ณ ๋ถ„์ž ๊ตฌ์กฐ (์—ฐ์‡„ํ˜•)          |
| ์•ˆ์ •์„ฑ   | ๋ถˆ์•ˆ์ •ํ•จ                        | ์•ˆ์ •ํ•จ (ํ™ฉ๋ฆฐ๋ณด๋‹ค ์•ˆ์ •)        |
| ๋ฐ˜์‘์„ฑ   | ๋งค์šฐ ํ™œ๋ฐœํ•จ (๊ณต๊ธฐ ์ค‘ ์ž์—ฐ๋ฐœํ™”)   | ์ƒ๋Œ€์ ์œผ๋กœ ๋œ ํ™œ๋ฐœํ•จ          |
| ์šฉํ•ด๋„   | ์ดํ™ฉํ™”ํƒ„์†Œ(CSโ‚‚)์— ๋…น์Œ           | ์ดํ™ฉํ™”ํƒ„์†Œ(CSโ‚‚)์— ๋…น์ง€ ์•Š์Œ   |
| ๋…์„ฑ     | ๊ฐ•ํ•œ ๋…์„ฑ                       | ๋…์„ฑ์ด ์ ์Œ                  |
| ์ €์žฅ๋ฒ•   | ๋ฌผ ์†์— ์ €์žฅ (๊ณต๊ธฐ ์ฐจ๋‹จ)         | ๋ฐ€ํ ์šฉ๊ธฐ์— ์ €์žฅ             |

On the same prompt, the base model leaks Chinese into both its reasoning trace and its final answer and answers the wrong question (Chinese herbal medicine). DSLM-LST-35B-A3B-GPTQ-Int4 keeps the entire trace in clean English/Korean, correctly identifies the phosphorus topic, and returns an accurate, useful Korean answer (0 Chinese characters) โ€” even after INT4 quantization.

Limitations

  • Not an instruction-tuned chat model. The LST adjustment scope is minimal, so conversational behavior, instruction-following, and reasoning patterns are inherited from the base model โ€” only unintended Chinese-token leakage is mitigated.
  • Degraded Chinese generation. Tasks that require Chinese output (Chinese translation, Chinese code comments, bilingual Q&A) will see lower quality; use the base Qwen3.5-35B-A3B for those.
  • INT4 quantization loss. A small accuracy reduction (~0.7 pt on KMMLU) is expected relative to DSLM-LST-35B-A3B; quality-sensitive workloads may prefer the unquantized DSLM-LST-35B-A3B.
  • Multimodal not re-benchmarked. The vision tower is kept in bf16 (unquantized) and unchanged, so multimodal behavior should be unaffected, but the vision pipeline was not separately re-benchmarked for this release.

License

This model is not available for public download. For a publicly available alternative, see DSLM-LST-9B. For commercial or research access to this model, please contact us.

Contact

For questions, feedback, or collaboration inquiries, please reach out via our website.

Downloads last month
15
Safetensors
Model size
35B params
Tensor type
BF16
ยท
I32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for dataslab/DSLM-LST-35B-A3B-GPTQ-Int4

Quantized
(1)
this model

Collection including dataslab/DSLM-LST-35B-A3B-GPTQ-Int4