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
README: identity calibration, Bielik-One revisions
Browse files66 unmodified lines676869707172733 unmodified lines7778798081828366 unmodified lines| difference to basal-2.0-4.5B, paired [95% CI] | +4.16 pt [+3.02, +5.32] | - | -3.24 pt [-4.54, -1.80] || Polish / English difference to basal-2.0-4.5B | +4.28 [+2.68, +5.84] / +4.04 [+2.44, +5.72] | - | -4.16 [-6.04, -2.36] / -2.32 [-4.24, -0.52] |Werdykt 2.0: the hidden Polish and English decision benchmark, 5,000 items in 20 cells (10 categories x PL / EN); paired differences with a stratified within-cell bootstrap (1,000 resamples), the language rows on 2,500 items each. basal-3.0-mini minus Bielik-One-4B-r1: +7.40 pt [+6.10, +8.60]. basal-3.0-mini was served by basal engine 3.0.1 (`--mode fast --llama-graph on`; 3.0.2 is the same code with a serving race fixed), basal-2.0-4.5B by basal engine 2.0, Bielik-One-4B-r1 by the server of its own model card. Werdykt 2.0 hardware: basal-3.0-mini and Bielik-One-4B-r1 on an NVIDIA RTX PRO 6000 Blackwell Max-Q, basal-2.0-4.5B on an H100 80GB; the speed rows below are on an H100.| Werdykt-MAX v1.3.0 (discovery split) | Overall | PL | EN | Full4 ||---|---|---|---|---|3 unmodified lines| basal-3.0-mini minus basal-2.0-4.5B, pp [95% CI] | +12.82 [+10.62, +15.02] | +11.47 [+8.62, +14.29] | +14.17 [+10.91, +17.50] | +9.21 [+7.92, +10.52] || Bielik-One-4B-r1 minus basal-2.0-4.5B, pp [95% CI] | +9.20 [+6.89, +11.53] | +6.83 [+3.37, +10.26] | +11.57 [+8.43, +14.71] | +5.06 [+3.74, +6.37] |Werdykt-MAX v1.3.0 (discovery split): 6,000 decisions, the same for all three models; Overall = 3,000 choice and binary decisions, split evenly between Polish and English; Full4 adds the ordinal and multilabel decisions. Paired 95% intervals: pointwise, a 20,000-draw bootstrap with scenario weights shared across models and translations linked. Serving (bf16, one option order, NVIDIA RTX PRO 6000 Blackwell Max-Q): basal-3.0-mini on basal engine 3.0.1 (`--mode fast --llama-graph on`, two-way, no calibration file), basal-2.0-4.5B on basal engine 2.5.3 (eager) with its published calibration, Bielik-One-4B-r1 on Bielik-One 1.0.8 with vLLM 0.32.0 (eager) with its own calibration.## Calibration66 unmodified lines676869707172733 unmodified lines7778798081828366 unmodified lines| difference to basal-2.0-4.5B, paired [95% CI] | +4.16 pt [+3.02, +5.32] | - | -3.24 pt [-4.54, -1.80] || Polish / English difference to basal-2.0-4.5B | +4.28 [+2.68, +5.84] / +4.04 [+2.44, +5.72] | - | -4.16 [-6.04, -2.36] / -2.32 [-4.24, -0.52] |Werdykt 2.0: the hidden Polish and English decision benchmark, 5,000 items in 20 cells (10 categories x PL / EN); paired differences with a stratified within-cell bootstrap (1,000 resamples), the language rows on 2,500 items each. basal-3.0-mini minus Bielik-One-4B-r1: +7.40 pt [+6.10, +8.60]. basal-3.0-mini was served by basal engine 3.0.1 (`--mode fast --llama-graph on`, identity calibration: no fitted calibration file; 3.0.2 is the same code with a serving race fixed), basal-2.0-4.5B by basal engine 2.0, Bielik-One-4B-r1 (speakleash/Bielik-One-4B-r1 @ a5a17dad) by the server of its own model card. Werdykt 2.0 hardware: basal-3.0-mini and Bielik-One-4B-r1 on an NVIDIA RTX PRO 6000 Blackwell Max-Q, basal-2.0-4.5B on an H100 80GB; the speed rows below are on an H100.| Werdykt-MAX v1.3.0 (discovery split) | Overall | PL | EN | Full4 ||---|---|---|---|---|3 unmodified lines| basal-3.0-mini minus basal-2.0-4.5B, pp [95% CI] | +12.82 [+10.62, +15.02] | +11.47 [+8.62, +14.29] | +14.17 [+10.91, +17.50] | +9.21 [+7.92, +10.52] || Bielik-One-4B-r1 minus basal-2.0-4.5B, pp [95% CI] | +9.20 [+6.89, +11.53] | +6.83 [+3.37, +10.26] | +11.57 [+8.43, +14.71] | +5.06 [+3.74, +6.37] |Werdykt-MAX v1.3.0 (discovery split): 6,000 decisions, the same for all three models; Overall = 3,000 choice and binary decisions, split evenly between Polish and English; Full4 adds the ordinal and multilabel decisions. Paired 95% intervals: pointwise, a 20,000-draw bootstrap with scenario weights shared across models and translations linked. Serving (bf16, one option order, NVIDIA RTX PRO 6000 Blackwell Max-Q): basal-3.0-mini on basal engine 3.0.1 (`--mode fast --llama-graph on`, two-way, no calibration file), basal-2.0-4.5B on basal engine 2.5.3 (eager) with its published calibration, Bielik-One-4B-r1 (speakleash/Bielik-One-4B-r1 @ 567d29b0, a different revision from the Werdykt 2.0 row) on Bielik-One 1.0.8 with vLLM 0.32.0 (eager) with its own calibration.## Calibration
README.md+2-2