Views
No views yet
Qwen/Qwen2.5-Coder-0.5B-InstructQ4_K_M quantization (~398 MB)<|im_start|> / <|im_end|>)This repository intentionally ships only what you need to run the model. Training data, retrieval indexes, and the training pipeline are not included.
| Setting | Value |
|---|---|
temperature | 0.3 |
top_p | 0.9 |
repeat_penalty (Ollama) / --repeat-penalty (llama.cpp) | 1.2 |
Modelfile already applies these.ollama run hf.co/edgeimpulse/edgeimpulse-docs-qwen-0.5b>>> How do I export a model for a Linux target with the Edge Impulse CLI?1# download the two small files
2huggingface-cli download edgeimpulse/edgeimpulse-docs-qwen-0.5b \
3 qwen-edgeai-q4_k_m.gguf Modelfile --local-dir edgeimpulse-docs-qwen
4
5cd edgeimpulse-docs-qwen
6ollama create edgeimpulse-docs-qwen -f Modelfile
7ollama run edgeimpulse-docs-qwen1# get the model
2huggingface-cli download edgeimpulse/edgeimpulse-docs-qwen-0.5b \
3 qwen-edgeai-q4_k_m.gguf --local-dir .
4
5# one-shot prompt (note the repeat penalty)
6llama-cli -m qwen-edgeai-q4_k_m.gguf --jinja \
7 --temp 0.3 --repeat-penalty 1.2 --top-p 0.9 \
8 -p "How do I create an Edge Impulse API key?" -st
9
10# or an OpenAI-compatible local server
11llama-server -m qwen-edgeai-q4_k_m.gguf -c 4096 --jinja
12# -> http://127.0.0.1:8080 (POST /v1/chat/completions; send repeat_penalty: 1.2)--jinja), so
llama-cli chat mode and the llama-server chat endpoints work out of the box.<|im_start|>system
You are the Edge Impulse documentation assistant.<|im_end|>
<|im_start|>user
How do I deploy a model to an Arduino board?<|im_end|>
<|im_start|>assistantQwen/Qwen2.5-Coder-0.5B-Instruct model.