Views
No views yet
| Attribute | Value |
|---|---|
| Format | GGUF |
| Quantization | F16 (Float16) |
| File Size | ~949MB |
| Original Size | ~949MB |
1# Download llama.cpp CLI tools
2git clone https://github.com/ggerganov/llama.cpp
3cd llama.cpp
4mkdir build && cd build
5cmake .. && make -j1# Download model
2wget https://huggingface.co/shenwenAI/shenwen-coderV2-GGUF/resolve/main/f16/shenwen-coderV2-F16.gguf
3
4# Run inference
5./build/bin/llama-cli -m shenwen-coderV2-F16.gguf -n 512 -p "Write a Python function to calculate factorial:"1# Clone swllm.cpp
2git clone https://github.com/shenwenAI/swllm.cpp
3cd swllm.cpp
4
5# Build
6mkdir build && cd build
7cmake .. && make -j
8
9# Run with this model
10./build/bin/swllm-cli -m shenwen-coderV2-F16.gguf -n 512 -p "Write a Python function to calculate factorial:"