Views
No views yet
| Property | Value |
|---|---|
| Base Model | google/gemma-3-270m-it |
| Architecture | Gemma 3 (gemma3_text) |
| Parameters | 270M |
| Context Length | 512 |
| Batch Size | 64 |
| Quantization | LUT6 (6-bit, per-channel group size 4) |
| Argmax | In-model (outputs token IDs) |
| Format | Monolithic (single CoreML file) |
| Dedup | ANEMLL-Dedup enabled |
| ANEMLL Version | 0.3.5 |
| Model Size | ~335 MB (compiled) |
| File | Size | Description |
|---|---|---|
gemma3_monolithic_full_lut6.mlmodelc/ | 335 MB | Compiled CoreML model (infer + prefill) |
meta.yaml | 2 KB | Model configuration |
tokenizer.json | 32 MB | Tokenizer data |
tokenizer.model | 4.5 MB | SentencePiece model |
tokenizer_config.json | 1.1 MB | Tokenizer configuration |
chat_template.jinja | 1.5 KB | Chat template |
config.json | 66 B | iOS tokenizer config |
1# Clone with git-lfs
2git lfs install
3git clone https://huggingface.co/anemll/anemll-gemma-3-270m-it-ctx512-lut6
4
5# Or use huggingface-cli
6huggingface-cli download anemll/anemll-gemma-3-270m-it-ctx512-lut6 \
7 --local-dir ~/Models/ANE/gemma3-270m1# Install ANEMLL
2git clone https://github.com/Anemll/Anemll.git
3cd Anemll
4./create_uv_env.sh
5source env-anemll/bin/activate
6./install_dependencies.sh
7
8# Chat with the model
9python tests/chat.py \
10 --meta ~/Models/ANE/gemma3-270m/meta.yaml \
11 --prompt "Who are you?"
12
13# Full conversation mode
14python tests/chat_full.py \
15 --meta ~/Models/ANE/gemma3-270m/meta.yaml1python tests/test_gemma3_model.py \
2 --model google/gemma-3-270m-it \
3 --lut 6,4 \
4 --lut-embeddings 6,4 \
5 --lut-lmhead 6,4 \
6 --context 512 \
7 --batch 641./anemll/utils/convert_monolith.sh \
2 --model google/gemma-3-270m-it \
3 --output ./output \
4 --lut 6,4 \
5 --lut-embeddings 6,4 \
6 --lut-lmhead 6,4 \
7 --context 512 \
8 --batch 64 \
9 --argmax \
10 --prefix gemma3