Instructions to use dwidlee/systemone-lite-0.5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dwidlee/systemone-lite-0.5b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dwidlee/systemone-lite-0.5b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("dwidlee/systemone-lite-0.5b") model = AutoModelForCausalLM.from_pretrained("dwidlee/systemone-lite-0.5b", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dwidlee/systemone-lite-0.5b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dwidlee/systemone-lite-0.5b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dwidlee/systemone-lite-0.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dwidlee/systemone-lite-0.5b
- SGLang
How to use dwidlee/systemone-lite-0.5b 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 "dwidlee/systemone-lite-0.5b" \ --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": "dwidlee/systemone-lite-0.5b", "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 "dwidlee/systemone-lite-0.5b" \ --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": "dwidlee/systemone-lite-0.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use dwidlee/systemone-lite-0.5b with Docker Model Runner:
docker model run hf.co/dwidlee/systemone-lite-0.5b
systemone-lite-0.5b
Fine-tuned weights for systemone-lite:
typed decisions via next-token scoring over option aliases.
Not affiliated with TypeSafe AI or Jev.
| Item | Value |
|---|---|
| Base | Qwen/Qwen2.5-0.5B-Instruct (Apache-2.0) |
| Train data | mixed_train.jsonl — ticket / alloc / debate + chess |
| Mix | 43 200 rows; 10 800 per gym (chess upsampled from 4 500) |
| Chess state | board_2d_map (8×8 ASCII with ranks/files), not FEN-only |
| Recipe | cold start from base; 1 epoch; batch 4; stratified; 10 800 steps |
| Loss | Cross-entropy on the labeled option alias token |
| Local path | checkpoints/systemone-mixed-sft |
Accuracy vs base (option top-1)
Source: repo benchmarks/mixed_vs_base_report.json.
General
| Split | n | Base | This model | Δ |
|---|---|---|---|---|
| iid | 3600 | 0.439 | 0.781 | +0.343 |
| hard | 5400 | 0.427 | 0.733 | +0.307 |
Selected iid: ticket.route 1.000, ticket.urgency 0.965,
ticket.needs_human 0.985, alloc.fund_next 0.975, debate.winner 0.810.
Chess move (2D + shuffled options, n=500)
| Checkpoint | Accuracy |
|---|---|
| Base | 0.050 |
| This model | 0.236 |
Eval uses labeled board_2d_map and shuffled letter aliases. Fixed-order /
FEN-only harnesses previously inflated base scores via option-order bias.
Latency (same 0.5B inference path)
In-process RTX 3060, option scoring vs AR JSON
(benchmarks/latency_vs_ar.json):
| Case | Option p50 (ms) | AR JSON p50 (ms) | AR / option |
|---|---|---|---|
| short_3q | 26.2 | 1057 | 40.3× |
| short_13q | 64.9 | 3482 | 53.7× |
| long_3q | 107.6 | 1137 | 10.6× |
| long_13q | 157.9 | 3613 | 22.9× |
Inference
systemone-lite --model dwidlee/systemone-lite-0.5b --port 8000
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "dwidlee/systemone-lite-0.5b"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
Limits
- Synthetic / engine labels; not human prefs or RLCD.
- Option softmax ≠population calibration (no ECE).
- Chess absolute accuracy on the debiased harness is still modest.
- Multi-token option strings are not first-class (letter aliases in training).
- Downloads last month
- 935