Instructions to use rostlabs/rost-1b-instruct-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 rostlabs/rost-1b-instruct-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 rostlabs/rost-1b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf rostlabs/rost-1b-instruct-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 rostlabs/rost-1b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf rostlabs/rost-1b-instruct-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 rostlabs/rost-1b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf rostlabs/rost-1b-instruct-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 rostlabs/rost-1b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf rostlabs/rost-1b-instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/rostlabs/rost-1b-instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use rostlabs/rost-1b-instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rostlabs/rost-1b-instruct-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": "rostlabs/rost-1b-instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/rostlabs/rost-1b-instruct-GGUF:Q4_K_M
- Ollama
How to use rostlabs/rost-1b-instruct-GGUF with Ollama:
ollama run hf.co/rostlabs/rost-1b-instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use rostlabs/rost-1b-instruct-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rostlabs/rost-1b-instruct-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rostlabs/rost-1b-instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for rostlabs/rost-1b-instruct-GGUF to start chatting
- Docker Model Runner
How to use rostlabs/rost-1b-instruct-GGUF with Docker Model Runner:
docker model run hf.co/rostlabs/rost-1b-instruct-GGUF:Q4_K_M
- Lemonade
How to use rostlabs/rost-1b-instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull rostlabs/rost-1b-instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.rost-1b-instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
rost-1b-instruct, GGUF
These files will not load in Ollama, LM Studio, or a stock llama.cpp build
rostis not an architecture llama.cpp knows. llama.cpp compiles architectures in rather than loading them dynamically, so support has to be present in the binary. It is not upstream yet, and Ollama and LM Studio bundle their own llama.cpp. A stock build will refuse these files withunknown model architecture: 'rost'.A patched build is required. Instructions are below.
Quantisations of rostlabs/rost-1b-instruct,
a 1.4B bilingual Romanian/English model.
Files
| file | size | bits/weight | notes |
|---|---|---|---|
rost-1b-instruct-Q4_K_M.gguf |
791 MiB | 4.79 | the one to start with |
rost-1b-instruct-Q6_K.gguf |
1.08 GiB | 6.56 | |
rost-1b-instruct-Q8_0.gguf |
1.40 GiB | 8.50 | |
rost-1b-instruct-BF16.gguf |
2.64 GiB | 16.00 | the training precision; no quantisation loss |
Measured on this checkpoint, generating with twelve CPU threads and on one RTX 5070:
| RTX 5070 | 12 CPU threads | |
|---|---|---|
| Q4_K_M | 489.7 tok/s | 60.6 tok/s |
| F32 (for scale) | 170.1 tok/s | 14.3 tok/s |
Building a llama.cpp that can read these
There is a fork with the architecture already in it. Three lines:
git clone -b master https://github.com/rostlabs/llama.cpp && cd llama.cpp
cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j
Its master is upstream llama.cpp master plus a single commit adding the architecture. Metal
is included automatically on macOS; add -DGGML_CUDA=ON for NVIDIA.
The architecture is one commit; git log -1 in that clone shows what it adds and why.
Then:
./build/bin/llama-cli -m rost-1b-instruct-Q4_K_M.gguf \
--repeat-penalty 1.1 -p "Care este capitala României?"
Sampling
Use a repetition penalty of 1.1. It is not optional decoration on this model. Measured over 198 generations of 400 tokens on prompts chosen to provoke the failure:
| decoding | replies that looped | worst repeated 6-gram |
|---|---|---|
| greedy | 50% | 44x |
| temperature 0.2, no penalty | 44% | 44x |
| temperature 0.6, no penalty | 22% | 10x |
| temperature 0.6, penalty 1.1 | 0% | 2x |
Stronger penalties suppress repetition further and cost accuracy: at 1.3 the model stops looping and starts inventing etymologies. 1.1 is the mildest setting that works.
The transformers repository ships these defaults in generation_config.json; llama-cli
needs --repeat-penalty 1.1 passed explicitly.
How faithful are these files?
The port is checked against a second implementation of the forward pass, written from the safetensors, which agrees with the published model to 1.7e-05:
| prefill, stage by stage | 5.8e-06 to 1.8e-04 |
| single-token decode, top-8 probabilities | 4.9e-05 |
| after a cache rollback | 8.0e-05 |
| two concurrent sequences | 1.8e-05 to 1.5e-04 |
| tokenisation | exact on 8 of 8 strings, including whitespace runs, digit groups and emoji |
| CUDA | top-8 order matches, 3.8e-04 prefill and 2.7e-04 decode |
| Metal | top-8 order matches, 4.3e-05 prefill and 1.2e-04 decode |
On an M3 the Q4_K_M file runs at 1435 t/s prompt and 77 t/s generation.
At BF16 the greedy output matches the reference exactly. At Q4_K_M a token can differ, which is ordinary quantisation.
A note on file revisions
These files were regenerated on 2026-08-20. Two things the checkpoint does unusually — a
transposed rotary convention, and a QK norm with no learnable weight — turned out to fold into
the weights, so the architecture now uses llama.cpp's ordinary rope and its existing
q_norm/k_norm path instead of carrying special cases. The maths is exact, and the outputs
are unchanged.
The file format changed as a result: an earlier download will not load in a current build, and these files will not load in a build from before that change. If you took a copy on the day of publication, take it again.
Limitations
Everything in the main model card applies: it confabulates confidently, its reasoning is near chance, the context is 4,096 tokens, and no safety tuning of any kind has been applied. Read that page before using this.
- Downloads last month
- 238
4-bit
6-bit
8-bit
16-bit
Model tree for rostlabs/rost-1b-instruct-GGUF
Base model
rostlabs/rost-1b-instruct