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-max 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-max. 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-max 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-max. 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-max. 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-max with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Remek/basal-3.0-max with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Remek/basal-3.0-max") 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-max") model = AutoModelForCausalLM.from_pretrained("Remek/basal-3.0-max", 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-max 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-max" # 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-max", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Remek/basal-3.0-max
- SGLang
How to use Remek/basal-3.0-max 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-max" \ --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-max", "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-max" \ --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-max", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Remek/basal-3.0-max with Docker Model Runner:
docker model run hf.co/Remek/basal-3.0-max
Download CALIBRATION.llamagraph.json from Remek/basal-3.0-max: direct link, hf CLI and curl.
- Browser
- Download file 3.79 kB
-
https://huggingface.co/Remek/basal-3.0-max/resolve/main/CALIBRATION.llamagraph.json
- Command line
-
hf download hf://Remek/basal-3.0-max/CALIBRATION.llamagraph.json
-
curl -L -o CALIBRATION.llamagraph.json https://huggingface.co/Remek/basal-3.0-max/resolve/main/CALIBRATION.llamagraph.json
3.79 kB
| { | |
| "prompt": 2, | |
| "temperature_per_prim": { | |
| "choice": 1.0145453349375237, | |
| "noul": 1.059463094359295, | |
| "score": 1.4142135623730947 | |
| }, | |
| "temperature_per_bucket": { | |
| "choice": { | |
| "2-10": 1.1224620483093728, | |
| "11-26": 1.3739536474580891, | |
| "27-255": 0.8408964152537145 | |
| } | |
| }, | |
| "thresholds": { | |
| "0.01": { | |
| "confidence": 0.9617821574211121, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "fit_coverage": 0.548801870251315, | |
| "fit_error": 0.006656017039403621, | |
| "fit_upper95": 0.009710161091763819, | |
| "cert_coverage": 0.5689475512330671, | |
| "cert_error": 0.01282051282051282, | |
| "cert_upper95": 0.018409677307019093, | |
| "per_type": { | |
| "choice": { | |
| "confidence": 0.9696258902549744, | |
| "fit_coverage": 0.5541763096991373, | |
| "fit_error": 0.006074411541381929, | |
| "fit_upper95": 0.009520441435648973, | |
| "cert_coverage": 0.5702274975272008, | |
| "cert_error": 0.006071118820468344, | |
| "cert_upper95": 0.012379570443870532, | |
| "icc": 0.47509376453203905, | |
| "design_effect": 1.0871621634066775 | |
| }, | |
| "score": { | |
| "confidence": null, | |
| "icc": 0.6138716356107661, | |
| "design_effect": 1.019909350344133 | |
| } | |
| } | |
| }, | |
| "0.05": { | |
| "confidence": 0.7346131205558777, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "fit_coverage": 0.7868205727644653, | |
| "fit_error": 0.04456824512534819, | |
| "fit_upper95": 0.049974744834989045, | |
| "cert_coverage": 0.7947203890239667, | |
| "cert_error": 0.05113636363636364, | |
| "cert_upper95": 0.05936772131320246, | |
| "per_type": { | |
| "choice": { | |
| "confidence": 0.7216783165931702, | |
| "fit_coverage": 0.7860298758678729, | |
| "fit_error": 0.04362955032119915, | |
| "fit_upper95": 0.049830015241456756, | |
| "cert_coverage": 0.8051434223541049, | |
| "cert_error": 0.04914004914004914, | |
| "cert_upper95": 0.05970079827643682, | |
| "icc": 0.47509376453203905, | |
| "design_effect": 1.0871621634066775 | |
| }, | |
| "noul": { | |
| "confidence": 0.8237670063972473, | |
| "fit_coverage": 0.7855897733875654, | |
| "fit_error": 0.038461538461538464, | |
| "fit_upper95": 0.049405140392630956, | |
| "cert_coverage": 0.7971428571428572, | |
| "cert_error": 0.05913978494623656, | |
| "cert_upper95": 0.08050473428435805, | |
| "icc": 0.8693488098622261, | |
| "design_effect": 1.1414396669154114 | |
| }, | |
| "score": { | |
| "confidence": 0.9564226269721985, | |
| "fit_coverage": 0.26216216216216215, | |
| "fit_error": 0.010309278350515464, | |
| "fit_upper95": 0.04896217029937862, | |
| "cert_coverage": 0.24203821656050956, | |
| "cert_error": 0.0, | |
| "cert_upper95": 0.07777471100513794, | |
| "icc": 0.6138716356107661, | |
| "design_effect": 1.019909350344133 | |
| } | |
| } | |
| } | |
| }, | |
| "gates": { | |
| "ece_lofo": { | |
| "choice": { | |
| "pooled": 0.02617698718087138, | |
| "mean": 0.07930026049926704, | |
| "max": 0.4799312873873659, | |
| "mean_floor": 0.04316720060420495, | |
| "reference": null | |
| }, | |
| "noul": { | |
| "pooled": 0.026475975854056213, | |
| "mean": 0.047214685404341476, | |
| "max": 0.08618109464645385, | |
| "mean_floor": 0.044558676994418726, | |
| "reference": null | |
| }, | |
| "score": { | |
| "pooled": 0.07541040117573586, | |
| "mean": null, | |
| "reference": null | |
| } | |
| }, | |
| "automated_at": { | |
| "0.05": 0.7724904480722473 | |
| }, | |
| "automated_error": { | |
| "0.05": 0.050809352517985615 | |
| }, | |
| "automated_at_pooled": { | |
| "0.01": 0.5689475512330671, | |
| "0.05": 0.7947203890239667 | |
| }, | |
| "ece_reference": null | |
| }, | |
| "engine": "llamagraph", | |
| "fitted_on": { | |
| "date": "2026-11-23", | |
| "model": "basal-3.0-max", | |
| "engine": "fast --llama-graph on", | |
| "split": "FIT 70% / CERT 30% by group", | |
| "tool": "basal-calibrate 3.0.2", | |
| "model_content": "8270a2823f7aef0b", | |
| "model_weights": "8270a2823f7aef0b", | |
| "orders": 1 | |
| }, | |
| "certified_on": "CERT split of fitted_on.data (30% by group)" | |
| } | |