Instructions to use chienhsinlin/helioslm-toy 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 chienhsinlin/helioslm-toy 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 chienhsinlin/helioslm-toy:F16 # Run inference directly in the terminal: llama cli -hf chienhsinlin/helioslm-toy:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf chienhsinlin/helioslm-toy:F16 # Run inference directly in the terminal: llama cli -hf chienhsinlin/helioslm-toy:F16
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 chienhsinlin/helioslm-toy:F16 # Run inference directly in the terminal: ./llama-cli -hf chienhsinlin/helioslm-toy:F16
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 chienhsinlin/helioslm-toy:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf chienhsinlin/helioslm-toy:F16
Use Docker
docker model run hf.co/chienhsinlin/helioslm-toy:F16
- LM Studio
- Jan
- Ollama
How to use chienhsinlin/helioslm-toy with Ollama:
ollama run hf.co/chienhsinlin/helioslm-toy:F16
- Unsloth Desktop
- Docker Model Runner
How to use chienhsinlin/helioslm-toy with Docker Model Runner:
docker model run hf.co/chienhsinlin/helioslm-toy:F16
- Lemonade
How to use chienhsinlin/helioslm-toy with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull chienhsinlin/helioslm-toy:F16
Run and chat with the model
lemonade run user.helioslm-toy-F16
List all available models
lemonade list
- Atomic Chat
HeliosLM toy_v5.13
Char-level toy checkpoint for HeliosLM โ a from-scratch DeepSeek-V3/K3-style LLM stack in pure PyTorch (runs on CPU).
Files
| File | Description |
|---|---|
toy_v5.13.pt |
PyTorch state_dict (83 tensors, fp32) |
model-f32.gguf |
GGUF v3 export, bit-exact fp32 |
model-f16.gguf |
GGUF v3 export, fp16 (load-balancing counters excluded โ they overflow f16) |
toy_v5.13.json |
Training metadata (val_loss, samples, MTP acceptance) |
Model
- 8.5M params, char-level vocabulary (token ids =
ord(c), vocab 1024) - Trained in ~10 CPU-minutes on the HeliosLM repo's own source code
val_loss2.41; MTP draft acceptance 1.0 on the training distribution- Architecture (lite config): 2 layers, MLA attention with weight absorption, sigmoid-gated MoE with auxiliary-loss-free load balancing, MTP head
- This is a smoke-test-scale reference model, not a capable text model
Usage
import torch
from helioslm_v5.configs.config_v5 import HeliosLMv5Config
from helioslm_v5.src.model_v5 import HeliosLMv5
ckpt = torch.load("toy_v5.13.pt", map_location="cpu", weights_only=False)
model = HeliosLMv5(HeliosLMv5Config(size="lite"))
model.load_state_dict(ckpt["state_dict"])
model.eval()
out = model.generate(torch.tensor([[ord(c) for c in "# HeliosLM"]]),
max_new_tokens=20, temperature=0)
print("".join(chr(t) for t in out[0]))
GGUF exports carry the full helioslm.* hyperparameter metadata
(read_gguf in helioslm_v5/src/export/gguf.py reads them back).
License
Apache-2.0 (same as the source repo).
- Downloads last month
- 24
Hardware compatibility
Log In to add your hardware
16-bit
32-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support