---
title: "LLMON: An LLM-Native Markup Language, now in Granite 4.1 3B and 8B"
description: "LLMON (LLM Object Notation) is an XML-like markup whose structural delimiters are reserved special tokens."
url: "https://swe.quest/articles/llmon-an-llm-native-markup-language-now-in-granite-4-1-3b-and-8b-15ec5b2310826586"
canonical: "https://huggingface.co/blog/ibm-granite/llmon-an-llm-native-markup-language-now-in-granite"
source: "Hugging Face"
published: "2026-11-12"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 9
tags: ["llms","ai-safety","model-training","appsec"]
---

# LLMON: An LLM-Native Markup Language, now in Granite 4.1 3B and 8B

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-11-12, 9 min read, Announcement. Original: [https://huggingface.co/blog/ibm-granite/llmon-an-llm-native-markup-language-now-in-granite](https://huggingface.co/blog/ibm-granite/llmon-an-llm-native-markup-language-now-in-granite)

## Summary

LLMON (LLM Object Notation) is an XML-like markup whose structural delimiters are reserved special tokens. Prompt components such as instructions, data and requirements become addressable blocks with two-token IDs, and an exec block binds which instruction runs on which data. IBM released Granite 4.1 3B and 8B preview models post-trained on a corpus re-serialized into LLMON, with decoy unbound blocks, five GRPO stages and a DPO stage on injection attempts. They nearly eliminate indirect prompt injection on the OPI, ASB and StruQ benchmarks while matching Granite 4.1 Instruct on general capability. The previews ship with a chat template, lossless JSON converters, and LoRA support for custom tag vocabularies, demonstrated on ScienceWorld.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI safety](https://swe.quest/tags/ai-safety.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Application security](https://swe.quest/tags/appsec.md) (Security)

## Prerequisites

- LLM chat templates ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- tokenization basics
- prompt injection ([easy posts on Application security](https://swe.quest/tags/appsec.md?difficulty=easy))

## Keywords

LLMON, Granite 4.1, Mellea, GRPO, DPO, OPI benchmark, ScienceWorld, LoRA

## Related posts

- [Identifying Interactions at Scale for LLMs](https://swe.quest/articles/identifying-interactions-at-scale-for-llms-3793e2abaeb5d127.md): Berkeley AI Research · 2026-03-13 · Hard · 7 min read · AI safety, LLMs, Machine learning, Algorithms
  SPEX and ProxySPEX identify influential interactions in LLMs and other ML models by treating ablation-based attribution as a sparse recovery problem, using signal processing and coding theory to scale interaction discovery from dozens to thousands of components.
- [Welcoming Llama Guard 4 on Hugging Face Hub](https://swe.quest/articles/welcoming-llama-guard-4-on-hugging-face-hub-b5b2c79d602c7f1b.md): Hugging Face · 2025-04-29 · Medium · 6 min read · AI safety, LLMs, Inference & serving
  Llama Guard 4 is a 12B dense multimodal safety classifier pruned from Llama 4 Scout by dropping all routed MoE experts and keeping only the shared expert, then post-trained on 3:1 text-to-multimodal data.
- [Securing multimodal AI with NeMo Guardrails and vision models](https://swe.quest/articles/securing-multimodal-ai-with-nemo-guardrails-and-vision-models-28085dc29e2b5fad.md): Red Hat Developer · 2026-11-25 · Medium · 16 min read · AI safety, LLMs, Application security, Privacy
  Text-only guardrails can't see PII or prompt injections embedded in images, so using a vision model as a NeMo Guardrails input judge closes that gap: separate PII and prompt-injection judges each screen the image against their own policy prompt and block unsafe requests before the main model runs.
- [CyberSecEval 2 - A Comprehensive Evaluation Framework for Cybersecurity Risks and Capabilities of Large Language Models](https://swe.quest/articles/cyberseceval-2-a-comprehensive-evaluation-framework-for-cybersecurity-risks-and-b77206af9c9d754e.md): Hugging Face · 2024-05-24 · Easy · 5 min read · Evaluation, AI safety, LLMs, Application security
  CyberSecEval 2 is Meta's open-source benchmark suite measuring LLM cybersecurity risks across five areas: insecure code generation (mapped to CWE), prompt injection susceptibility, compliance with cyber-attack requests versus false refusals of benign prompts, code interpreter abuse, and automated CTF-style exploitation.
- [Nemotron 3.5 Content Safety: Customizable Multimodal Safety for Global Enterprise AI](https://swe.quest/articles/nemotron-3-5-content-safety-customizable-multimodal-safety-for-global-9ddbaf1d8503c5c0.md): Hugging Face · 2026-06-04 · Easy · 10 min read · AI safety, LLMs, Model training, Evaluation
  Nemotron 3.5 Content Safety is a 4B-parameter guard model, a LoRA fine-tune of Gemma 3 4B IT, that classifies a user prompt, an optional image and an optional assistant response together in one pass.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
