trip-optimizer-judge

MLX LoRA adapter for Qwen3-4B-Instruct-2507 that assesses violation candidates in travel itinerary proposals for trip-optimizer.

Task

Given a trip profile, a proposed itinerary change, and deterministically computed violation candidates, the model assesses each candidate as valid, invalid, or uncertain, with severity (none/minor/major/critical) and fixability (none_needed/simple_revision/major_rewrite/terminal). It also outputs any additional violations it detects independently. The final accept/reject/revise decision is derived programmatically by trip-optimizer from these assessments.

Input task field: assess_violations

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-judge",
)

Usage with trip-optimizer

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

Or point directly at this adapter by running mlx-lm with it and configuring the endpoint in ~/.trip-optimizer/config.json.

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: 4096
  • Hardware: Apple M5 Max 128 GB
  • Checkpoint: v8 (trip-judge-v1-mlx-r8-v8)

Input / Output schema

Full schemas at:

Downloads last month
9
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-judge

Adapter
(5632)
this model