Granite-4.1-8B-LLMON-preview
Model Summary:
Granite-4.1-8B-LLMON-preview is an 8B-parameter instruct model fine-tuned from Granite-4.1-8B-base to consume prompts in LLMON (LLM Object Notation) instead of a conventional chat template.
LLMON wraps every part of a prompt (system policy, instructions, data, documents, tool definitions, and tool results) in an individually addressable block and adds an exec block that names which instruction to run, which inputs it operates on, and where the output goes.
Supported Languages:
English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may fine-tune the model for languages beyond these.
Intended use:
The model is designed to follow general instructions and can serve as the foundation for AI assistants across diverse domains, including business applications, as well as for LLM agents equipped with tool-use capabilities.
It is particularly suited to settings where a prompt mixes trusted instructions with untrusted material (retrieved documents, pasted content, or tool results) and the boundary between the two must be explicit.
Capabilities
- Summarization
- Text classification
- Text extraction
- Question-answering
- Retrieval Augmented Generation (RAG)
- Code-related tasks
- Function-calling tasks
- Multilingual dialog use cases
Prompt format
This model does not use a conventional chat template. It ships a chat_template.jinja that renders messages into LLMON, so in normal use you call apply_chat_template and never write the markup by hand.
A block is <|open|>TAG<|close|> ... <|open_end|>. Six delimiters are reserved, each a single token:
IDs are two characters from a fixed single-token set, assigned at render time and unique within a document.
Inside exec, the pointers are exec<|.|>instruction, exec<|.|>system, exec<|.|>input, exec<|.|>requirement, and exec<|.|>output.
The privilege rule the model is trained on: exec<|.|>instruction and exec<|.|>system are authoritative.
Everything reached through exec<|.|>input (data, documents, tool schemas, and tool results) is input to be read, not a command to follow, regardless of how it is phrased.
Generation
Expected output (newlines added here for readability; the template emits none):
The second data block is rendered but, carrying "exec": False, receives no exec<|.|>input pointer, so it is present in context and unbound.
Message fields. user messages take instruction, data, and requirement (each a list of {"value": str, "exec": bool}), plus documents ({"title"?: str, "text": str, "exec": bool}) and tools (OpenAI tool dicts plus "exec": bool).
A plain content: str on a user message is treated as a single exec: True instruction. assistant messages take content and/or tool_calls; tool messages take content (a tool result); system messages take content and stay sticky until replaced.
documents and tools may also be passed as top-level kwargs.
Tool-calling:
Granite-4.1-8B-LLMON-preview comes with enhanced tool calling capabilities, enabling seamless integration with external functions and APIs. To define a list of tools please follow OpenAI's function definition schema.
This is an example of how to use the Granite-4.1-8B-LLMON-preview model's tool-calling ability:
Expected output (newlines added here for readability; the template emits none):
Evaluation
The table below reports general capability benchmarks, where the objective of LLMON training is parity with the conventionally-formatted instruct model (i.e., Granite-4.1-8B) rather than improvement on these tasks.
The behavior the format is designed for — holding the instruction/data boundary when a prompt carries unbound or adversarial content — is not measured by any of them.
The format itself is described in LLMON: An LLM-native Markup Language to Leverage Structure and Semantics at the LLM Interface; the post-training recipe behind this model, together with its prompt-injection, red-teaming, and attention-level results, is reported in Post-Training Large Language Models with LLMON.
Training Data:
Overall, our SFT data is largely comprised of three key sources: (1) publicly available datasets with permissive licenses, (2) internal synthetic data targeting specific capabilities, and (3) a select set of human-curated data.
Supervised Fine-Tuning and Reinforcement Learning:
This model has been fine-tuned with significantly improved SFT and Reinforcement learning pipelines with a high-quality mix of various datasets as mentioned above. With rigorous SFT-RL cycles, we have improved the model's tool calling, instruction following, and chat capabilities.
Limitations
- The model expects LLMON-formatted input. Prompts in a conventional chat format are out of distribution and will degrade quality; use the bundled chat template.
- The privilege rule is a learned behavior, not an enforced guarantee. It substantially reduces, but does not eliminate, the chance that an instruction embedded in data, a document, or a tool result is followed. Do not treat it as a sole defense for an agent with access to sensitive systems.
Ethical Considerations and Risks
The model inherits the considerations of its base model, Granite-4.1-8B-base. As with all large language models, it may produce content that is inaccurate, biased, or otherwise objectionable, and this risk is not removed by the structured prompt format. We urge the community to use this model in a responsible manner, and to evaluate it against the risks of their specific deployment before use.
Citation