CoolFace
Modelpublic

nuroai/Avalon-2B-GGUF

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
0likes27downloads
Model Card

<div align="center">

AVALON-2B GGUF

Quantized for On-Device Deployment

![Size](https://huggingface.co/nuroai/Avalon-2B-GGUF) ![Quantization](https://huggingface.co/nuroai/Avalon-2B-GGUF) ![Speed](https://huggingface.co/nuroai/Avalon-2B-GGUF)

Full Model | Paper | GitHub

</div>

Overview

This is the GGUF quantized version of AVALON-2B, the first sub-3B self-reflective language model. Optimized for on-device inference with llama.cpp, Ollama, LM Studio, and other GGUF-compatible runtimes.

Available Files

FilenameQuantizationSizeQualityUse Case
avalon-2b-q4km.ggufQ4KM1.5 GBBest balanceRecommended

Performance Benchmarks

Tested on Apple Silicon with llama.cpp:

DeviceChipRAMSpeed (tok/s)Memory
MacBook AirApple M316 GB40.22.1 GB
MacBook ProApple M3 Pro18 GB52.42.1 GB
Mac StudioApple M2 Ultra64 GB78.62.0 GB
iPhone 15 ProApple A17 Pro8 GB12.41.8 GB

Quality Retention

MetricFull ModelQ4_K_MRetention
MMLU62.04%61.42%99.0%
Self-RAG Accuracy82.5%80.5%97.6%
PerplexityBaseline+1.6%98.4%

Usage

Ollama (Easiest)

bash
# Create Modelfile
cat > Modelfile << 'EOF'
FROM ./avalon-2b-q4km.gguf

TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"""

PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.7

SYSTEM """You are AVALON, a self-reflective AI assistant. Generate [Retrieval] for time-sensitive questions and [No Retrieval] for factual knowledge. End responses with [Utility:X]."""
EOF

# Create and run
ollama create avalon-2b -f Modelfile
ollama run avalon-2b "What is quantum computing?"

llama.cpp

bash
# Download
wget https://huggingface.co/nuroai/Avalon-2B-GGUF/resolve/main/avalon-2b-q4km.gguf

# Run inference
./llama-cli -m avalon-2b-q4km.gguf \
    -p "<|im_start|>user\nWhat is the capital of France?<|im_end|>\n<|im_start|>assistant\n" \
    -n 128 --temp 0.7

LM Studio

  1. 1.Download avalon-2b-q4km.gguf
  2. 2.Open LM Studio → Local Models → Import
  3. 3.Select the GGUF file
  4. 4.Configure chat template (Qwen/ChatML format)
  5. 5.Start chatting!

Python (llama-cpp-python)

python
from llama_cpp import Llama

llm = Llama(
    model_path="avalon-2b-q4km.gguf",
    n_ctx=4096,
    n_threads=8,
)

output = llm(
    "<|im_start|>user\nWhat is AI?<|im_end|>\n<|im_start|>assistant\n",
    max_tokens=256,
    temperature=0.7,
    stop=["<|im_end|>"]
)
print(output["choices"][0]["text"])

Self-RAG Tokens

AVALON generates special reflection tokens:

TokenMeaningWhen Used
[Retrieval]Needs external infoNews, current events, prices
[No Retrieval]Can answer from knowledgeFacts, math, definitions
[Utility:1-5]Response quality ratingEnd of every response

Example Output:

User: What is the capital of Japan?
Assistant: [No Retrieval]Tokyo is the capital of Japan.[Utility:5]

User: What's the current Bitcoin price?
Assistant: [Retrieval]I need current market data to answer this...[Utility:4]

Hardware Requirements

PlatformMinimumRecommended
RAM4 GB8+ GB
Storage2 GB2 GB
GPUNot requiredMetal/CUDA for speed

Authors

  • —Akhil Ponnada - akhil@nuroailabs.com
  • —Naga Sri Arvapalli - nagasri3007@gmail.com

License

Apache 2.0 - Same as the full model.

Citation

bibtex
@article{ponnada2026avalon,
  title={AVALON-2B: The First Sub-3B Self-Reflective Language Model},
  author={Ponnada, Akhil and Arvapalli, Naga Sri},
  journal={arXiv preprint},
  year={2026}
}

Links