Instructions to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1") model = AutoModelForImageTextToText.from_pretrained("WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1", filename="gguf/LFM2.5-VL-450M-stage1-Q8_0.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0 # Run inference directly in the terminal: llama-cli -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0 # Run inference directly in the terminal: llama-cli -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
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 WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
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 WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
Use Docker
docker model run hf.co/WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
- LM Studio
- Jan
- vLLM
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
- SGLang
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with Ollama:
ollama run hf.co/WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
- Unsloth Studio new
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 to start chatting
- Pi new
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
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 WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
Run Hermes
hermes
- Docker Model Runner
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with Docker Model Runner:
docker model run hf.co/WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
- Lemonade
How to use WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1:Q8_0
Run and chat with the model
lemonade run user.SatDiff-LFM2.5-VL-450M-stage1-Q8_0
List all available models
lemonade list
SatDiff-LFM2.5-VL-450M-stage1
A LoRA fine-tune of LiquidAI/LFM2.5-VL-450M trained to emit per-claim, contract-framed evidence on Sentinel-2 imagery of regulated dams and tailings storage facilities. Built for the SatDiff submission to the Liquid AI "AI in Space" hackathon (Liquid Track, 2026).
This is the evidence-text writer component of the SatDiff pipeline. It does not perform threshold-based severity classification on its own — that work is done deterministically by a Python rules engine downstream of the model. See Stage 2 (negative result) below for the methodological reasoning.
What it does
Given (a) Sentinel-2 imagery (RGB + NIR composites for baseline + current pass) and (b) a contract memo prompt that lists per-claim evidence-sourcing rules, this model produces a structured per-claim evidence string for a 5-claim audit schema covering:
- Impoundment morphology (deposition asymmetry, footprint change)
- Pond management (pond-to-wall distance, area change, turbidity, NDWI)
- Retaining-wall integrity (gully count + width, NDMI on the wall face, SWIR anomaly)
- Deformation (declares "no SAR data available" when SAR is absent)
- Protected-zone encroachment (towns, residential extensions)
Headline result (held-out evaluation)
The base LFM2.5-VL-450M parrots the same three indices into every claim's evidence regardless of which physical signal the claim is about. Stage 1 fine-tuning — without any SatDiff-specific examples — teaches the model to read the per-claim sourcing rules from the prompt and cite the right diff fields.
| metric (held-out backtest passes, 6 dates × 5 claims = 30 claims) | base | Stage 1 |
|---|---|---|
| schema-valid passes | 6/6 | 6/6 |
| evidence-correct claims | 0/30 (0 %) | 30/30 (100 %) |
The lift comes from generic VRSBench grounding, not from domain-specific examples.
Training
- Framework:
Liquid4All/leap-finetune(Ray Train + Accelerate, managed viauv). Not rawtransformers + peft. - Base model:
LiquidAI/LFM2.5-VL-450M. - Dataset: VRSBench (NeurIPS 2024) — 5 000 captioning + VQA samples (no
[refer]grounding tasks). - Method: LoRA SFT, rank as configured in the recipe, 2 epochs.
- Hardware: single RTX 4080 Laptop, 12 GB VRAM, WSL2 + CUDA 12.6.
- Wall-clock: 38 m 15 s.
- Eval loss: base ~3.21 → Stage 1 1.41 (−56 %).
Stage 2 (negative result, not shipped)
A second-stage fine-tune was attempted using 29 hand-authored examples (boundary, escalation, routine, catastrophic regimes) plus 17 auto-generated examples from the SatDiff Phase 2 backtest, split 35 train / 11 held-out before training. Stage 2 preserved Stage 1's 100 % evidence-correctness but worsened severity adherence on real held-out data (5 → 9 corrections by the downstream rules engine).
Diagnosis: the hand-authored cases used contrived metric values around the threshold cliffs (e.g. pond-to-wall = 24 m vs 26 m); the held-out real-data passes lived in a different distribution (pond-to-wall ≈ 9.9 m throughout the failure window). LoRA at this scale (35 examples × 3 epochs ≈ 31 effective steps) cannot reshape multi-tier threshold reasoning.
We ship Stage 1, not Stage 2. The Stage 2 checkpoint is intentionally not uploaded — it would confuse the model-card story.
This is the strongest possible validation of the SatDiff rules-engine architecture: severity, action, escalation, and overall-status are computed deterministically by phase2.aggregate.compute_severity from physical-diff numbers, regardless of what the model emits. Stage 2 attempting and failing to lift the model's threshold reasoning confirms that this work belongs in deterministic Python at our scale.
Files in this repo
- fp16 transformers checkpoint (
model.safetensors+config.json+tokenizer.json+chat_template.jinja+ …) — load viatransformers.AutoModelForImageTextToText. - GGUF pair (
gguf/LFM2.5-VL-450M-stage1-Q8_0.gguf+gguf/mmproj-LFM2.5-VL-450M-stage1-Q8_0.gguf) — load viallama.cpp/llama-server. 362 MB Q8_0 backbone + 182 MB F16 mmproj = 544 MB total.
Reproducing the headline result
# 1. Pull the SatDiff repo + Stage 1 GGUF, bring up the stack:
git clone <satdiff-repo>
cd satdiff
docker compose up -d
# 2. Run the Phase 2 backtest against the Stage 1 model:
python -m phase2.cli --asset jagersfontein \
--date-range 2021-06-15,2022-10-15 \
--inference llama_server \
--model WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1-Q8_0
# 3. Render the per-pass PDF audit reports:
python -m phase3 --asset jagersfontein --date-range 2021-06-15,2022-10-15
End-to-end latency on RTX 4080 Laptop (sm_89, CUDA 12.6) using the GGUF + llama-server path: 2.38 s/pass — 4.7× over the bf16 transformers path with no schema or evidence-quality regression.
Intended use
This model is the evidence-text writer for the SatDiff TSF/dam compliance pipeline. It is not a general-purpose VLM and is not a severity classifier on its own. Use it as part of the rules-engine pipeline described above.
Limitations
- Trained on a small VRSBench slice; performance outside the SatDiff contract prompt's sourcing rules is unknown.
- Held-out evaluation was on 6 Jagersfontein passes; transfer to other TSF/dam assets is plausible (the lift comes from generic EO grounding) but unmeasured.
- Severity grading is performed by a downstream Python rules engine, not by this model. Do not delegate threshold reasoning to the fine-tuned weights at this scale.
- Cloud-cover gating is upstream; the model is not robust to severe cloud occlusion.
License
This work is released under the LFM Open License v1.0, inherited from the base model LiquidAI/LFM2.5-VL-450M. See the upstream license at https://huggingface.co/LiquidAI/LFM2.5-VL-450M/blob/main/LICENSE.
Citation
@misc{satdiff2026,
title={SatDiff: A Satellite-Readable Compliance Contract for Tailings and Dam Monitoring},
author={Scholz, Peter},
year={2026},
howpublished={Liquid AI "AI in Space" Hackathon submission, Liquid Track},
note={Fine-tune of LiquidAI/LFM2.5-VL-450M on VRSBench. Stage 1 evidence-correctness 0/30 → 30/30 on held-out tailings-dam passes. See https://huggingface.co/WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1.}
}
Acknowledgements
- Liquid AI for the LFM2.5-VL-450M base model and the
leap-finetuneframework. - DPhi for the SimSat API and the hackathon platform.
- Torres-Cruz & O'Donovan (2023) for the Scientific Reports reconstruction of the Jagersfontein failure that anchored this submission's validation.
- Downloads last month
- 108
Model tree for WobblyDopamine/SatDiff-LFM2.5-VL-450M-stage1
Base model
LiquidAI/LFM2.5-350M-Base