Instructions to use rostlabs/rost-1b-instruct-v2-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-v2-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-v2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf rostlabs/rost-1b-instruct-v2-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-v2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf rostlabs/rost-1b-instruct-v2-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-v2-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf rostlabs/rost-1b-instruct-v2-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-v2-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf rostlabs/rost-1b-instruct-v2-GGUF:Q4_K_M
Use Docker
docker model run hf.co/rostlabs/rost-1b-instruct-v2-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use rostlabs/rost-1b-instruct-v2-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-v2-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-v2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/rostlabs/rost-1b-instruct-v2-GGUF:Q4_K_M
- Ollama
How to use rostlabs/rost-1b-instruct-v2-GGUF with Ollama:
ollama run hf.co/rostlabs/rost-1b-instruct-v2-GGUF:Q4_K_M
- Unsloth Studio
How to use rostlabs/rost-1b-instruct-v2-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-v2-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-v2-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-v2-GGUF to start chatting
- Docker Model Runner
How to use rostlabs/rost-1b-instruct-v2-GGUF with Docker Model Runner:
docker model run hf.co/rostlabs/rost-1b-instruct-v2-GGUF:Q4_K_M
- Lemonade
How to use rostlabs/rost-1b-instruct-v2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull rostlabs/rost-1b-instruct-v2-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.rost-1b-instruct-v2-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
rost-1b-instruct-v2-GGUF
llama.cpp quantisations of
rostlabs/rost-1b-instruct-v2,
converted from revision 53597eef9d83dd2433d26fb737bf18dc648a06d4. The weights
in that revision are byte-identical to d833f89f, the revision every published
benchmark number was measured from.
| file | size | notes |
|---|---|---|
rost-1b-instruct-v2-BF16.gguf |
2.58 GiB | the precision the model was trained in |
rost-1b-instruct-v2-Q8_0.gguf |
1.37 GiB | |
rost-1b-instruct-v2-Q6_K.gguf |
1.06 GiB | |
rost-1b-instruct-v2-Q4_K_M.gguf |
791 MiB | smallest |
You need a llama.cpp that knows this architecture
llama.cpp compiles architectures in rather than loading them dynamically, so
stock builds will not read these files. A fork with the one commit applied is at
rostlabs/llama.cpp, whose master is
upstream master plus model: add rost.
git clone -b master https://github.com/rostlabs/llama.cpp && cd llama.cpp
cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j
./build/bin/llama-server --model rost-1b-instruct-v2-BF16.gguf --ctx-size 4096
Ollama and LM Studio will not work. Both bundle their own llama.cpp, so neither reads these files until the architecture is merged upstream.
How faithful is the conversion
The conversion is not a repacking. It absorbs the checkpoint's transposed rotary convention into the sign of the q and k projections and turns a weightless QK norm into ordinary norm weights, so the GGUF is an equivalent model built differently โ and equivalence is a claim worth checking rather than assuming.
Checked against the greedy generations recorded by the release's repetition protocol, six prompts, temperature 0:
- Five of six reproduce character-for-character, including a 1,269-character essay and a 493-character English answer.
- One diverges, after 768 identical characters, on the
seasonsprompt: the recorded output readsIarna (septembrie-noiembrie)and the GGUF readsIarna (septembrie-30 noiembrie).
That prompt is the model's known degenerate case โ it is the one prompt v2 loops on under every decoding setting tested, documented on the base model's card. Deep inside a low-confidence repetitive region, an argmax can flip on floating-point accumulation-order differences between two implementations. So the honest statement is near-exact agreement, not bitwise equivalence: over roughly two thousand characters of other output there is no difference at all, and the single difference appears where the model is least certain.
If you need guaranteed parity with the published benchmark numbers, use the safetensors model rather than a GGUF.
Decoding
The source repository deliberately prescribes no sampling parameters โ no tested configuration passed its preregistered gate of zero looping and zero token-cap endings across six repetition-stress prompts. These files inherit that: they carry the tokenizer, both stop tokens and the chat template, and no sampling defaults. Choose your own, and see the base model's card for what was measured.
Licence
CC-BY-NC-4.0, inherited from the base model's training data.
- Downloads last month
- 52
4-bit
6-bit
8-bit
16-bit