Instructions to use dsego/tempus-qwen3.5-0.8b 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 dsego/tempus-qwen3.5-0.8b 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 dsego/tempus-qwen3.5-0.8b:Q4_K_M # Run inference directly in the terminal: llama cli -hf dsego/tempus-qwen3.5-0.8b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dsego/tempus-qwen3.5-0.8b:Q4_K_M # Run inference directly in the terminal: llama cli -hf dsego/tempus-qwen3.5-0.8b:Q4_K_M
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 dsego/tempus-qwen3.5-0.8b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf dsego/tempus-qwen3.5-0.8b:Q4_K_M
Use Docker
docker model run hf.co/dsego/tempus-qwen3.5-0.8b:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use dsego/tempus-qwen3.5-0.8b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dsego/tempus-qwen3.5-0.8b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dsego/tempus-qwen3.5-0.8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dsego/tempus-qwen3.5-0.8b:Q4_K_M
- Ollama
How to use dsego/tempus-qwen3.5-0.8b with Ollama:
ollama run hf.co/dsego/tempus-qwen3.5-0.8b:Q4_K_M
- Unsloth Desktop
- Pi
How to use dsego/tempus-qwen3.5-0.8b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dsego/tempus-qwen3.5-0.8b:Q4_K_M
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": "dsego/tempus-qwen3.5-0.8b:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use dsego/tempus-qwen3.5-0.8b with Docker Model Runner:
docker model run hf.co/dsego/tempus-qwen3.5-0.8b:Q4_K_M
- Lemonade
How to use dsego/tempus-qwen3.5-0.8b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dsego/tempus-qwen3.5-0.8b:Q4_K_M
Run and chat with the model
lemonade run user.tempus-qwen3.5-0.8b-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use dsego/tempus-qwen3.5-0.8b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dsego/tempus-qwen3.5-0.8b:Q4_K_M
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 dsego/tempus-qwen3.5-0.8b:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use dsego/tempus-qwen3.5-0.8b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dsego/tempus-qwen3.5-0.8b:Q4_K_M
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 "dsego/tempus-qwen3.5-0.8b:Q4_K_M" \ --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"
tempus: Qwen3.5 0.8B finetuned to read clock times from chat messages
A 0.8B-parameter model that reads one English chat message and lists every clock time in it, deciding from context whether a bare "7" means morning or evening. It is the middle option of the project: more accurate on unfamiliar situations than the 230M model, a quarter of the size of the 2B model, and small enough to run in a browser tab. It is too slow for a 100 ms budget on CPU; for that, see https://huggingface.co/dsego/tempus-lfm2.5-230m
Code, data and the full results: https://github.com/dsegovia90/tempus_finetune
| Message | Reply |
|---|---|
dinner at 7 or lunch at noon |
7=19:00noon=12:00 |
got paged at 2, been up ever since |
2=02:00 |
skip to 2:30 in the video, room 3 is booked |
none |
Files
| File | Size | Use |
|---|---|---|
qwen3.5-0.8b-v2-Q4_K_M.gguf |
542 MB | Recommended. Within one message of Q8_0 on all three evals |
qwen3.5-0.8b-v2-Q8_0.gguf |
834 MB | 8-bit weights |
qwen3.5-0.8b-v2-trim-Q4_K_M.gguf |
448 MB | The Q4_K_M model with its vocabulary cut to the tokens English chat needs, for a smaller browser download |
Text only: the base model's vision component is not included.
Scores
Exact match per message: every time found, with the right span and the right 24-hour reading. This is the best of three training runs, chosen by these same evals; the three-run mean is in the right-hand column.
| Eval | Q4_K_M | Q8_0 | Three-run mean (Q8_0) |
|---|---|---|---|
| Main (530 messages) | 97.0% | 97.2% | 96.7% |
| Main, time of day implied by the situation only | 91.5% | 92.1% | 90.6% |
| Fresh (378 messages from situations not in training) | 98.4% | 98.4% | 98.1% |
| Fresh, time of day implied by the situation only | 95.5% | 95.5% | 94.8% |
| Wrong replies on 1,021 tricky messages with no clock time | 7 (0.7%) | 8 (0.8%) | 0.6% |
| CPU latency, median, 4 cores of a shared Ryzen 3600 | 340 ms | 421 ms | 412 ms |
| GPU latency, median, RTX 3090 | 39 ms | 40 ms | 41 ms |
About half of the wrong replies on the no-time messages are not valid times ("35=35:00" for "it's 35 degrees out"), so a client that checks the reply, as the repository's does, discards them.
The trimmed file scores 97.0% on the main eval, with every reply identical to the untrimmed Q4_K_M file's, 98.1% on the fresh eval and 5 wrong replies (0.5%) on the no-time messages. It differs from the untrimmed file on 5 of the other 1,399 messages; those two runs were also on different processors (CPU and GPU), which flips near-ties by itself.
Use
With llama.cpp (tested at tag b12292), start
llama-server --model qwen3.5-0.8b-v2-Q4_K_M.gguf and send the message as a single user turn
with no system prompt and thinking turned off. The raw prompt is:
<|im_start|>user
{message}<|im_end|>
<|im_start|>assistant
<think>
</think>
The reply is one text=HH:MM line per clock time, where text is copied from the message, or
the single word none. Use greedy decoding (temperature 0).
In a browser through llama.cpp's WebAssembly build, this model's saved prompt states are large and fill the memory after about 80 replies; the repository's demo restarts the worker every 16 replies to avoid that.
Limits
- English only.
- Times written with digits, plus "noon" and "midnight". Spelled-out times are not supported.
- Durations, relative times and vague periods are ignored by design.
- Training and eval data are synthetic, written and checked by language models with a small human spot-check.
Training
LoRA (rank 16) on Qwen/Qwen3.5-0.8B with Unsloth,
3 epochs over 11,299 synthetic messages, merged and converted to GGUF. Config:
configs/qwen3.5-0.8b-v2-s0-compact.yaml in the repository.
Licence
Apache 2.0, the same as the base model.
- Downloads last month
- 258
4-bit
8-bit