Instructions to use tchbcb/sami-27b-mixbit 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 tchbcb/sami-27b-mixbit 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 tchbcb/sami-27b-mixbit:IQ4_XS # Run inference directly in the terminal: llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS # Run inference directly in the terminal: llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XS
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 tchbcb/sami-27b-mixbit:IQ4_XS # Run inference directly in the terminal: ./build/bin/llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XS
Use Docker
docker model run hf.co/tchbcb/sami-27b-mixbit:IQ4_XS
- Llama new
- LM Studio
- Jan
- Ollama
How to use tchbcb/sami-27b-mixbit with Ollama:
ollama run hf.co/tchbcb/sami-27b-mixbit:IQ4_XS
- Unsloth Desktop
- Pi
How to use tchbcb/sami-27b-mixbit with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tchbcb/sami-27b-mixbit:IQ4_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tchbcb/sami-27b-mixbit with Docker Model Runner:
docker model run hf.co/tchbcb/sami-27b-mixbit:IQ4_XS
- Lemonade
How to use tchbcb/sami-27b-mixbit with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tchbcb/sami-27b-mixbit:IQ4_XS
Run and chat with the model
lemonade run user.sami-27b-mixbit-IQ4_XS
List all available models
lemonade list
- Hermes Agent
How to use tchbcb/sami-27b-mixbit with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS
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:8080/v1 hermes config set model.default tchbcb/sami-27b-mixbit:IQ4_XS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tchbcb/sami-27b-mixbit with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS
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:8080/v1 \ --custom-model-id "tchbcb/sami-27b-mixbit:IQ4_XS" \ --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"
How to use from
llama.cppInstall from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS# Run inference directly in the terminal:
llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XSBuild 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 tchbcb/sami-27b-mixbit:IQ4_XS# Run inference directly in the terminal:
./build/bin/llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XSUse Docker
docker model run hf.co/tchbcb/sami-27b-mixbit:IQ4_XSQuick Links
samai-27b-mixbit (Q5_K_M mixed-precision GGUF)
samai-27b๏ผQwen/Qwen3.8-27B ๆๆฏ็๏ผPonderNet ๅๆบไฝ็น L35/39/43/47/51/55/59/63 + dMoE 8 ไธๅฎถ + MTP๏ผ็ป QLoRA SFT ๅ๏ผๆ mixbit ้ๆๅ็ฎก็บฟไบงๅบ็ llama.cpp ๆททๅ็ฒพๅบฆๆ้ใ
้ๆๅ๏ผ็ธๅฏน samai-27b ็็ปๆๅๅ๏ผ
| ็ปไปถ | ๅค็ |
|---|---|
| PonderNet (L35..63 ๅๆบๅพช็ฏ) | ๅฑๅผ๏ผponder_forced_steps=1 ๅ้่ฏญไน๏ผhalter/router ไธขๅผ |
| dMoE 8 ไธๅฎถ (ไป L35..63) | ๆๆ กๅๆฟๆดป้ข็ f_i ๅ ๆๅๅนถไธบ็จ ๅฏ FFN๏ผ8ร2176 โ 17408๏ผไธ็จ ๅฏๅฑๅๅฝข๏ผ |
| MTP ๆจกๅ | ไธขๅผ๏ผๆจ็ๆ่ทฏ๏ผ่ฎญ็ปๆถ mtp_loss_weight=0๏ผ |
| ่ง่งๅก (460M) | ไธขๅผ๏ผ็บฏๆๆฌ๏ผ |
| LoRA SFT (r16 ฮฑ32, 124.66M) | ๅทฒๅๅนถ่ฟๅบๅบงๆ้ |
็ญไปท็จ ๅฏๆจกๅ โ Qwen3_5ForCausalLM๏ผ48 linear_attention + 16 full_attention๏ผhidden 5120๏ผ๏ผๅฏ็ดๆฅ็จไธๆธธ llama.cpp ่ฝฝๅ
ฅใ
้ๅ้ ๆน๏ผไธ samai-4b-mixbit ๅๆฌพ๏ผ
- ไธปไฝ๏ผQ5_K_M
- Token embedding / output๏ผQ6_K๏ผ
--token-embedding-type Q6_K๏ผ
ๆไปถ
| ๆไปถ | ่ฏดๆ |
|---|---|
samai-27b-mixbit-Q5_K_M.gguf |
ไธปๆ้๏ผๅซ Q6_K embedding๏ผ |
sft-adapter/๏ผ่ง samai-27b ไป๏ผ |
SFT ่ฎญ็ปไพงไฟกๆฏ |
็จๆณ
llama-server -m samai-27b-mixbit-Q5_K_M.gguf --host 0.0.0.0 --port 8100 -ngl 999 -c 131072 -fa
OpenAI ๅ
ผๅฎน็ซฏ็น /v1/chat/completionsใ
ๆฅๆบ
- ๅบๅบง๏ผ
tchbcb/samai-27b๏ผๅซ SFT adapter / ่ฎญ็ปๆฅๅฟ / ๆฐๆฎ๏ผ - ้
ๆนๅ่๏ผ
tchbcb/samai-4b-mixbit
- Downloads last month
- 30
Hardware compatibility
Log In to add your hardware
4-bit
5-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf tchbcb/sami-27b-mixbit:IQ4_XS# Run inference directly in the terminal: llama cli -hf tchbcb/sami-27b-mixbit:IQ4_XS