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.o2.json from Remek/basal-3.0-mini: direct link, hf CLI and curl.
- Browser
- Download file 3.81 kB
-
https://huggingface.co/Remek/basal-3.0-mini/resolve/main/CALIBRATION.llamagraph.o2.json
- Command line
-
hf download hf://Remek/basal-3.0-mini/CALIBRATION.llamagraph.o2.json
-
curl -L -o CALIBRATION.llamagraph.o2.json https://huggingface.co/Remek/basal-3.0-mini/resolve/main/CALIBRATION.llamagraph.o2.json
3.81 kB
| { | |
| "prompt": 2, | |
| "temperature_per_prim": { | |
| "choice": 0.9303421741521466, | |
| "noul": 1.1721576888192515, | |
| "score": 1.189207115002721 | |
| }, | |
| "temperature_per_bucket": { | |
| "choice": { | |
| "2-10": 1.0145453349375237, | |
| "11-26": 1.2782470235604306, | |
| "27-255": 0.7711054127039704 | |
| } | |
| }, | |
| "thresholds": { | |
| "0.01": { | |
| "confidence": 0.9687302112579346, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "fit_coverage": 0.44798363530099355, | |
| "fit_error": 0.006523157208088715, | |
| "fit_upper95": 0.009819089638139647, | |
| "cert_coverage": 0.4626606460576589, | |
| "cert_error": 0.012012012012012012, | |
| "cert_upper95": 0.01818724266777841, | |
| "per_type": { | |
| "choice": { | |
| "confidence": 0.9687302112579346, | |
| "fit_coverage": 0.526404376183463, | |
| "fit_error": 0.005995203836930456, | |
| "fit_upper95": 0.009586927224981088, | |
| "cert_coverage": 0.5450049455984174, | |
| "cert_error": 0.008166969147005444, | |
| "cert_upper95": 0.015605913433533507, | |
| "icc": 0.5316661692756334, | |
| "design_effect": 1.0975411107949407 | |
| }, | |
| "noul": { | |
| "confidence": null, | |
| "icc": 0.8070241780480745, | |
| "design_effect": 1.131299691954364 | |
| }, | |
| "score": { | |
| "confidence": null | |
| } | |
| } | |
| }, | |
| "0.05": { | |
| "confidence": 0.7698056697845459, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "fit_coverage": 0.7355347749853887, | |
| "fit_error": 0.04429876837504966, | |
| "fit_upper95": 0.049850418771561635, | |
| "cert_coverage": 0.7391455366446683, | |
| "cert_error": 0.04981203007518797, | |
| "cert_upper95": 0.05827790006903835, | |
| "per_type": { | |
| "choice": { | |
| "confidence": 0.7071366906166077, | |
| "fit_coverage": 0.7872922364822218, | |
| "fit_error": 0.0435595938001069, | |
| "fit_upper95": 0.04991188674933114, | |
| "cert_coverage": 0.7972304648862513, | |
| "cert_error": 0.04404466501240695, | |
| "cert_upper95": 0.05419072800045516, | |
| "icc": 0.5316661692756334, | |
| "design_effect": 1.0975411107949407 | |
| }, | |
| "noul": { | |
| "confidence": 0.9925374388694763, | |
| "fit_coverage": 0.07611853573503777, | |
| "fit_error": 0.007633587786259542, | |
| "fit_upper95": 0.04058557142513337, | |
| "cert_coverage": 0.06571428571428571, | |
| "cert_error": 0.0, | |
| "cert_upper95": 0.07046111727016409, | |
| "icc": 0.8070241780480745, | |
| "design_effect": 1.131299691954364 | |
| }, | |
| "score": { | |
| "confidence": 0.9398648738861084, | |
| "fit_coverage": 0.31351351351351353, | |
| "fit_error": 0.008620689655172414, | |
| "fit_upper95": 0.040241331893681426, | |
| "cert_coverage": 0.29936305732484075, | |
| "cert_error": 0.0, | |
| "cert_upper95": 0.06175013471082451 | |
| } | |
| } | |
| } | |
| }, | |
| "gates": { | |
| "ece_lofo": { | |
| "choice": { | |
| "pooled": 0.035004251130831686, | |
| "mean": 0.08514144572582132, | |
| "max": 0.5790989189058221, | |
| "mean_floor": 0.04909711841007751, | |
| "reference": null | |
| }, | |
| "noul": { | |
| "pooled": 0.04375311246940065, | |
| "mean": 0.06968234005596004, | |
| "max": 0.09498824755350746, | |
| "mean_floor": 0.0610047523919982, | |
| "reference": null | |
| }, | |
| "score": { | |
| "pooled": 0.10427628989052624, | |
| "mean": null, | |
| "reference": null | |
| } | |
| }, | |
| "automated_at": { | |
| "0.01": 0.3827717957624175, | |
| "0.05": 0.5922195206668982 | |
| }, | |
| "automated_error": { | |
| "0.01": 0.008166969147005444, | |
| "0.05": 0.04164222873900293 | |
| }, | |
| "automated_at_pooled": { | |
| "0.01": 0.4626606460576589, | |
| "0.05": 0.7391455366446683 | |
| }, | |
| "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": 2 | |
| }, | |
| "certified_on": "CERT split of fitted_on.data (30% by group)" | |
| } | |