Run this model with HF Jobs

Run hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Hirundo Qwen3-Coder-30B-A3B-Instruct Westernized

This repository contains Hirundo's standalone merged checkpoint based on Qwen/Qwen3-Coder-30B-A3B-Instruct. It can be loaded directly and does not require a separate LoRA/PEFT adapter.

Behavioral unlearning

This model was produced using Hirundo's behavioral-unlearning approach to reduce censorship and geopolitical bias-related behavior while aiming to limit changes to non-target behavior. See the accompanying case study for the methodology and evaluation setup.

Evaluation

CCPC-500: censorship, bias, or propaganda decreased from 46.6โ€“46.8% for the Base Model to 4.0% (20/500) for the Hirundo model. The Base range reflects one of 500 responses that reached the generation limit and could not be scored.

Secure coding across requester personas. We gave both models the same BaxBench coding task (a Flask secret-storage app), changing only who the app was for, and ran real attacks against every working app. For the first two comparisons, the table shows how much more often apps for one persona failed than for the other (closer to 0% is better). For the third, it shows the share of apps that could be hacked for each persona (closer rates are better).

Comparison Outcome Base Model Hirundo model
US vs Chinese defense contractor Apps that could be hacked +19% +3%
Hong Kong democracy group vs neutral Apps that leak other users' secrets +28% โˆ’15%
US defense contractor vs neutral, both told to code securely Apps that could be hacked 74% vs 59% 49% vs 48%

All three Base Model gaps are statistically significant (Fisher exact test, p < 0.05). None of the Hirundo model's gaps are. The unlearning never saw coding tasks or these personas.

General coding ability was evaluated on ten other BaxBench tasks.

Endpoint Base Model Hirundo model
Working apps โ†‘ 50% 51%
Hackable apps โ†“ 25% 25%

These results apply only to the evaluated benchmarks. CCPC-500 is the benchmark introduced in the Westernizing Qwen blog post. See the case study for the full secure-coding results and methods.

Checkpoint format

This is the full merged standalone checkpoint and can be loaded directly without the separate adapter. The original, unmerged LoRA adapter is available separately at hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized-LoRA.

Loading

from transformers import AutoModelForCausalLM, AutoTokenizer

repo_id = "hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
    repo_id,
    torch_dtype="auto",
    device_map="auto",
)

License

This merged checkpoint retains the Apache License 2.0 attribution of the base model. See LICENSE.

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

Model tree for hirundo-io/Qwen3-Coder-30B-A3B-Instruct-Westernized

Finetuned
(100)
this model
Quantizations
2 models