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
Download Modelfile.Q4_K_M from Remek/basal-1.5-4.5B-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 643 Bytes
-
https://huggingface.co/Remek/basal-1.5-4.5B-GGUF/resolve/main/Modelfile.Q4_K_M
- Command line
-
hf download hf://Remek/basal-1.5-4.5B-GGUF/Modelfile.Q4_K_M
-
curl -L -o Modelfile.Q4_K_M https://huggingface.co/Remek/basal-1.5-4.5B-GGUF/resolve/main/Modelfile.Q4_K_M
643 Bytes
| # basal (basal-1.5-4.5B, Q4_K_M) for Ollama. basal is a typed-decision model, not a chat model: the basal engine | |
| # (basal-serve --mode ollama --ollama-model basal-1.5-4.5b:q4_k_m --model <this folder or its Hugging Face repo>) renders the prompt | |
| # with the model's own template and answer prefill, sends it with "raw": true and reads the log-probabilities of the | |
| # option letters of ONE generated token (logprobs / top_logprobs). The template below only passes the prompt through. | |
| FROM ./basal-1.5-4.5B-Q4_K_M.gguf | |
| TEMPLATE """{{ .Prompt }}""" | |
| PARAMETER temperature 0 | |
| PARAMETER num_predict 1 | |
| PARAMETER num_ctx 4096 | |
| PARAMETER stop "<|im_end|>" | |