LLMON: An LLM-Native Markup Language, now in Granite 4.1 3B and 8B
Hugging Face has released experimental LLMON preview versions of Granite 4.1 in 3B and 8B sizes, along with a toolkit and examples. The company says the markup format improves resistance to static indirect prompt injections on tested benchmarks while maintaining performance comparable to Granite 4.1 Instruct models.
AI-generated summary based on the headline and feed excerpt.
Hugging Face reports that it has released two experimental preview models, granite-4.1-3b-LLMON-preview and granite-4.1-8b-LLMON-preview, based on Granite 4.1. The models are trained to consume and generate LLMON, a markup format that labels context components and uses reserved special tokens to distinguish structural boundaries from content. A companion GitHub repository provides tools, workflow examples and templates, including conversion between JSON and LLMON.
LLMON is designed to clarify how instructions, data and constraints relate within a model’s context. On the OPI benchmark, which tests static indirect prompt injections in data for classic language tasks, Hugging Face says the previews avoided 47% more attacks than the strongest tested frontier model and 95% more than the strongest tested open-source model. The company reports similar trends on ASB and StruQ, while standard benchmark results were comparable to Granite 4.1 Instruct. It says work on adaptive attacks across multiple turns is ongoing.
Why it matters: Explicitly marking context structure offers one approach to improving SI reliability and resistance to prompt injection.
Written by SINN with AI assistance from Hugging Face Blog's reporting.
Originally reported by Hugging Face Blog
Read the full story at Hugging Face Blog