meta-llama/Llama-3.2-1B-Instruct

Run locally on Apple devices with Mirai

Type
local
From
Meta
Quantization
No
Parameters
1B
Size
2.3 GB
Source
Hugging Face

Llama 3.2 1B Instruct is a lightweight, instruction-tuned large language model from Meta, designed for multilingual dialogue, summarization, and agentic retrieval tasks. At just 1 billion parameters, it targets efficiency-first deployments — including mobile and edge devices — while still delivering competitive performance against larger open source and closed chat models on standard industry benchmarks.

Architecture & Training

The model is built on an optimized transformer architecture featuring grouped-query attention, which improves inference scalability and throughput. It was pretrained on up to 9 trillion tokens of publicly available data, with a knowledge cutoff of December 2023.

A key element of the training pipeline is knowledge distillation from Meta's larger Llama 3.1 models, allowing the 1B variant to punch above its weight class. Alignment was achieved through a combination of supervised fine-tuning, rejection sampling, and direct preference optimization (DPO).

Multilingual Support

Llama 3.2 1B Instruct officially supports eight languages: English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai. The model was trained on a broader set of languages beyond these, though official support and evaluation focus on this core group.

Edge & Mobile Deployment

Quantized variants of the model are available, optimized via techniques such as SpinQuant and QLoRA. These deliver significant speedups and memory savings, making the 1B model a strong candidate for on-device inference in resource-constrained environments.

Intended Use

Meta positions Llama 3.2 1B Instruct for use within broader AI systems that include additional safety guardrails, rather than as a standalone deployment. It is released for both commercial and research applications, making it a versatile option for developers building conversational assistants, summarization pipelines, or tool-augmented agents at minimal computational cost.

Explore all local models
1
Choose framework
2
Run the following command to install Mirai SDK
spm https://github.com/trymirai/uzu.git
3
Apply code
1import Uzu23public func runChat() async throws {4    let engineConfig = EngineConfig.create()5    let engine = try await Engine.create(config: engineConfig)67    guard let model = try await engine.model(identifier: "meta-llama/Llama-3.2-1B-Instruct") else {8        return9    }10    for try await update in try await engine.download(model: model).iterator() {11        print("Download progress: \(update.progress())")12    }1314    let messages = [15        ChatMessage.system().withText(text: "You are a helpful assistant"),16        ChatMessage.user().withText(text: "Tell me a short, funny story about a robot")17    ]18    let session = try await engine.chat(model: model, config: .create())19    let stream = await session.replyWithStream(input: messages, config: .create())20    var message: ChatMessage? = nil21    for try await update in stream.iterator() {22        switch update {23        case .replies(let replies):24            message = replies.last?.message25        case .error(let error):26            print("Error: \(error)")27        }28    }29    print("Text: \(message?.text() ?? "empty")")30}

Other local models from Meta