How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf second-state/Qwen3-1.7B-GGUF:
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 "second-state/Qwen3-1.7B-GGUF:" \
  --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"
Quick Links

Qwen3-1.7B-GGUF

Original Model

Qwen/Qwen3-1.7B

Run with LlamaEdge

  • LlamaEdge version:

  • Prompt template

    • Prompt type: chatml (for thinking)

    • Prompt string

      <|im_start|>system
      {system_message}<|im_end|>
      <|im_start|>user
      {prompt}<|im_end|>
      <|im_start|>assistant
      
    • Prompt type: qwen3-no-think (for no thinking)

    • Prompt string

      <|im_start|>system
      {system_message}<|im_end|>
      <|im_start|>user
      {user_message_1}<|im_end|>
      <|im_start|>assistant
      {assistant_message_1}<|im_end|>
      <|im_start|>user
      {user_message_2}<|im_end|>
      <|im_start|>assistant
      <think>
      
      </think>
      
  • Context size: 128000

  • Run as LlamaEdge service

    wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen3-1.7B-Q5_K_M.gguf \
      llama-api-server.wasm \
      --model-name Qwen3-1.7B \
      --prompt-template chatml \
      --ctx-size 128000
    
  • Run as LlamaEdge command app

    wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen3-1.7B-Q5_K_M.gguf \
      llama-chat.wasm \
      --prompt-template chatml \
      --ctx-size 128000
    

Quantized GGUF Models

Name Quant method Bits Size Use case
Qwen3-1.7B-Q2_K.gguf Q2_K 2 880 MB smallest, significant quality loss - not recommended for most purposes
Qwen3-1.7B-Q3_K_L.gguf Q3_K_L 3 1.14 GB small, substantial quality loss
Qwen3-1.7B-Q3_K_M.gguf Q3_K_M 3 1.07 GB very small, high quality loss
Qwen3-1.7B-Q3_K_S.gguf Q3_K_S 3 1.00 GB very small, high quality loss
Qwen3-1.7B-Q4_0.gguf Q4_0 4 1.23 GB legacy; small, very high quality loss - prefer using Q3_K_M
Qwen3-1.7B-Q4_K_M.gguf Q4_K_M 4 1.28 GB medium, balanced quality - recommended
Qwen3-1.7B-Q4_K_S.gguf Q4_K_S 4 1.24 GB small, greater quality loss
Qwen3-1.7B-Q5_0.gguf Q5_0 5 1.44 GB legacy; medium, balanced quality - prefer using Q4_K_M
Qwen3-1.7B-Q5_K_M.gguf Q5_K_M 5 1.47 GB large, very low quality loss - recommended
Qwen3-1.7B-Q5_K_S.gguf Q5_K_S 5 1.44 GB large, low quality loss - recommended
Qwen3-1.7B-Q6_K.gguf Q6_K 6 1.67 GB very large, extremely low quality loss
Qwen3-1.7B-Q8_0.gguf Q8_0 8 2.17 GB very large, extremely low quality loss - not recommended
Qwen3-1.7B-f16.gguf f16 16 4.07 GB

Quantized with llama.cpp b5097

Downloads last month
474
GGUF
Model size
2B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for second-state/Qwen3-1.7B-GGUF

Finetuned
Qwen/Qwen3-1.7B
Quantized
(348)
this model

Collection including second-state/Qwen3-1.7B-GGUF