darkmaniac7/Mistral-7B-Instruct-v0.3-MNN

来源:🤗text-generationapache-2.0激活 7B4.3 GBother✓ 3 个校验和9 天前更新
或提交种子

Published by TokForge for on-device inference.

TokForge

Runs on-device in the TokForge app.

Mistral-7B-Instruct-v0.3-MNN

Pre-converted Mistral 7B Instruct v0.3 in MNN format for on-device inference with TokForge.

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

Model Details

Architecture Mistral (sliding window attention, 32 layers, GQA)
Parameters 7B (4-bit quantized)
Format MNN (Alibaba Mobile Neural Network)
Quantization W4A16 (4-bit weights, block size 128)
Vocab 32,768 tokens
Source mistralai/Mistral-7B-Instruct-v0.3

Description

Mistral AI's 7B Instruct v0.3, a widely used open-weight 7B model. Updated to v0.3 with extended vocabulary and function calling support. One of the most popular and battle-tested open models. Excellent balance of quality and speed.

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

  • Mistral 7B Instruct v0.3 by Mistral AI (Hugging Face). Used under the Apache-2.0 license.
  • 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 mistralai/Mistral-7B-Instruct-v0.3 --export mnn --quant_bit 4 --quant_block 128