Downloads · 30 days
24
0% of all-time downloads
taobao-mnn/Qwen2.5-Math-7B-Instruct-MNN
Qwen2.5-Math-7B-Instruct-MNN is a text generation model from taobao-mnn. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model is a 4-bit quantized version of the MNN model exported from Qwen2.5-Math-7B-Instruct using llmexport.
Downloads · 30 days
24
0% of all-time downloads
All-time downloads
7.5K
Public
Repo size
5.1 GB
Likes
0
Public
Click a slice to open those files.
.weight4 GB · 78%
From the Hugging Face model README
This model is a 4-bit quantized version of the MNN model exported from Qwen2.5-Math-7B-Instruct using llmexport.
# install huggingface
pip install huggingface
# shell download
huggingface download --model 'taobao-mnn/Qwen2.5-Math-7B-Instruct-MNN' --local_dir 'path/to/dir'
# SDK download
from huggingface_hub import snapshot_download
model_dir = snapshot_download('taobao-mnn/Qwen2.5-Math-7B-Instruct-MNN')
# git clone
git clone https://www.modelscope.cn/taobao-mnn/Qwen2.5-Math-7B-Instruct-MNN
# 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/Qwen2.5-Math-7B-Instruct-MNN/config.json prompt.txt