darkmaniac7/Gemma-3-1B-IT-MNN

Source: 🤗text-generationgemma1B activated1.2 GBother✓ 3 checksumsupdated 9d ago
or submit a torrent

Published by TokForge for on-device inference.

TokForge

Runs on-device in the TokForge app.

Gemma-3-1B-IT-MNN

Pre-converted Gemma 3 1B IT in MNN format for on-device inference with TokForge.

Original model by Google, converted to MNN Q4 for mobile deployment.

Model Details

Architecture Gemma 3 (text-only, 26 layers, 1152 hidden)
Parameters 1B (4-bit quantized)
Format MNN (Alibaba Mobile Neural Network)
Quantization W4A16 (4-bit weights, block size 128)
Vocab 262,144 tokens
Source google/gemma-3-1b-it

Description

Google's Gemma 3 1B, the compact text-only member of Google's Gemma 3 family. Perfect for budget phones with 4GB+ RAM. Supports 32K context and 140+ languages. Despite its tiny size, remarkably capable for simple Q&A, translation, and text completion.

Files

File Description
llm.mnn Model computation graph
llm.mnn.weight Quantized weight data (Q4, block=128)
llm_config.json Model config with Jinja chat template
tokenizer.txt Tokenizer vocabulary
config.json MNN runtime config

Usage with TokForge

This model is optimized for TokForge, a free Android app for private, on-device LLM inference.

  1. Download TokForge from Google Play
  2. Open the app → Models → Download this model
  3. Start chatting: runs 100% locally, no internet required

Recommended Settings

Setting Value
Backend OpenCL (Qualcomm) / Vulkan (MediaTek) / CPU (fallback)
Precision Low
Threads 4
Thinking Off (or On for thinking-capable models)

Credits

  • Gemma 3 1B IT by Google (Hugging Face). Used under the Gemma Terms of Use. Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms. This notice is in the NOTICE file in this repo.
  • Converted with llmexport from MNN by Alibaba (Apache-2.0).

Limitations

  • Intended for TokForge / MNN on-device inference on Android
  • This is a runtime bundle, not a standard Transformers training checkpoint
  • Quantization (Q4) may slightly reduce quality compared to the full-precision original

Community

Export Details

Converted using MNN's llmexport pipeline:

python llmexport.py --path google/gemma-3-1b-it --export mnn --quant_bit 4 --quant_block 128