Instructions to use GloathLtd/Sloneberg1.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GloathLtd/Sloneberg1.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GloathLtd/Sloneberg1.2") 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("GloathLtd/Sloneberg1.2") model = AutoModelForCausalLM.from_pretrained("GloathLtd/Sloneberg1.2", 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 GloathLtd/Sloneberg1.2 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 GloathLtd/Sloneberg1.2:Q4_K_M # Run inference directly in the terminal: llama cli -hf GloathLtd/Sloneberg1.2:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf GloathLtd/Sloneberg1.2:Q4_K_M # Run inference directly in the terminal: llama cli -hf GloathLtd/Sloneberg1.2:Q4_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 GloathLtd/Sloneberg1.2:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf GloathLtd/Sloneberg1.2:Q4_K_M
Use Docker
docker model run hf.co/GloathLtd/Sloneberg1.2:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use GloathLtd/Sloneberg1.2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GloathLtd/Sloneberg1.2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GloathLtd/Sloneberg1.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/GloathLtd/Sloneberg1.2:Q4_K_M
- SGLang
How to use GloathLtd/Sloneberg1.2 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 "GloathLtd/Sloneberg1.2" \ --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": "GloathLtd/Sloneberg1.2", "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 "GloathLtd/Sloneberg1.2" \ --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": "GloathLtd/Sloneberg1.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use GloathLtd/Sloneberg1.2 with Ollama:
ollama run hf.co/GloathLtd/Sloneberg1.2:Q4_K_M
- Unsloth Desktop
- Pi
How to use GloathLtd/Sloneberg1.2 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf GloathLtd/Sloneberg1.2:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "GloathLtd/Sloneberg1.2:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use GloathLtd/Sloneberg1.2 with Docker Model Runner:
docker model run hf.co/GloathLtd/Sloneberg1.2:Q4_K_M
- Lemonade
How to use GloathLtd/Sloneberg1.2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull GloathLtd/Sloneberg1.2:Q4_K_M
Run and chat with the model
lemonade run user.Sloneberg1.2-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use GloathLtd/Sloneberg1.2 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf GloathLtd/Sloneberg1.2:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default GloathLtd/Sloneberg1.2:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use GloathLtd/Sloneberg1.2 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf GloathLtd/Sloneberg1.2:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "GloathLtd/Sloneberg1.2:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf GloathLtd/Sloneberg1.2:# Run inference directly in the terminal:
llama cli -hf GloathLtd/Sloneberg1.2: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 GloathLtd/Sloneberg1.2:# Run inference directly in the terminal:
./build/bin/llama cli -hf GloathLtd/Sloneberg1.2:Use Docker
docker model run hf.co/GloathLtd/Sloneberg1.2:Sloneberg 1.2
Sloneberg 1.2 is a small chat and coding assistant made in New Zealand by Gloath Limited.
This is a research preview. At 317M parameters it is a small model: it can hold a simple conversation and write short pieces of code, but it often gets facts wrong, loses the thread in longer answers, and shouldn't be relied on for anything that matters.
Sloneberg 1.2 is Gloath's own model: Gloath Limited trained its weights, and they aren't based on any other model. They're published in the widely supported Qwen3-compatible layout, so it runs in transformers, llama.cpp, LM Studio, Ollama and other apps without custom code. Those apps list its architecture as qwen3, the name of that layout.
Try it free in your browser at ai.gloath.com.
Model details
| Developer | Gloath Limited, New Zealand |
| Model type | Causal language model tuned for chat |
| Architecture | Decoder-only transformer, Qwen3-compatible: 24 layers, hidden size 1024, 16 attention heads (8 key-value heads), SwiGLU, RMSNorm, rotary positions, tied embeddings |
| Parameters | 317M |
| Files | 0.63 GB (bfloat16 safetensors) |
| Context length | 16,384 tokens |
| Vocabulary | 32,768 tokens |
| Languages | English, and code in common programming languages |
| Released | November 2026 |
| Licence | Apache License 2.0 (see LICENSE) |
Quick start
With transformers 4.56.0 or newer:
from transformers import AutoModelForCausalLM, AutoTokenizer
name = "GloathLtd/Sloneberg1.2"
tokenizer = AutoTokenizer.from_pretrained(name)
model = AutoModelForCausalLM.from_pretrained(name, dtype="auto")
messages = [{"role": "user", "content": "Kia ora! Who are you?"}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
return_dict=True)
output = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The recommended settings (temperature 0.7, top-p 0.9, top-k 50, repetition penalty 1.1) are in generation_config.json, so generate uses them by default.
GGUF files, for LM Studio, Ollama and llama.cpp
| File | Precision | Size |
|---|---|---|
Sloneberg-1.2-Q8_0.gguf |
8-bit (Q8_0), recommended | 0.34 GB |
Sloneberg-1.2-Q4_K_M.gguf |
Q4_K_M | 0.20 GB |
Sloneberg-1.2-F16.gguf |
16-bit (F16), full quality | 0.63 GB |
Q8_0 is nearly identical to F16 at half the size.
LM Studio: search for GloathLtd/Sloneberg1.2 in the Discover tab and download Sloneberg-1.2-Q8_0.gguf.
Ollama: ollama run hf.co/GloathLtd/Sloneberg1.2:Q8_0
Or download the files and, in their folder, run ollama create sloneberg1.2 -f Modelfile, then ollama run sloneberg1.2.
llama.cpp: llama-cli -hf GloathLtd/Sloneberg1.2:Q8_0
Recommended settings: temperature 0.7, top-p 0.9, top-k 50, repetition penalty 1.1 (already set for Ollama).
Chat format
Sloneberg 1.2 uses its own chat format, which is built into the tokenizer's chat template and the GGUF files, so chat apps apply it for you:
<|endoftext|><|system|>You are a helpful assistant.<|end|><|user|>Kia ora!<|end|><|assistant|>
Each message is its role marker, its text and <|end|>, with no spaces or newlines in between. The model ends its reply with <|end|>.
Intended use and limitations
- Good for: trying out a small assistant, learning, research, fine-tuning experiments, and running entirely on your own computer.
- Not for: medical, legal, financial or safety advice, or anything where a mistake matters.
- It can produce wrong, biased or offensive text. Check its answers, and test any code before using it.
- English only: other languages will be poor.
Third-party material
The NOTICE file credits material used under licences that ask for attribution.
Licence
Sloneberg 1.2 is released under the Apache License 2.0: you may use, modify and share it, including commercially, as long as you include the licence and the NOTICE file. It gives no rights to the names and trade marks of Gloath Limited, such as Gloath and GloathAI.
Contact
Citation
@misc{sloneberg1.2,
title = {Sloneberg 1.2},
author = {{Gloath Limited}},
year = {2026},
url = {https://huggingface.co/GloathLtd/Sloneberg1.2}
}
- Downloads last month
- 130
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf GloathLtd/Sloneberg1.2:# Run inference directly in the terminal: llama cli -hf GloathLtd/Sloneberg1.2: