Instructions to use ZichenAI/BaiHu-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ZichenAI/BaiHu-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ZichenAI/BaiHu-gguf:F16 # Run inference directly in the terminal: llama cli -hf ZichenAI/BaiHu-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ZichenAI/BaiHu-gguf:F16 # Run inference directly in the terminal: llama cli -hf ZichenAI/BaiHu-gguf:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf ZichenAI/BaiHu-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf ZichenAI/BaiHu-gguf:F16
Use Docker
docker model run hf.co/ZichenAI/BaiHu-gguf:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use ZichenAI/BaiHu-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZichenAI/BaiHu-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZichenAI/BaiHu-gguf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/ZichenAI/BaiHu-gguf:F16
- Ollama
How to use ZichenAI/BaiHu-gguf with Ollama:
ollama run hf.co/ZichenAI/BaiHu-gguf:F16
- Unsloth Desktop
- Pi
How to use ZichenAI/BaiHu-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ZichenAI/BaiHu-gguf:F16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ZichenAI/BaiHu-gguf:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ZichenAI/BaiHu-gguf with Docker Model Runner:
docker model run hf.co/ZichenAI/BaiHu-gguf:F16
- Lemonade
How to use ZichenAI/BaiHu-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ZichenAI/BaiHu-gguf:F16
Run and chat with the model
lemonade run user.BaiHu-gguf-F16
List all available models
lemonade list
- Hermes Agent
How to use ZichenAI/BaiHu-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ZichenAI/BaiHu-gguf:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default ZichenAI/BaiHu-gguf:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ZichenAI/BaiHu-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ZichenAI/BaiHu-gguf:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "ZichenAI/BaiHu-gguf:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ZichenAI/BaiHu-gguf:F16# Run inference directly in the terminal:
llama cli -hf ZichenAI/BaiHu-gguf:F16Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf ZichenAI/BaiHu-gguf:F16# Run inference directly in the terminal:
./build/bin/llama cli -hf ZichenAI/BaiHu-gguf:F16Use Docker
docker model run hf.co/ZichenAI/BaiHu-gguf:F16็ฝ่-v2
็ฝ่-v2 ๆฏไธๆฌพๅคๆจกๆๅคง่ฏญ่จๆจกๅ๏ผๆฏๆๆๆฌใๅพๅใ้ณ้ขไธ่ง้ข่พๅ ฅ๏ผ้็จไบไธญๆๅบๆฏไธ็ๅคๆจกๆ็่งฃไธ็ๆไปปๅกใ
ๆจกๅ็ฎไป
- ๆจกๅๅ็งฐ: ็ฝ่-v2
- ไธไธๆ้ฟๅบฆ: 131,072 tokens
- ่ฏ่กจๅคงๅฐ: 262,144
- ๆฐๆฎ็ฑปๅ: float16
- ๆฏๆๆจกๆ: ๆๆฌ / ๅพๅ / ้ณ้ข / ่ง้ข
ไปๅบๆไปถ่ฏดๆ
| ๆไปถ | ่ฏดๆ |
|---|---|
BaiHu-v2.Q4_K_M.gguf |
ไธปๆจกๅ GGUF ้ๅ็ๆฌ๏ผQ4_K_M๏ผ๏ผ้ๅๆฌๅฐ CPU/GPU ๆจ็ |
BaiHu-v2.F16-mmproj.gguf |
ๅคๆจกๆๆๅฝฑๅฑ๏ผmmproj๏ผFP16 ็ๆฌ๏ผ้ ๅไธปๆจกๅ็จไบๅพๅ/้ณ้ข/่ง้ข็่งฃ |
Modelfile |
llama.cpp / Ollama ็ๆจกๅ้ ็ฝฎๆไปถ็คบไพ |
ๆจ่ๆญ้ ไฝฟ็จ๏ผ
BaiHu-v2.Q4_K_M.gguf+BaiHu-v2.F16-mmproj.gguf
ๆจกๅ่ฝๅ
- ไธญๆๅค่ฝฎๅฏน่ฏ
- ๅพๅๆ่ฟฐไธ่ง่ง้ฎ็ญ
- ้ณ้ขๅ ๅฎน็่งฃ
- ่ง้ขๅ ๅฎน็่งฃ
- ๅทฅๅ ท่ฐ็จ
ไฝฟ็จๆนๆณ
ไฝฟ็จ llama.cpp / Ollama ๆจ็
ๅ่ไปๅบไธญ็ Modelfile ๅๅปบ Ollama ๆจกๅ๏ผ
ollama create BaiHu-v2 -f Modelfile
ollama run BaiHu-v2
ไฝฟ็จ llama.cpp ๅฝไปค่ก
./llama-cli \
-m BaiHu-v2.Q4_K_M.gguf \
--mmproj BaiHu-v2.F16-mmproj.gguf \
--image example.jpg \
-p "่ฏทๆ่ฟฐ่ฟๅผ ๅพ็๏ผ"
ไฝฟ็จ transformers๏ผๅฎๆดๆจกๅ๏ผ
ๅฎๆด PyTorch/Safetensors ็ๆฌ่ฏทๅ่้ ๅฅไปๅบใๆฌไปๅบไป ๆไพ GGUF ้ๅ็ๆฌใ
ๆจกๅ้ ็ฝฎ
- ๆๆฌๆจกๅ: 35 ๅฑ๏ผ้่็ปดๅบฆ 1536๏ผ8 ๅคดๆณจๆๅ
- ่ง่ง็ผ็ ๅจ: 16 ๅฑ๏ผ้่็ปดๅบฆ 768๏ผๅพๅ token ๆฐ 280
- ้ณ้ข็ผ็ ๅจ: 12 ๅฑ๏ผ้่็ปดๅบฆ 1024
- ่ง้ข: ๆฏๆ 32 ๅธง้ๆ ท๏ผๆฏๅธงๆๅคง 70 ไธช soft token
่ฎญ็ปไฟกๆฏ
- ่ฎญ็ปๆกๆถ: Unsloth
- Unsloth ็ๆฌ: 2026.6.8
- ไผๅ็ฎๆ : ๅจไฟๆๅคๆจกๆ่ฝๅ็ๅๆถ๏ผๆๅไธญๆๆไปค่ท้ไธๅฏน่ฏ่ดจ้
ๅ ่ดฃๅฃฐๆ
ๆฌๆจกๅ็ๆ็ๅ ๅฎนๅฏ่ฝๅ่ฎญ็ปๆฐๆฎๅฝฑๅใ่ฏทๅฟๅฐๆจกๅ่พๅบไฝไธบไธไธๅปบ่ฎฎ๏ผๅป็ใๆณๅพใ้่็ญ๏ผไฝฟ็จใๆจกๅๅฏ่ฝๅญๅจๅนป่งใๅ่งๆไธๅ็กฎไฟกๆฏ๏ผ่ฏท่ฐจๆ ไฝฟ็จๅนถ่ช่ก้ช่ฏใ
ๆๆๅ่ฎฎ
ๆฌๆจกๅ้็จ MIT ๅ่ฎฎ ๅผๆบใไฝฟ็จๆฌๆจกๅๅ่ฏทไป็ป้ ่ฏปๅนถ้ตๅฎ MIT ่ฎธๅฏๅ่ฎฎๆกๆฌพใ
่ด่ฐข
- Downloads last month
- 151
4-bit
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf ZichenAI/BaiHu-gguf:F16# Run inference directly in the terminal: llama cli -hf ZichenAI/BaiHu-gguf:F16