Safetensors
GGUF
English
qwen2
speculative-decoding
draft-model
llama.cpp
code-generation
conversational
Instructions to use vexp-ai/horizon-draft-0.5b 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 vexp-ai/horizon-draft-0.5b 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 vexp-ai/horizon-draft-0.5b:Q8_0 # Run inference directly in the terminal: llama cli -hf vexp-ai/horizon-draft-0.5b:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf vexp-ai/horizon-draft-0.5b:Q8_0 # Run inference directly in the terminal: llama cli -hf vexp-ai/horizon-draft-0.5b:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf vexp-ai/horizon-draft-0.5b:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf vexp-ai/horizon-draft-0.5b:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf vexp-ai/horizon-draft-0.5b:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf vexp-ai/horizon-draft-0.5b:Q8_0
Use Docker
docker model run hf.co/vexp-ai/horizon-draft-0.5b:Q8_0
- LM Studio
- Jan
- Ollama
How to use vexp-ai/horizon-draft-0.5b with Ollama:
ollama run hf.co/vexp-ai/horizon-draft-0.5b:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use vexp-ai/horizon-draft-0.5b with Docker Model Runner:
docker model run hf.co/vexp-ai/horizon-draft-0.5b:Q8_0
- Lemonade
How to use vexp-ai/horizon-draft-0.5b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull vexp-ai/horizon-draft-0.5b:Q8_0
Run and chat with the model
lemonade run user.horizon-draft-0.5b-Q8_0
List all available models
lemonade list
- Atomic Chat
File size: 705 Bytes
200493f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | {
"architectures": [
"Qwen2ForCausalLM"
],
"attention_dropout": 0.0,
"bos_token_id": 151643,
"eos_token_id": 151643,
"hidden_act": "silu",
"hidden_size": 896,
"initializer_range": 0.02,
"intermediate_size": 4864,
"max_position_embeddings": 32768,
"max_window_layers": 24,
"model_type": "qwen2",
"num_attention_heads": 14,
"num_hidden_layers": 24,
"num_key_value_heads": 2,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000.0,
"sliding_window": 32768,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16",
"transformers_version": "4.51.3",
"use_cache": true,
"use_mrope": false,
"use_sliding_window": false,
"vocab_size": 152064
}
|