Instructions to use nnnnnzo/titan-titanic-oracle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use nnnnnzo/titan-titanic-oracle with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("nnnnnzo/titan-titanic-oracle") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use nnnnnzo/titan-titanic-oracle with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "nnnnnzo/titan-titanic-oracle"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "nnnnnzo/titan-titanic-oracle" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use nnnnnzo/titan-titanic-oracle with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "nnnnnzo/titan-titanic-oracle"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "nnnnnzo/titan-titanic-oracle" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nnnnnzo/titan-titanic-oracle", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use nnnnnzo/titan-titanic-oracle with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "nnnnnzo/titan-titanic-oracle"
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:8080/v1 hermes config set model.default nnnnnzo/titan-titanic-oracle
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use nnnnnzo/titan-titanic-oracle with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "nnnnnzo/titan-titanic-oracle"
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:8080/v1 \ --custom-model-id "nnnnnzo/titan-titanic-oracle" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
TITAN — Titanic Oracle
A fine-tuned Qwen2.5-7B-Instruct-4bit model that knows the Kaggle Titanic dataset inside-out. Trained on Apple MLX via LoRA on a Mac Mini M4.
Ask it about survival rates, passenger demographics, famous passengers, Kaggle feature engineering tips, survival predictions with chain-of-thought reasoning, or the history of the disaster.
Usage
from mlx_lm import load, stream_generate
from mlx_lm.sample_utils import make_sampler, make_logits_processors
model, tokenizer = load("nnnnnzo/titan-titanic-oracle")
messages = [
{"role": "system", "content": "You are Titan — a dramatic, enthusiastic expert on the RMS Titanic disaster."},
{"role": "user", "content": "Predict survival: female, age 28, first class."}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
sampler = make_sampler(temp=0.7, top_p=0.9)
logits_processors = make_logits_processors(repetition_penalty=1.1)
for response in stream_generate(model, tokenizer, prompt=prompt, max_tokens=512,
sampler=sampler, logits_processors=logits_processors):
print(response.text, end="", flush=True)
Example Questions
- Who was Molly Brown?
- What was the survival rate by passenger class?
- Predict survival: male, age 35, third class.
- How should I handle missing Age values in Kaggle?
- When and where did the Titanic sink?
- What is the SibSp column?
Training
| Metric | Value |
|---|---|
| Base model | Qwen2.5-7B-Instruct-4bit |
| Fine-tuning method | LoRA |
| LoRA rank | 8 |
| Layers fine-tuned | 8 (top layers) |
| Training iterations | 600 |
| Train loss (start → end) | 4.19 → 0.56 |
| Best validation loss | 1.095 |
| Peak memory usage | ~5.5 GB |
| Hardware | Mac Mini M4 · 16 GB |
Dataset
Fine-tuned on the Kaggle Titanic dataset (train.csv, 891 passengers).
~190 Q&A examples across 8 categories: survival statistics, feature relationships, famous passengers, survival predictions, Kaggle tips, historical context, multi-turn conversations, and column definitions.
Source
Code and full training pipeline: gitlab.com/K5nzo/titan
- Downloads last month
- 38
4-bit