Downloads · 30 days
55
6% of all-time downloads
darkmaniac7/Gemma-4-E4B-it-MNN
Gemma-4-E4B-it-MNN is a any-to-any model from darkmaniac7. Use it for the any-to-any task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Published by TokForge for on-device inference.
Downloads · 30 days
55
6% of all-time downloads
All-time downloads
976
Public
Repo size
29.7 GB
Likes
1
Public
Click a slice to open those files.
.weight3.7 GB · 68%
From the Hugging Face model README
Published by TokForge for on-device inference.
Runs on-device in the TokForge app.
This model is a 4-bit quantized version of the MNN model exported from gemma-4-E4B-it using llmexport.
# clone MNN source
git clone https://github.com/alibaba/MNN.git
# compile
cd MNN
mkdir build && cd build
cmake .. -DMNN_LOW_MEMORY=true -DMNN_CPU_WEIGHT_DEQUANT_GEMM=true -DMNN_BUILD_LLM=true -DMNN_SUPPORT_TRANSFORMER_FUSE=true
make -j
# run
./llm_demo /path/to/gemma-4-E4B-it-MNN/config.json prompt.txt