Run this model with HF Jobs

Run Remek/basal-3.0-mini-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Remek/basal-3.0-mini-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Remek/basal-3.0-mini-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Remek/basal-3.0-mini-GGUF. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

basal-3.0-mini-GGUF

GGUF files (Q8_0, Q5_K_M) of the basal-3.0 4.5B model for llama.cpp and Ollama, with the calibration fitted on the Q8_0 file through llama.cpp.

This model is trained to read two ways; llama.cpp and Ollama read it one way. Measured on the 8,560 held-out test decisions, against the two-way model served by basal-serve: Q8_0 accuracy 0.7428 vs 0.8782 (-13.54 pt), Q5_K_M 0.7407 (-13.75 pt); the bf16 model read one way: -13.60 pt, so the cost is the one-way reading, not the quantisation. For full accuracy serve basal-3.0-mini with basal-serve; basal-3.0-mini-one-way-GGUF is a model trained one way.

Agreement with the bf16 model read the same way

file agreement at bf16 margin >= 0.2 accuracy difference
Q8_0 98.7% 99.9% +0.06 pt
Q5_K_M 96.9% 99.2% -0.15 pt

Through Ollama (Q8_0, with its own CALIBRATION.ollama.json): agreement 98.7% with the bf16 model read the same way, accuracy +0.14 pt.

Reproducibility: with llama-server's prompt cache on, two identical runs of one GGUF file (measured on this folder's Q8_0 file) agree on 99% of top answers (median |p difference| 0.003); the numbers above are one such run.

Quick start

Download the folder, then serve the Q8_0 file with llama.cpp or Ollama and put basal-serve (engine 3.0.3, installed as on the main card) in front of it:

hf download Remek/basal-3.0-mini-GGUF --local-dir basal-3.0-mini-GGUF
llama-server -m basal-3.0-mini-GGUF/basal-3.0-mini-Q8_0.gguf -c 8192 --grammar 'root ::= [A-Za-z]+' --port 8080
basal-serve --model ./basal-3.0-mini-GGUF --mode llamacpp --llamacpp-url http://127.0.0.1:8080 --port 8000
# or with Ollama:
cd basal-3.0-mini-GGUF && ollama create basal-3.0-mini:q8_0 -f Modelfile.Q8_0 && cd ..
basal-serve --model ./basal-3.0-mini-GGUF --mode ollama --ollama-model basal-3.0-mini:q8_0 --port 8000

--grammar 'root ::= [A-Za-z]+' keeps llama-server from dropping a decision whose most likely next token is an incomplete UTF-8 byte (llama.cpp reports a token's probabilities only once its text is complete). Every basal answer code is one ASCII letter and basal reads the probabilities, so the flag does not change what basal reads.

Downloads last month
73
GGUF
Model size
5B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

5-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Remek/basal-3.0-mini-GGUF

Quantized
(28)
this model

Collection including Remek/basal-3.0-mini-GGUF