Instructions to use Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX 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("Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX") 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 Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX"
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": "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX 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 "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX"
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 Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX"
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 "Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX" \ --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"
Pomona Water/Irrigation Risk Reasoner v0.1.8 MLX
This repository contains the accepted 8-bit MLX deployment build of Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-lora for Apple Silicon.
This is a deployment conversion, not a separately trained model. The LoRA repository remains the canonical training artifact.
Intended Use
The model performs narrow, structured moisture and irrigation-risk triage. It returns JSON containing risk labels, missing and suspect sensor fields, safe manual checks, blocked action classes, a human-review flag, and rationale.
Local Evaluation
The 8-bit MLX build passed the frozen independent 168-case deployment holdout.
| Metric | Result |
|---|---|
| Valid JSON | 1.0000 |
| Required fields present | 1.0000 |
| Allowed labels | 1.0000 |
| Allowed blocked actions | 1.0000 |
| Label F1 | 1.0000 |
| Blocked-action F1 | 1.0000 |
| Human-review match | 1.0000 |
| Evaluation time | 80.47 seconds |
The separately tested 4-bit MLX conversion was rejected because label F1 fell to 0.7262 and human-review match to 0.5536. That rejected build is not included in this repository.
The holdout is synthetic/rule-derived and verifies the task contract. It is not field validation or evidence for autonomous irrigation control.
Run on Apple Silicon
python3 -m venv .venv
source .venv/bin/activate
pip install mlx-lm
mlx_lm.server \
--model Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX \
--port 8083
The local MLX server exposes an OpenAI-compatible chat endpoint. It is a development server and is not recommended as a hardened public service.
For the exact structured prompt, output validator, and guarded API integration, see the Pomona repository.
Safety
This model is advisory only.
- Never connect it directly to pumps, valves, dosing equipment, or schedules.
- Validate every response against the allowed schema and labels.
- Require human review for non-empty risk labels.
- Keep deterministic checks and the Pomona safety checker as final authority.
- Verify thresholds, units, and sensor quality for the local farm.
Lineage
Qwen/Qwen2.5-0.5B-Instruct
-> Pomona Water/Irrigation Risk Reasoner v0.1.8 LoRA
-> merged model
-> this accepted 8-bit MLX deployment build
Related artifacts:
Limitations
- Narrow schema-bound classifier, not a general agricultural assistant.
- Evaluation data is compact and rule-derived.
- No field-trial, causal, yield, or equipment-safety validation is claimed.
- Runtime and prompt changes can alter behavior and require reevaluation.
License
Apache-2.0. See LICENSE.
- Downloads last month
- 12
8-bit
Model tree for Okyanus/pomona-water-irrigation-risk-reasoner-v0.1.8-MLX
Base model
Qwen/Qwen2.5-0.5B