Run this model with HF Jobs
Run Remek/basal-3.0-max-GGUF 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-GGUF. 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-GGUF 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-GGUF. 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-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Remek/basal-3.0-max-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Remek/basal-3.0-max-GGUF") 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-GGUF") model = AutoModelForCausalLM.from_pretrained("Remek/basal-3.0-max-GGUF", 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
- llama.cpp
How to use Remek/basal-3.0-max-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Remek/basal-3.0-max-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf Remek/basal-3.0-max-GGUF:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Remek/basal-3.0-max-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf Remek/basal-3.0-max-GGUF:Q5_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Remek/basal-3.0-max-GGUF:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Remek/basal-3.0-max-GGUF:Q5_K_M
Use Docker
docker model run hf.co/Remek/basal-3.0-max-GGUF:Q5_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Remek/basal-3.0-max-GGUF 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-GGUF" # 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-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Remek/basal-3.0-max-GGUF:Q5_K_M
- SGLang
How to use Remek/basal-3.0-max-GGUF 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-GGUF" \ --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-GGUF", "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-GGUF" \ --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-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Remek/basal-3.0-max-GGUF with Ollama:
ollama run hf.co/Remek/basal-3.0-max-GGUF:Q5_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Remek/basal-3.0-max-GGUF with Docker Model Runner:
docker model run hf.co/Remek/basal-3.0-max-GGUF:Q5_K_M
- Lemonade
How to use Remek/basal-3.0-max-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Remek/basal-3.0-max-GGUF:Q5_K_M
Run and chat with the model
lemonade run user.basal-3.0-max-GGUF-Q5_K_M
List all available models
lemonade list
- Atomic Chat
basal-3.0-max-GGUF
GGUF files (Q8_0, Q5_K_M) of the basal-3.0 11B model for llama.cpp, with the calibration fitted on the Q8_0 file through llama.cpp.
This model is trained to read two ways; llama.cpp and Ollama read it one way. Measured on the 8,560 held-out test decisions, against the two-way model served by basal-serve: Q8_0 accuracy 0.7819 vs 0.8936 (-11.17 pt), Q5_K_M 0.7818 (-11.18 pt); the bf16 model read one way: -11.30 pt, so the cost is the one-way reading, not the quantisation. For full accuracy serve basal-3.0-max with basal-serve; basal-3.0-max-one-way-GGUF is a model trained one way.
Agreement with the bf16 model read the same way
| file | agreement | at bf16 margin >= 0.2 | accuracy difference |
|---|---|---|---|
| Q8_0 | 99.1% | >99.9% | +0.13 pt |
| Q5_K_M | 98.2% | 99.9% | +0.12 pt |
Reproducibility: with llama-server's prompt cache on, two identical runs of one GGUF file (measured on the Q8_0 file of basal-3.0-mini-GGUF, the 4.5B two-way GGUF; expect the same order here) agree on 99% of top answers (median |p difference| 0.003); the numbers above are one such run.
Quick start
Download the folder, then serve the Q8_0 file with llama.cpp and put basal-serve (engine 3.0.3, installed as on the main card) in front of it:
hf download Remek/basal-3.0-max-GGUF --local-dir basal-3.0-max-GGUF
llama-server -m basal-3.0-max-GGUF/basal-3.0-max-Q8_0.gguf -c 8192 --grammar 'root ::= [A-Za-z]+' --port 8080
basal-serve --model ./basal-3.0-max-GGUF --mode llamacpp --llamacpp-url http://127.0.0.1:8080 --port 8000
--grammar 'root ::= [A-Za-z]+' keeps llama-server from dropping a decision whose most likely next token is an incomplete UTF-8 byte (llama.cpp reports a token's probabilities only once its text is complete). Every basal answer code is one ASCII letter and basal reads the probabilities, so the flag does not change what basal reads.
Ollama is not supported for this folder (through Ollama, 12 of the 8,560 test decisions came back without probabilities, and Ollama takes no server grammar); for Ollama use basal-3.0-max-one-way-GGUF.
- Downloads last month
- 55
5-bit
8-bit
Model tree for Remek/basal-3.0-max-GGUF
Base model
speakleash/Bielik-11B-v3-Base-20250730