Text Generation
Transformers
Safetensors
Polish
English
llama
typed-decisions
decision-making
classification
calibration
polish
decision-model
conversational
text-generation-inference
Run this model with HF Jobs
Run Remek/basal-3.0-mini 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. 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 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. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Remek/basal-3.0-mini. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Remek/basal-3.0-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Remek/basal-3.0-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Remek/basal-3.0-mini") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Remek/basal-3.0-mini") model = AutoModelForCausalLM.from_pretrained("Remek/basal-3.0-mini", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Remek/basal-3.0-mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Remek/basal-3.0-mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Remek/basal-3.0-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Remek/basal-3.0-mini
- SGLang
How to use Remek/basal-3.0-mini with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Remek/basal-3.0-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Remek/basal-3.0-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Remek/basal-3.0-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Remek/basal-3.0-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Remek/basal-3.0-mini with Docker Model Runner:
docker model run hf.co/Remek/basal-3.0-mini
Download CALIBRATION.llamagraph.json from Remek/basal-3.0-mini: direct link, hf CLI and curl.
- Browser
- Download file 3.97 kB
-
https://huggingface.co/Remek/basal-3.0-mini/resolve/main/CALIBRATION.llamagraph.json
- Command line
-
hf download hf://Remek/basal-3.0-mini/CALIBRATION.llamagraph.json
-
curl -L -o CALIBRATION.llamagraph.json https://huggingface.co/Remek/basal-3.0-mini/resolve/main/CALIBRATION.llamagraph.json
3.97 kB
| { | |
| "prompt": 2, | |
| "temperature_per_prim": { | |
| "choice": 0.9715319411536057, | |
| "noul": 1.189207115002721, | |
| "score": 1.189207115002721 | |
| }, | |
| "temperature_per_bucket": { | |
| "choice": { | |
| "2-10": 1.059463094359295, | |
| "11-26": 1.2782470235604306, | |
| "27-255": 0.7937005259840998 | |
| } | |
| }, | |
| "thresholds": { | |
| "0.01": { | |
| "confidence": 0.9770705699920654, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "fit_coverage": 0.385885447106955, | |
| "fit_error": 0.00605831124574025, | |
| "fit_upper95": 0.009819970865659234, | |
| "cert_coverage": 0.4032650225772838, | |
| "cert_error": 0.012919896640826873, | |
| "cert_upper95": 0.01982474989086673, | |
| "per_type": { | |
| "choice": { | |
| "confidence": 0.9856504797935486, | |
| "fit_coverage": 0.41531664212076586, | |
| "fit_error": 0.005065856129685917, | |
| "fit_upper95": 0.009348213934715976, | |
| "cert_coverage": 0.4287833827893175, | |
| "cert_error": 0.008073817762399077, | |
| "cert_upper95": 0.016474596927864155, | |
| "icc": 0.4880590214779661, | |
| "design_effect": 1.0895408093264858 | |
| }, | |
| "noul": { | |
| "confidence": null, | |
| "icc": 0.8088072285109671, | |
| "design_effect": 1.131589787323109 | |
| }, | |
| "score": { | |
| "confidence": null, | |
| "icc": 0.21253547449297425, | |
| "design_effect": 1.0068930424159883 | |
| } | |
| } | |
| }, | |
| "0.05": { | |
| "confidence": 0.777583122253418, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "fit_coverage": 0.7323202805376973, | |
| "fit_error": 0.044293695131683956, | |
| "fit_upper95": 0.049850418771561635, | |
| "cert_coverage": 0.733935394234109, | |
| "cert_error": 0.0506389020350213, | |
| "cert_upper95": 0.05919717181261861, | |
| "per_type": { | |
| "choice": { | |
| "confidence": 0.7317759990692139, | |
| "fit_coverage": 0.7746686303387335, | |
| "fit_error": 0.04345464421510049, | |
| "fit_upper95": 0.049724839521714415, | |
| "cert_coverage": 0.7883283877349159, | |
| "cert_error": 0.045796737766624844, | |
| "cert_upper95": 0.05586907501249039, | |
| "icc": 0.4880590214779661, | |
| "design_effect": 1.0895408093264858 | |
| }, | |
| "noul": { | |
| "confidence": 0.8692847490310669, | |
| "fit_coverage": 0.5909355026147589, | |
| "fit_error": 0.03638151425762045, | |
| "fit_upper95": 0.04883128590133507, | |
| "cert_coverage": 0.6028571428571429, | |
| "cert_error": 0.05687203791469194, | |
| "cert_upper95": 0.0814293115793724, | |
| "icc": 0.8088072285109671, | |
| "design_effect": 1.131589787323109 | |
| }, | |
| "score": { | |
| "confidence": 0.9210201501846313, | |
| "fit_coverage": 0.3216216216216216, | |
| "fit_error": 0.008403361344537815, | |
| "fit_upper95": 0.03957007729623104, | |
| "cert_coverage": 0.34394904458598724, | |
| "cert_error": 0.0, | |
| "cert_upper95": 0.05495548846517785, | |
| "icc": 0.21253547449297425, | |
| "design_effect": 1.0068930424159883 | |
| } | |
| } | |
| } | |
| }, | |
| "gates": { | |
| "ece_lofo": { | |
| "choice": { | |
| "pooled": 0.03226816564481467, | |
| "mean": 0.08454054184372697, | |
| "max": 0.5861995271457139, | |
| "mean_floor": 0.04915018389863457, | |
| "reference": null | |
| }, | |
| "noul": { | |
| "pooled": 0.04324658921786715, | |
| "mean": 0.07406328840689493, | |
| "max": 0.0879866075515747, | |
| "mean_floor": 0.06136636136426923, | |
| "reference": null | |
| }, | |
| "score": { | |
| "pooled": 0.07750942192639516, | |
| "mean": null, | |
| "reference": null | |
| } | |
| }, | |
| "automated_at": { | |
| "0.01": 0.30114623133032303, | |
| "0.05": 0.7189996526571726 | |
| }, | |
| "automated_error": { | |
| "0.01": 0.008073817762399077, | |
| "0.05": 0.04685990338164251 | |
| }, | |
| "automated_at_pooled": { | |
| "0.01": 0.4032650225772838, | |
| "0.05": 0.733935394234109 | |
| }, | |
| "ece_reference": null | |
| }, | |
| "engine": "llamagraph", | |
| "fitted_on": { | |
| "date": "2026-11-22", | |
| "model": "basal-3.0-mini", | |
| "engine": "fast --llama-graph on", | |
| "split": "FIT 70% / CERT 30% by group", | |
| "tool": "basal-calibrate 3.0.2", | |
| "model_content": "1fe82934ce42dd6d", | |
| "model_weights": "1fe82934ce42dd6d", | |
| "orders": 1 | |
| }, | |
| "certified_on": "CERT split of fitted_on.data (30% by group)" | |
| } | |