Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 729 Bytes

File metadata and controls

22 lines (16 loc) · 729 Bytes

Quick Start

Please download the BitNet model (or alternative models):

hf download microsoft/BitNet-b1.58-2B-4T-gguf --local-dir models/BitNet-b1.58-2B-4T
hf download Qwen/Qwen2.5-Coder-1.5B-Instruct-GGUF --local-dir models/Qwen2.5-Coder-1.5B-Instruct

If hf (hugging-face cli) is not available, you can download it via:

curl -LsSf https://hf.co/cli/install.sh | bash

We provide a conveninent wrapper to launch a BitNet server and conversation client:

./run_inference_server.sh -n 128  # server
./run_inference.sh -p "You are a software engineer" -n 128         # client

This internally runs [run_inference.py] and [run_inference_server.py] that spawns a llama-server of the BitNet model.