{"slug": "show-hn-laiaric-open-fast-open-weight-text-to-json-model", "title": "Show HN: laiaric-open – Fast, open-weight text-to-JSON model", "summary": "Xeditai released laiaric-open, an Apache-2.0 open-weight 4.3B-parameter text-to-JSON model fine-tuned from numind/NuExtract3 with 4-bit QLoRA over 942 steps across 2 epochs, reaching a final train loss of 0.006272 and 99.97% eval token accuracy. On a frozen 300-document, 6-domain S2 benchmark, laiaric-open-Q8_0 scored 0.9739 field exact F1 versus 0.9459 for the NuExtract3-Q8_0 base (+2.8%), 0.9639 null recall versus 0.9036 (+6.0%), and a 1.0000 schema valid rate, while generating at 45.97 tokens per second on an NVIDIA RTX 3060. The model is positioned as a System 1 fast parser that returns verbatim-grounded JSON with an evidence span per field and null when a value is absent, shipping in Q8_0 (4.2 GB), Q4_K_M (2.6 GB) and BF16 (7.9 GB) quantizations.", "body_md": "| license | apache-2.0 | \n|---|---|\n| base_model | numind/NuExtract3 | \n| pipeline_tag | text-generation | \n| tags |  | \n| metrics |  | \n| language |  | \n\n| structured-extraction | text-to-json | information-extraction | system-1 | coding | agentic | agents | tool-calling | qwen3_5 | json-schema | gguf | open-weights | \n\n| f1 | accuracy | \n\n| en | \n\n`laiaric-open` is an open-weight 4.3B parameter model. It functions as a **System 1 model for unstructured text to JSON**, similar in design philosophy to Cloudflare's Clairic model.\n\nThe model is trained specifically for **coding and agentic purposes**. It reads raw text with a target JSON schema and outputs strict, calibrated, verbatim-grounded JSON without hallucination.\n\n```\nflowchart TD\n    subgraph \"Agentic System 1 vs System 2 Architecture\"\n        subgraph \"Autonomous Agent / Coding System\"\n            A[\"Agent Reasoning Core\\n(System 2 LLM / Planner)\"]\n            T[\"Unstructured Tool Output\\n• Stack Traces\\n• API Payloads\\n• Code Diffs\\n• GitHub Issues\"]\n        end\n        subgraph \"Fast Perception Layer\"\n            T --> B[\"laiaric-open\\n(System 1 Fast Parser)\"]\n            S[\"Target JSON Schema\\n(Strict Envelope)\"] --> B\n            B --> |\"< 1 sec, 46 tok/s\"| C[\"Validated JSON Output\\n• exact values\\n• verbatim evidence spans\\n• logprob confidence (0.999)\"]\n        end\n        C --> |\"Deterministic Action\"| A\n    end\n```\n\n- The input to `laiaric-open` is**strictly text** .\n- The model accepts a JSON schema and unstructured text in the user prompt.\n- The model uses no image tokens or visual encoders.\n- This design maximizes generation speed and minimizes memory usage.\n\n- Traditional reasoning models (System 2) generate extensive chain-of-thought tokens before they produce structured output.\n- `laiaric-open` operates as a**System 1 reflex** . It converts unstructured text to JSON immediately.\n- The model outputs the structured envelope at **45.97 tokens per second** on consumer hardware (NVIDIA RTX 3060).\n\nThe training dataset focuses on software engineering and autonomous agent operations:\n\n- **SDK Bug Tickets** : Extracting stack traces, error codes, and reproduction steps.\n- **Application Specifications** : Parsing service names, database requirements, and container profiles.\n- **Failure Triage** : Classifying root causes, fault domains, and remediation steps from server logs.\n- **RL Hillclimb Proposals** : Structuring optimization targets, reward weights, and candidate strategies.\n- **Candidate Ensembles** : Generating and formatting multi-candidate configurations for selector evaluation.\n\n- The model copies values directly from the input text.\n- The model does not invent or estimate data.\n- The model outputs an exact text substring as `evidence` for every field.\n- When the text does not contain a value, the model writes `null` .\n\n- **Model Identifier** :`laiaric-open`\n- **Organization** :`xeditai`\n- **Base Architecture** :`Qwen3_5ForConditionalGeneration` (multimodal wrapper base, text-only operational mode)\n- **Base Weights** :`numind/NuExtract3` (4.3B parameters)\n- **Fine-Tuning Method** : 4-bit QLoRA (`r=16, lora_alpha=32, target_modules=all-linear` )\n- **Training Steps** : 942 steps across 2 full epochs (Final train loss:`0.006272` , eval token accuracy:`99.97%` )\n- **Quantizations** :`Q8_0` (4.2 GB),`Q4_K_M` (2.6 GB), and`BF16` (7.9 GB)\n- **License** : Apache-2.0\n\nThe model was evaluated against the frozen S2 benchmark (300 test documents across 6 enterprise domains).\n\n| Metric | Base Model ( `NuExtract3-Q8_0` ) | `laiaric-open-Q8_0` | Delta | Status | \n|---|---|---|---|---|\n| **Field Exact F1** | `0.9459` | **`0.9739`** | **+2.8%** | **PASS** ( | \n| **Schema Valid Rate** | `1.0000` | **`1.0000`** | **100% Exact** | **PASS** ( | \n| **Null Recall** | `0.9036` | **`0.9639`** | **+6.0%** | **PASS** ( | \n| **Null Precision** | `1.0000` | **`1.0000`** | **100% Exact** | **PASS** | \n| **Null F1** | `0.9494` | **`0.9816`** | **+3.2%** | **PASS** | \n| **Evidence Accuracy** | `0.9915` | **`1.0000`** | **100% Verbatim** | **PASS** ( | \n| **Calibration Error (ECE)** | `0.0361` | **`0.0224`** | **-37.9% Error** | **PASS** ( | \n| **Throughput (RTX 3060)** | `40.36 tok/s` | **`45.97 tok/s`** | **+13.9% Faster** | **PASS** ( | \n\n```\nDomain Field F1:\n  Software App Specifications:    [████████████████████] 1.0000\n  System Failure Triage:          [███████████████████░] 0.9857 (+10.4%)\n  Agent Candidate Configurations: [███████████████████░] 0.9750\n  RL Hillclimb Proposals:         [████████████████████] 1.0000\n  SDK Bug Tickets:                [██████████████████░░] 0.9050 (+11.1%)\n  General Unseen Schemas:         [███████████████████░] 0.9778\n```\n\nUse the code below to run `laiaric-open` with PyTorch:\n\n``` python\nimport json\nimport torch\nfrom transformers import AutoModelForImageTextToText, AutoTokenizer\n\nmodel_id = \"xeditai/laiaric-open\"\n\ntokenizer = AutoTokenizer.from_pretrained(model_id)\nmodel = AutoModelForImageTextToText.from_pretrained(\n    model_id,\n    torch_dtype=torch.bfloat16,\n    device_map=\"auto\"\n)\n\n# Sample: Define schema for agent failure triage\nschema = {\n    \"type\": \"object\",\n    \"properties\": {\n        \"service_name\": {\"type\": \"string\"},\n        \"error_code\": {\"type\": \"integer\"},\n        \"root_cause\": {\"type\": \"string\"},\n        \"remediation_action\": {\"type\": \"string\"},\n        \"retryable\": {\"type\": \"boolean\"},\n        \"unrelated_field\": {\"type\": [\"string\", \"null\"]}\n    },\n    \"required\": [\"service_name\", \"error_code\", \"root_cause\", \"remediation_action\", \"retryable\", \"unrelated_field\"]\n}\n\ntext = (\n    \"Production Incident: Service 'auth-gateway' failed with HTTP status 504. \"\n    \"Root cause was connection pool exhaustion on redis-primary. \"\n    \"Action taken: scaled read-replicas and restarted gateway instances. Failures are retryable.\"\n)\n\nprompt = json.dumps({\"schema\": schema, \"text\": text})\nmessages = [{\"role\": \"user\", \"content\": prompt}]\nchat_prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)\n\ninputs = tokenizer(chat_prompt, return_tensors=\"pt\").to(model.device)\noutputs = model.generate(**inputs, max_new_tokens=1024, temperature=0.0)\nresponse = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)\n\nprint(response)\n```\n\nQuantized GGUF files are available in [`xeditai/laiaric-open-GGUF`](https://huggingface.co/xeditai/laiaric-open-GGUF):\n\n```\n# Start local server on port 8080\nllama-server -m laiaric-open-Q8_0.gguf -ngl 999 -c 8192 --port 8080\n```\n\nCreate a file named `Modelfile`:\n\n```\nFROM ./laiaric-open-Q8_0.gguf\nPARAMETER temperature 0\nPARAMETER stop \"<|im_end|>\"\nTEMPLATE \"\"\"<|im_start|>user\n{{ .Prompt }}<|im_end|>\n<|im_start|>assistant\n\"\"\"\n```\n\nInitialize the model:\n\n```\nollama create laiaric -f Modelfile\nollama run laiaric\n```\n\nThe model was trained exclusively on open-license datasets. All private directories and files from personal `Documents` folders were strictly excluded.\n\n| Dataset ID | License | Function | \n|---|---|---|\n| `durai_s4_option_b_2200` | `Apache-2.0` | Synthetic agent, ticket, and code spec schema pairs | \n| `suneeldk/text-json` | `Apache-2.0` | Text-to-JSON structural extraction pairs | \n| `abr-6024/schema-json-extractor-synthetic` | `Apache-2.0` | Complex nested schema extraction | \n| `epfl-dlab/JSONSchemaBench` | `MIT` | Schema conformance benchmarking |", "url": "https://wpnews.pro/news/show-hn-laiaric-open-fast-open-weight-text-to-json-model", "canonical_source": "https://github.com/raycollabs/laiaric", "published_at": "2026-11-29 06:36:08+00:00", "updated_at": "2026-11-29 07:13:36.224198+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-agents", "ai-tools", "structured-data"], "entities": ["xeditai", "laiaric-open", "numind/NuExtract3", "Qwen3_5ForConditionalGeneration", "Cloudflare", "Clairic", "NVIDIA RTX 3060", "Apache-2.0"], "also_reported_by": [], "takeaway": "laiaric-open, a 4.3B QLoRA fine-tune of NuExtract3, lifts field exact F1 from 0.9459 to 0.9739 and null recall from 0.9036 to 0.9639 on a 300-document benchmark while running at 45.97 tok/s on an RTX 3060.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-laiaric-open-fast-open-weight-text-to-json-model", "markdown": "https://wpnews.pro/news/show-hn-laiaric-open-fast-open-weight-text-to-json-model.md", "text": "https://wpnews.pro/news/show-hn-laiaric-open-fast-open-weight-text-to-json-model.txt", "jsonld": "https://wpnews.pro/news/show-hn-laiaric-open-fast-open-weight-text-to-json-model.jsonld"}}