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
Calibration: withdraw thresholds whose frozen-test 95% bound is above the target
Browse filesFiles changed (3)
33 unmodified lines343536373839404142434445464748495070 unmodified lines12112212312412512612712812913013133 unmodified lines"icc": 0.47509376453203905,"design_effect": 1.0871621634066775},"noul": {"confidence": 0.9909341335296631,"fit_coverage": 0.3387565368971528,"fit_error": 0.0017152658662092624,"fit_upper95": 0.009267623357512602,"cert_coverage": 0.33714285714285713,"cert_error": 0.01694915254237288,"cert_upper95": 0.04285393795273999,"icc": 0.8693488098622261,"design_effect": 1.1414396669154114},"score": {"confidence": null,"icc": 0.6138716356107661,70 unmodified lines}},"automated_at": {"0.01": 0.48245918721778397,"0.05": 0.7724904480722473},"automated_error": {"0.01": 0.007919366450683946,"0.05": 0.050809352517985615},"automated_at_pooled": {33 unmodified lines34353637383970 unmodified lines11011111211311411511611711833 unmodified lines"icc": 0.47509376453203905,"design_effect": 1.0871621634066775},"score": {"confidence": null,"icc": 0.6138716356107661,70 unmodified lines}},"automated_at": {"0.05": 0.7724904480722473},"automated_error": {"0.05": 0.050809352517985615},"automated_at_pooled": {
84 unmodified lines8586878889909184 unmodified lines## CalibrationThe calibration files (CALIBRATION.llamagraph.json, CALIBRATION.llamagraph.o2.json) give per-type temperatures and certified confidence thresholds. On the 8,560 held-out test decisions, as served, one option order: at a 1% target error 50.0% of decisions are automated (0.42% observed error); at 5%, 81.1% (3.47% observed error).## Speed84 unmodified lines8586878889909184 unmodified lines## CalibrationThe calibration files (CALIBRATION.llamagraph.json, CALIBRATION.llamagraph.o2.json) give per-type temperatures and certified confidence thresholds. In CALIBRATION.llamagraph.json at the 1% target only `choice` questions have a threshold; yes/no and `score` questions are deferred. On the 8,560 held-out test decisions, as served, one option order: at a 1% target error 35.9% of decisions are automated (0.33% observed error); at 5%, 81.1% (3.47% observed error).## Speed
1234402ffb837a3df09e7db4fc073e67e1b192fdccd8be0d2adfffef2500d69060e7 CALIBRATION.llamagraph.jsonc3627cde65f9e9a16eda05ce0218157082b11ad61eaadd620e2f5f40413e8234 CALIBRATION.llamagraph.o2.jsonf924aebd8dd26413489c6c7c83d5e577c2f2dacf5f9d18a046b5f2cde313e9de basal.jsona805e50fed68938a076b07e2e602639611b50b1ced0e50f11eb92f1ba25be4dc chat_template.jinja1234491fbe5a5b49e12c0f79e10df00d2fc1e27a5dae0f033af34c44ca828751accb CALIBRATION.llamagraph.jsonc3627cde65f9e9a16eda05ce0218157082b11ad61eaadd620e2f5f40413e8234 CALIBRATION.llamagraph.o2.jsonf924aebd8dd26413489c6c7c83d5e577c2f2dacf5f9d18a046b5f2cde313e9de basal.jsona805e50fed68938a076b07e2e602639611b50b1ced0e50f11eb92f1ba25be4dc chat_template.jinja
CALIBRATION.llamagraph.json-13
README.md+1-1
SHA256SUMS+1-1