Instructions to use Openwist/Chelone-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Openwist/Chelone-1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Openwist/Chelone-1.0") 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("Openwist/Chelone-1.0") model = AutoModelForCausalLM.from_pretrained("Openwist/Chelone-1.0", 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
- vLLM
How to use Openwist/Chelone-1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Openwist/Chelone-1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Openwist/Chelone-1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Openwist/Chelone-1.0
- SGLang
How to use Openwist/Chelone-1.0 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 "Openwist/Chelone-1.0" \ --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": "Openwist/Chelone-1.0", "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 "Openwist/Chelone-1.0" \ --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": "Openwist/Chelone-1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Openwist/Chelone-1.0 with Docker Model Runner:
docker model run hf.co/Openwist/Chelone-1.0
Chelone 1.0
Chelone 1.0 is a small engineering and advanced maths model from Openwist, fine-tuned from LiquidAI/LFM2.5-1.2B-Instruct with LoRA and merged into one model for on-device use. It is designed to be honest about what it knows, never to pretend to be a human, and never to use emojis.
Model details
| Developer | Openwist |
| Role | engineering and advanced maths |
| Base model | LiquidAI/LFM2.5-1.2B-Instruct |
| Method | LoRA (r=16, alpha=32, fp16), merged into the base weights. The unmerged adapter is in adapter/ |
| Tools | python_exec, calculator, convert_units |
| Language | English (Kenyan context) |
| Licence | See below |
Intended use
Chelone 1.0 is intended for engineering and advanced maths tasks in applications that run small models locally. It should be used with the system prompt below, and with the tools listed above supplied in the format described under How to use.
Out of scope: medical, legal or financial decisions without a qualified professional; safety-critical engineering sign-off; any use where users must be led to believe they are talking to a person.
Behaviour
Canonical system prompt used in training:
You are an AI system built by Openwist. You are not a human and you never claim or imply that you are. If someone sincerely asks whether you are an AI, say yes. You do not use emojis, emoticons or decorative symbols. If you do not know something or are not sure, say so plainly instead of guessing. You do not claim to have done things you cannot do, such as browsing, remembering earlier conversations, or using tools you were not given. Decline requests that would cause serious harm, briefly and politely, and offer a safer alternative when there is one. Be accurate, concise and respectful. You are Chelone, an assistant for engineering and advanced mathematics. You work carefully and never rush: restate the problem, choose a method, compute step by step, and check the result (units, size, substitution). Use the tools you are given for calculations and simulations instead of estimating. If a needed input is missing, ask for it. Report the assumptions and warnings that tool results contain, and state the final answer clearly with units. Your results are early-design estimates, not sign-off. Never help defeat safety protections such as battery protection, interlocks or emergency stops; decline briefly and offer a safe alternative.
How to use
import importlib.util, torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from huggingface_hub import hf_hub_download
repo = "Openwist/Chelone-1.0"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.float16, device_map="auto")
# prompt rendering and tool-call parsing helpers live in this repository
p = hf_hub_download(repo, "openwist_pipeline.py")
spec = importlib.util.spec_from_file_location("openwist_pipeline", p); ow = importlib.util.module_from_spec(spec); spec.loader.exec_module(ow)
prompt = ow.render_for_inference("chelone-1.0", "lfm", [{"role": "user", "content": "Hello"}])
ids = tok(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**ids, max_new_tokens=256, do_sample=False)
text = tok.decode(out[0][ids["input_ids"].shape[1]:], skip_special_tokens=False)
calls, reply, ok = ow.parse_tool_calls(text, "lfm")
Ollama and llama.cpp
A quantised GGUF build is in Openwist/Chelone-1.0-GGUF with a ready-made Modelfile:
ollama create limitai/chelone-1.0 -f Modelfile
ollama run limitai/chelone-1.0
Tool calls come back as text in the format below, so your application needs to parse them (the parse_tool_calls helper above does this).
The adapter uses the base model's native ChatML-style template. Tools are listed in the system turn between <|tool_list_start|> and <|tool_list_end|>, and calls are emitted as <|tool_call_start|>[function(arg=value)]<|tool_call_end|>.
Training data
Training used 7,940 examples, all in English:
- Openwist/Theo (dataset, CC BY 4.0, attribution to Openwist): engineering tool-use records for EV, humanoid-robot and engineering-code tasks, with the original system prompt replaced by this model's own.
- Openwist synthetic data: programmatically generated conversations with checkable answers (arithmetic, units, double-entry totals, spreadsheet-tool simulations, hand-off tickets), plus a shared "Openwist core behaviour" set covering identity honesty, admitting uncertainty, polite refusals and no emojis.
Every assistant turn was filtered with rule-based checks for emojis, human claims and leaked third-party identity. The model's system prompts were rewritten to Openwist's own naming.
Evaluation
Automated, rule-based checks on 120 held-out conversations with unseen wording, comparing this adapter against its own base model with the same prompt and tools:
| Check | Chelone 1.0 | Base model |
|---|---|---|
| Overall behaviour score | 100.0% | 76.9% |
| Clean output (no emoji, no human claim, no identity leak) | 100.0% | 98.3% |
| Admits being an AI when asked | 100.0% | 100.0% |
| Correct tool chosen | 100.0% | 58.2% |
| Valid tool-call arguments | 100.0% | 58.2% |
| No unnecessary tool call | 100.0% | 69.8% |
Emoji count: 0. Human claims: 0. Identity leaks: 0.
These checks measure behaviour and tool-call format. They are not a benchmark of general capability or of Kenya-specific tasks; those are planned separately.
Limitations
- Training data is largely template-based, so wording variety is narrower than real user text. Expect weaker behaviour on unusual phrasings.
- Small models can be confidently wrong. Check important results.
- Outputs are first-pass early-design estimates, not engineering sign-off.
- Not evaluated for languages other than English beyond a handful of Swahili identity examples.
Licence and attribution
This adapter is a derivative of LFM2.5-1.2B-Instruct and is distributed under the LFM Open License v1.0 (free commercial use under USD 10M annual revenue; see the LICENSE and NOTICE files in this repository). You are responsible for complying with that licence, including its revenue threshold, for your own use.
Built by Openwist. Questions: via the Openwist organisation page.
- Downloads last month
- -
Model tree for Openwist/Chelone-1.0
Base model
LiquidAI/LFM2.5-1.2B-Base