Instructions to use DDDDD-433/space-pirate-lm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use DDDDD-433/space-pirate-lm with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("DDDDD-433/space-pirate-lm") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use DDDDD-433/space-pirate-lm with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "DDDDD-433/space-pirate-lm" --prompt "Once upon a time"
Space Pirate LM β 2.0M
Captain Orra Quill is an original space-pirate character model trained from scratch on an M1 Pro. It has 1,995,200 parameters and a 128-token context window.
This repository contains the selected MLX checkpoint from character-training step 375, plus its matching tokenizer, config, checkpoint metadata, and fixed evaluation prompts.
Files
- checkpoint.npz β MLX weights
- checkpoint.json β model geometry and checkpoint integrity metadata
- tokenizer.json β 2,304-token byte-level BPE
- config.json β inference/training geometry
- evaluation.jsonl β fixed local behavior prompts
Usage
These are custom MLX weights, not a Transformers or GGUF model. Use the runner from DDDD-433/space-pirate-lm:
git clone https://github.com/DDDD-433/space-pirate-lm
cd space-pirate-lm
uv sync --python 3.12
# Download the five files from this Hub repo into ./model/
uv run pogo-generate \
--config model/config.json \
--tokenizer model/tokenizer.json \
--checkpoint model/checkpoint.npz \
--prompt '<|bos|> <|user|> Captain, the shuttle engine is coughing blue sparks. What is our next move? <|assistant|>' \
--temperature 0 --top-k 1
Training and limitations
The base stage ran for 3,000 steps on TinyStories and original Captain Orra dialogue. The selected checkpoint cleared 5/6 stricter fixed checks; a paraphrased map-reading prompt is its known weak point.
This is a small character demo, not a broadly reliable assistant. Captain Orra and the Starling are original characters. The base corpus includes TinyStories under CDLA-Sharing-1.0; review upstream terms before redistributing the weights.
- Downloads last month
- 219