Llama-Reflex-1B (GGUF) โ€” Distilled from Muse Glimmer 30B

Built on Llama 3.2 1B Instruct and fine-tuned with 892 Muse Glimmer 30B teacher-labeled decisions.

Llama-Reflex-1B is the on-device "System 1" model in OffLlama, an iPhone AI assistant that keeps working without a network connection. It makes fast, typed decisions in a single forward pass: should this request go to a tool, should this fact be remembered, can a small model answer this offline, should the app confirm before acting. It accepts its own choice only when it is confident enough; otherwise the decision takes a defined fallback.

It is Llama 3.2 1B Instruct with a LoRA distilled from 892 Muse Glimmer 30B teacher labels, merged and quantized to Q4_K_M for llama.cpp.

Files

File Size SHA-256
Llama-Reflex-1B-Q4_K_M.gguf 807,694,080 bytes a5c60a8836aa73adeb847185aa30184cd9c33c522185f59fa9ac55a9d00782c2
calibration.json per-decision priors and the default threshold (ฯ„ = 0.90) shipped in the app b9ce25b5223103944803c2668784c484ac7eee75b33aa984e62185728970a8f1

The GGUF is byte-identical to the file bundled in the OffLlama iOS app and to the GitHub release (which also carries the training labels).

How it is used

Each decision is a multiple-choice question in the Llama 3 chat format. The model is not asked to generate text; the app reads the probabilities of the option letters (" A" โ€ฆ " H", each a single Llama 3 token) after Answer:.

<|begin_of_text|><|start_header_id|>system<|end_header_id|>

You are Reflex, the fast decision module of an offline personal assistant. Answer each multiple-choice question with a single letter.<|eot_id|><|start_header_id|>user<|end_header_id|>

Context:
User: what's 2+2?

Question: Can a small on-device model answer this correctly without the internet?
A. Yes: greeting, translation of a word, small arithmetic, spelling
B. No: needs reasoning, research, long or expert output
Answer with one letter.<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Answer:

With llama-server, request one token and the top letter probabilities:

llama-server -m Llama-Reflex-1B-Q4_K_M.gguf --port 8088
curl -s localhost:8088/completion -d '{"prompt": "<prompt above>", "n_predict": 1, "n_probs": 8, "temperature": 0}'

If the top letter's probability is at least 0.90, OffLlama accepts it. Below that, it uses the decision's fallback (for example "ask the user" or "not answerable offline"). The decision types are route, toolChoice, rememberOrNot, memoryConflict, notificationTriage, confirmBeforeAct, nudgeNow, timing, sensitivity, answerability, contactPick and eventPick. The exact option sets and the Swift runtime are in the OffLlama repository.

Training

  • Base: Llama 3.2 1B Instruct.
  • Labels: 892 typed decision questions answered by Muse Glimmer 30B (Apache-2.0).
  • LoRA r=16, one epoch, loss on the answer letter only. bf16, effective batch 8, 112 steps.
  • Merged into the base model and quantized to Q4_K_M with llama.cpp.

A second epoch, other quantizations (f16, Q8_0, Q3_K_M, Q2_K) and a Muse Spark Openโ€“labeled variant were evaluated and not shipped.

Results

On a saved 120-question decision test (10 per original decision type), using the same prompts for both models:

Llama 3.2 1B Instruct Llama-Reflex-1B
Correct option chosen 89 / 120 (74.2%) 98 / 120 (81.7%)
Expected calibration error (lower is better) 0.150 0.064

At the shipping threshold of 0.90, Llama-Reflex-1B accepted 44 of 120 decisions, and 41 of those 44 were correct. The other 76 took their fallback.

Limitations

  • This is a small test set of authored examples. It measures individual decisions, not end-to-end phone task success.
  • The 0.90 threshold was chosen on data that was also used for model selection, so it is not a certified error bound. See evaluation limits.
  • It is trained for OffLlama's fixed decision formats. It is not a general chat model, and free-form generation quality is that of a 1B model.
  • English only.

License

Llama-Reflex-1B is a derivative of Llama 3.2 and is distributed under the Llama 3.2 Community License. Use must follow the Llama 3.2 Acceptable Use Policy. See NOTICE.

Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright ยฉ Meta Platforms, Inc. All Rights Reserved.


Built by Sadman Habib for the Meta Global AI Developer Hackathon.

Downloads last month
224
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for hxbibb19/Llama-Reflex-1B-GGUF

Finetuned
(1,850)
this model