--- license: apache-2.0 language: - pl - en base_model: speakleash/Bielik-4.5B-v3.0-Instruct library_name: transformers pipeline_tag: text-generation tags: - typed-decisions - decision-making - classification - calibration - polish - decision-model --- # basal-3.0-mini-FP8 FP8 weights of [basal-3.0-mini](https://huggingface.co/Remek/basal-3.0-mini) (4.5B) for NVIDIA Hopper and Blackwell GPUs: NVIDIA ModelOpt post-training quantisation; the token embeddings, the output head and the first and last two decoder layers stay in bf16. **Two-way reading.** The model reads its prompt in both directions (every token sees the whole state and question, up to 4,096 prompt tokens; longer prompts are read causally). basal-serve reads it that way with `--llama-graph on` only; without the flag the server refuses to start. llama.cpp and Ollama read one way, so the GGUF files read this model causally, at a measured cost (see the GGUF card). ## Quick start ```bash uv venv --python 3.12 ~/basal-env && source ~/basal-env/bin/activate uv pip install torch==2.11.0 --index-url https://download.pytorch.org/whl/cu128 uv pip install "basal-engine[fp8] @ https://github.com/rkinas/basal/archive/refs/tags/v3.0.3.tar.gz" ``` basal 3.0.3 returns bit-identical probabilities to the build these numbers were measured on (3.0.2, build 1bd1bba2) on the 8,560 test decisions, read one request at a time (the 3.0.3 code tree; 24 Nov 2026). ```bash basal-serve --model Remek/basal-3.0-mini-FP8 --mode fp8 --llama-graph on --template-prefix off --port 8000 ``` ## Agreement with bf16 On the 8,560 held-out test decisions: the top answer agrees with the bf16 model on 97.9% of decisions (99.6% where the bf16 margin is at least 0.2); accuracy 0.8765 vs 0.8782 (-0.16 pt); calibration error +0.0019. ## Speed One H100 80GB, `--mode fp8 --llama-graph on --template-prefix off`. | load | decisions/s | p50 latency | |---|---|---| | 1 client, short states | 89.3 | 10.6 ms | | 1 client, long states | 11.1 | 93.9 ms | | 16 clients | 185.9 | 83.7 ms | | 64 clients | 196.8 | 311.7 ms | | 8 clients, 16 questions per request | 200.7 | 628.9 ms | | 32 clients x 1,000 requests (load test) | 140.5 | |