Text Generation
Transformers
Safetensors
Polish
English
llama
typed-decisions
decision-making
classification
calibration
polish
decision-model
conversational
text-generation-inference
modelopt
Run this model with HF Jobs
Run Remek/basal-3.0-max-FP8 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-FP8. 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-FP8 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-FP8. 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.
Instructions to use Remek/basal-3.0-max-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Remek/basal-3.0-max-FP8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Remek/basal-3.0-max-FP8") 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-FP8") model = AutoModelForCausalLM.from_pretrained("Remek/basal-3.0-max-FP8", 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-FP8 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-FP8" # 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-FP8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Remek/basal-3.0-max-FP8
- SGLang
How to use Remek/basal-3.0-max-FP8 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-FP8" \ --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-FP8", "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-FP8" \ --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-FP8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Remek/basal-3.0-max-FP8 with Docker Model Runner:
docker model run hf.co/Remek/basal-3.0-max-FP8
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.45166581669931666,"design_effect": 1.0828640000340426},"noul": {"confidence": 0.9904077649116516,"fit_coverage": 0.34166182452062754,"fit_error": 0.0017006802721088435,"fit_upper95": 0.009249553518844671,"cert_coverage": 0.34,"cert_error": 0.01680672268907563,"cert_upper95": 0.042654264191766225,"icc": 0.9162890040794346,"design_effect": 1.1490766537723658},"score": {"confidence": null,"icc": 0.6191074059193785,70 unmodified lines}},"automated_at": {"0.01": 0.5026050712052796,"0.05": 0.7669329628343174},"automated_error": {"0.01": 0.006910850034554251,"0.05": 0.049818840579710144},"automated_at_pooled": {33 unmodified lines34353637383970 unmodified lines11011111211311411511611711833 unmodified lines"icc": 0.45166581669931666,"design_effect": 1.0828640000340426},"score": {"confidence": null,"icc": 0.6191074059193785,70 unmodified lines}},"automated_at": {"0.05": 0.7669329628343174},"automated_error": {"0.05": 0.049818840579710144},"automated_at_pooled": {
33 unmodified lines343536373839404142434445464748495070 unmodified lines12112212312412512612712812913013133 unmodified lines"icc": 0.45166581669931666,"design_effect": 1.0828640000340426},"noul": {"confidence": 0.9904077649116516,"fit_coverage": 0.34166182452062754,"fit_error": 0.0017006802721088435,"fit_upper95": 0.009249553518844671,"cert_coverage": 0.34,"cert_error": 0.01680672268907563,"cert_upper95": 0.042654264191766225,"icc": 0.9162890040794346,"design_effect": 1.1490766537723658},"score": {"confidence": null,"icc": 0.6191074059193785,70 unmodified lines}},"automated_at": {"0.01": 0.5026050712052796,"0.05": 0.7669329628343174},"automated_error": {"0.01": 0.006910850034554251,"0.05": 0.049818840579710144},"automated_at_pooled": {33 unmodified lines34353637383970 unmodified lines11011111211311411511611711833 unmodified lines"icc": 0.45166581669931666,"design_effect": 1.0828640000340426},"score": {"confidence": null,"icc": 0.6191074059193785,70 unmodified lines}},"automated_at": {"0.05": 0.7669329628343174},"automated_error": {"0.05": 0.049818840579710144},"automated_at_pooled": {
123453a5c7d4848ab4f3ddbc5ba2ff2af9dce22cf34fa7ac130251076fd767d2d4bc7 CALIBRATION.llamagraph.fp8.json3a5c7d4848ab4f3ddbc5ba2ff2af9dce22cf34fa7ac130251076fd767d2d4bc7 CALIBRATION.llamagraph.jsonc47bc7dec08e3f0ab70dcd5f2985b772782166e030c3f3053fdaacd8376ab225 basal.jsona805e50fed68938a076b07e2e602639611b50b1ced0e50f11eb92f1ba25be4dc chat_template.jinja6af0d9eea18e70618ede6a9e1c925fdf3132d4a033c6049ec8f083b686ce8083 config.json1234571cca71ba0bceba2775eb2d919de06e6f9b8bf65aa82c5aa7b55520c844757ad CALIBRATION.llamagraph.fp8.json71cca71ba0bceba2775eb2d919de06e6f9b8bf65aa82c5aa7b55520c844757ad CALIBRATION.llamagraph.jsonc47bc7dec08e3f0ab70dcd5f2985b772782166e030c3f3053fdaacd8376ab225 basal.jsona805e50fed68938a076b07e2e602639611b50b1ced0e50f11eb92f1ba25be4dc chat_template.jinja6af0d9eea18e70618ede6a9e1c925fdf3132d4a033c6049ec8f083b686ce8083 config.json
CALIBRATION.llamagraph.fp8.json-13
CALIBRATION.llamagraph.json-13
SHA256SUMS+2-2