Downloads · 30 days
234
13% of all-time downloads
darkmaniac7/Gemma-4-E2B-it-MNN
Gemma-4-E2B-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
234
13% of all-time downloads
All-time downloads
1.8K
Public
Repo size
15.8 GB
Likes
0
Public
Click a slice to open those files.
.weight2.3 GB · 60%
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-E2B-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-E2B-it-MNN/config.json prompt.txt