Qwen3 4B β€” Core AI export (4-bit)

Qwen/Qwen3-4B by the Qwen Team, converted to Apple's Core AI model format. The weights are the original model's, quantized to 4 bits; nothing was retrained or fine-tuned.

Original model Qwen/Qwen3-4B
Format Core AI LLM bundle (.aimodel)
Compression 4-bit weights (4bit, the macOS preset), dynamic shapes
Context length 40,960 tokens
Size 2.28 GB
Exported with coreai.llm.export Qwen/Qwen3-4B from apple/coreai-models (coreai-core 1.0.0b3), 2026-10-08

What is in this repository

The repository's root is the bundle directory a Core AI runtime loads:

  • metadata.json β€” the bundle's description (kind llm, the asset to load, the context length)
  • qwen3_4b_4bit_dynamic.aimodel/ β€” the compiled model
  • tokenizer/ β€” the original model's tokenizer and chat template

Using it

With Apple's coreai-models Swift package (CoreAILM) and FoundationModels, after downloading the repository to a directory:

import CoreAILanguageModels
import FoundationModels

let model = try await CoreAILanguageModel(resourcesAt: bundleDirectory)
let session = LanguageModelSession(model: model, instructions: "Be brief.")
let reply = try await session.respond(to: "Why is the sky blue?")

Qwen3 reasons before it answers unless asked not to; a reasoning level of none (ContextOptions(reasoningLevel: .custom("none"))) turns that off through the chat template.

License and attribution

Apache-2.0, as the original model. Qwen3 is the work of the Qwen Team (Alibaba Cloud); see the original model card for its description, evaluation and citation. Changes made here: conversion to the Core AI format and 4-bit weight quantization.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for cameleon-ai/qwen3_4b_4bit_dynamic

Finetuned
Qwen/Qwen3-4B
Quantized
(402)
this model