ds4-eval
Quality evaluation harness for DwarfStar model outputs
TLDR
SYNOPSIS
ds4-eval [options]
DESCRIPTION
ds4-eval is the quality-evaluation tool for DwarfStar (ds4). It runs a built-in set of questions against the loaded GGUF, extracts answers, and grades them so contributors can catch regressions when changing kernels, quantizations, or sampling defaults.Unlike ds4-bench (speed), ds4-eval focuses on correctness and answer quality. Traces can be saved and regraded later with --regrade-trace, which is useful when iterating on grading logic without paying the full inference cost again. A plain mode drops the ANSI UI for log-friendly CI or remote sessions.
PARAMETERS
-m, --model FILE
Path to the GGUF model. Default: ds4flash.gguf.-c, --ctx N
Allocated context length in tokens.-n, --tokens N
Maximum generated tokens per question.--questions N
Run only the first N embedded evaluation questions.--case-sequence LIST
Comma-separated 1-based case numbers to run in that order.--trace FILE
Write a detailed evaluation trace.--regrade-trace FILE
Regrade a prior trace without loading the model again.--plain
Disable the split-screen ANSI UI.--think / --think-max / --nothink
Control thinking/reasoning mode for answers.--metal | --cuda | --rocm | --cpu
Select the inference backend explicitly.--power N
GPU duty-cycle target from 1 to 100.--pause-ms N
Pause after each result in the TTY UI. Default: 350.--self-test-extractors
Run answer-extractor self-tests and exit.
CAVEATS
Requires a DwarfStar-compatible GGUF for meaningful scores. Embedded cases and extractors are project-specific; they are not a general LLM leaderboard. CPU mode is slow and intended for diagnostics. Thinking modes and context size strongly affect both quality and runtime.
HISTORY
ds4-eval ships with DwarfStar by Salvatore Sanfilippo (antirez) and contributors as part of the project's emphasis on official-vector validation and regression testing alongside speed benchmarks.
SEE ALSO
ds4-bench(1), ds4-server(1), ds4-agent(1), llama-cli(1)
