Text Generation
GGUF
Polish
English
typed-decisions
decision-making
classification
calibration
polish
ollama
conversational
imatrix
Instructions to use Remek/basal-1.5-4.5B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Remek/basal-1.5-4.5B-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-1.5-4.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Remek/basal-1.5-4.5B-GGUF:Q4_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-1.5-4.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Remek/basal-1.5-4.5B-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Remek/basal-1.5-4.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Remek/basal-1.5-4.5B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Remek/basal-1.5-4.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Remek/basal-1.5-4.5B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Remek/basal-1.5-4.5B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Remek/basal-1.5-4.5B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Remek/basal-1.5-4.5B-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-1.5-4.5B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Remek/basal-1.5-4.5B-GGUF:Q4_K_M
- Ollama
How to use Remek/basal-1.5-4.5B-GGUF with Ollama:
ollama run hf.co/Remek/basal-1.5-4.5B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Remek/basal-1.5-4.5B-GGUF with Docker Model Runner:
docker model run hf.co/Remek/basal-1.5-4.5B-GGUF:Q4_K_M
- Lemonade
How to use Remek/basal-1.5-4.5B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Remek/basal-1.5-4.5B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.basal-1.5-4.5B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
README: measured quality and speed (draft)
Browse files
README.md
CHANGED
|
@@ -46,6 +46,18 @@ basal-serve --model Remek/basal-1.5-4.5B-GGUF --mode llamacpp --llamacpp-url htt
|
|
| 46 |
- `tokenizer_config.json`
|
| 47 |
- `README.md`
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
## Notes
|
| 50 |
|
| 51 |
- `--model` points at this folder (or repo) for the tokenizer, the chat template and `CALIBRATION.json`; the GGUF file itself is served by Ollama or llama.cpp.
|
|
|
|
| 46 |
- `tokenizer_config.json`
|
| 47 |
- `README.md`
|
| 48 |
|
| 49 |
+
## Quality and speed of this port
|
| 50 |
+
|
| 51 |
+
Measured on Apple M4 Pro (10+4 CPU, 20 GPU cores), 24 GB, macOS 15.7 against the PyTorch reference (`torch-bf16`) on 500 held-out development decisions (both option orders, calibrated): basal-1.5-4.5B (source tag M15C_45); reference torch 2.14 bf16 on MPS; mlx 0.32.3 / mlx-lm 0.32.0, Ollama 0.35.0, llama.cpp 0.5.0 (b11146). Shipped files: mlx-8bit-linux / mlx-fp4-linux are the uploaded -MLX-8bit / -MLX-fp4 exports (made on the Modal Linux CPU container; no latency run, same format as the Mac exports mlx-8bit / mlx-fp4, which carry the latency); gguf-* are the uploaded -GGUF files (Q4_K_M with importance matrix)..
|
| 52 |
+
|
| 53 |
+
| engine | argmax agreement | accuracy | mean abs. prob. diff. | ECE | 1 question / state | 5 questions / state |
|
| 54 |
+
|---|---|---|---|---|---|---|
|
| 55 |
+
| torch-bf16 | 1.000 | 0.934 | 0.0000 | 0.033 | 823 ms | 4157 ms |
|
| 56 |
+
| gguf-q8_0-llamacpp | 0.994 | 0.936 | 0.0024 | 0.035 | 432 ms | 1699 ms |
|
| 57 |
+
| gguf-q8_0-ollama | 0.994 | 0.936 | 0.0024 | 0.035 | 453 ms | 1804 ms |
|
| 58 |
+
| gguf-q4_k_m-llamacpp | 0.970 | 0.926 | 0.0137 | 0.031 | 458 ms | 1801 ms |
|
| 59 |
+
| gguf-q4_k_m-ollama | 0.970 | 0.926 | 0.0137 | 0.031 | 504 ms | 1833 ms |
|
| 60 |
+
|
| 61 |
## Notes
|
| 62 |
|
| 63 |
- `--model` points at this folder (or repo) for the tokenizer, the chat template and `CALIBRATION.json`; the GGUF file itself is served by Ollama or llama.cpp.
|