How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf esc511/trip-optimizer-mutator
# Run inference directly in the terminal:
llama-cli -hf esc511/trip-optimizer-mutator
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf esc511/trip-optimizer-mutator
# Run inference directly in the terminal:
llama-cli -hf esc511/trip-optimizer-mutator
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 esc511/trip-optimizer-mutator
# Run inference directly in the terminal:
./llama-cli -hf esc511/trip-optimizer-mutator
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 esc511/trip-optimizer-mutator
# Run inference directly in the terminal:
./build/bin/llama-cli -hf esc511/trip-optimizer-mutator
Use Docker
docker model run hf.co/esc511/trip-optimizer-mutator
Quick Links

trip-optimizer-mutator

MLX LoRA adapter for Qwen3-4B-Instruct-2507 that generates targeted, structured itinerary mutations for trip-optimizer.

Task

Given a trip profile, current plan, optimization goal, and constraints, the model outputs a scoped RFC 6902 JSON Patch proposal โ€” one change at a time. trip-optimizer applies the patch deterministically and validates the result.

Input task field: mutate_plan

Supported mutation types: swap_activity, upgrade_meal, reorder_day, simplify_day, time_adjust, clarify

Usage with mlx-lm

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load(
    "Qwen/Qwen3-4B-Instruct-2507",
    adapter_path="esc511/trip-optimizer-mutator",
)

Usage with trip-optimizer

# After installing trip-optimizer
trip-optimizer setup   # pulls via Ollama

Training details

  • Base model: Qwen/Qwen3-4B-Instruct-2507
  • Method: MLX LoRA (r=8, alpha=20, dropout=0)
  • Layers: 32
  • Training iters: 600
  • Max sequence length: 8192
  • Hardware: Apple M5 Max 128 GB
  • Checkpoint: v2 (trip-mutator-4b-v0-mlx-r8-v2)

Input / Output schema

Full schemas at:

Downloads last month
139
MLX
Hardware compatibility
Log In to add your hardware

Quantized

GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for esc511/trip-optimizer-mutator

Adapter
(5496)
this model