Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

granitelib-guardian-r1.0

by IBM Granite ibm-granite/granitelib-guardian-r1.0

granitelib-guardian-r1.0 is an open-weight model for text generation from IBM Granite, released under Apache License 2.0. Its published files total 6.2 GB. It draws 1.2k downloads a month.

The Guardian Library includes four families of LoRA adapters, each developed for a specific task related to safety, factuality, and policy compliance in LLM-based systems.

Parameters—
Context—
Weights6.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads1.2k

Model Card

By IBM Granite, published under apache-2.0, revision 5802b88ef1f9.

The Guardian Library includes four families of LoRA adapters, each developed for a specific task related to safety, factuality, and policy compliance in LLM-based systems. We provide adapters for: We give a brief overview of the functionality of each capability below; details can be found in each individual adapter readme. The four capabilities that have been implemented as LoRA adapters and made available in this HF repository are: Guardian Core: A LoRA adapter trained to judge whether the input prompts and output responses of an LLM-based system meet specified criteria, including safety risks (harm, jailbreaking, profanity, violence, sexual content, social bias, unethical behavior)…

Read IBM Granite's full model card

Granite Guardian Library

The Guardian Library includes four families of LoRA adapters, each developed for a specific task related to safety, factuality, and policy compliance in LLM-based systems. We provide adapters for: * ibm-granite/granite-4.0-micro * ibm-granite/granite-4.1-3b * ibm-granite/granite-4.1-8b * ibm-granite/granite-4.1-30b

We give a brief overview of the functionality of each capability below; details can be found in each individual adapter readme.

Capabilities implemented as LoRA adapters

The four capabilities that have been implemented as LoRA adapters and made available in this HF repository are:

Guardian Core: A LoRA adapter trained to judge whether the input prompts and output responses of an LLM-based system meet specified criteria, including safety risks (harm, jailbreaking, profanity, violence, sexual content, social bias, unethical behavior), hallucinations related to tool/function calls, and retrieval-augmented generation (RAG) in agent-based systems. The model outputs a JSON object with a score field indicating "yes" (criteria met / risk detected) or "no" (criteria not met / no risk). Details can be found in the guardian-core readme.

Factuality Detection: A LoRA adapter specifically designed to assess factual correctness by explicitly taking into account contextual passages that may contain contradicting or conflicting information. Rather than assuming contextual consistency, the adapter evaluates LLM-generated responses against one or more context sources and identifies cases where the response conflicts with, misrepresents, or selectively ignores evidence present in those contexts. Details can be found in the factuality-detection readme.

Factuality Correction: A LoRA adapter specifically designed to correct factually incorrect LLM-generated responses by explicitly taking into account contextual passages that may contain contradicting or conflicting information. The adapter is capable of correcting factual inaccuracies in long-form responses composed of multiple atomic units—such as individual facts or claims—while preserving the full generative and reasoning capabilities of the base model. Details can be found in the factuality-correction readme.

Policy Guardrails: A LoRA adapter that provides policy compliance checking. Given a policy and a scenario, it enables the base model to accurately decide whether the scenario complies with, or violates, the given policy. It provides a third response ('Ambiguous') if it is not possible to decide compliance/non-compliance with a high level of certainty. Details can be found in the policy-guardrails readme.

Recommended Use

The recommended way to call all adapters is through the Mellea framework. For code snippets demonstrating how to use them please refer to the Mellea adapter examples (note: within Mellea, adapters are referred to as "intrinsics").

Model Signing

All adapter artifacts in this repository are signed to ensure integrity and provenance. Each adapter includes a model.sig signature file in its lora/ directory that covers all artifacts in that directory (adapter_config.json, adapter_model.safetensors, io.yaml).

Adapter Signature File Path (example) Signing Identity
Guardian Core guardian-core/granite-4.1-3b/lora/model.sig [email protected]
Factuality Detection factuality-detection/granite-4.1-3b/lora/model.sig [email protected]
Factuality Correction factuality-correction/granite-4.1-3b/lora/model.sig [email protected]
Policy Guardrails policy-guardrails/granite-4.1-3b/lora/model.sig [email protected]

The same pattern applies to all model variants (granite-4.0-micro, granite-4.1-3b, granite-4.1-8b, granite-4.1-30b).

Verifying Model Signatures

To verify the integrity of a downloaded adapter, use the model-signing tool:

# Install the model signing verification tool
pip install model-signing

# Verify all artifacts in an adapter's lora/ directory
model_signing verify sigstore \
  --signature <adapter>/<model-variant>/lora/model.sig \
  --identity [email protected] \
  --identity_provider https://sigstore.verify.ibm.com/oauth2 \
  <adapter>/<model-variant>/lora/

For example, to verify the guardian-core adapter for granite-4.1-3b:

model_signing verify sigstore \
  --signature guardian-core/granite-4.1-3b/lora/model.sig \
  --identity [email protected] \
  --identity_provider https://sigstore.verify.ibm.com/oauth2 \
  guardian-core/granite-4.1-3b/lora/

Each model.sig file contains a signature over all adapter artifacts in the corresponding lora/ directory, signed with the identity [email protected]. This allows users to confirm that the adapter has not been tampered with after release.

Resources

  • Learn about the latest updates with Granite: https://www.ibm.com/granite
  • Get started with tutorials, best practices, and prompt engineering advice: https://www.ibm.com/granite/docs/
  • Learn about the latest Granite learning resources: https://research.ibm.com/blog/granite-4-1-ai-foundation-models

Identity and Version

Repository
ibm-granite/granitelib-guardian-r1.0
Publisher
IBM Granite
Task
Text generation
Modality
Text
Library
granite-library
Parameters
Not stated by the source
Languages
en
Revision
5802b88ef1f9a71e7a33c9025a36b81f2671e58d
First published
2026-02-02
Last updated
2026-10-16

Files and Weights

119 files, 6.2 GB in total. The weights are 28 files totalling 6.2 GB in safetensors.

Weights28 files · 6.2 GB
Configuration56 files · 70.2 KB
Documentation5 files · 80.1 KB
Other29 files · 255.2 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
factuality-correction/granite-4.0-micro/lora/adapter_model.safetensorsWeights236.0 MB f754af68103e
factuality-correction/granite-4.1-30b/alora/adapter_model.safetensorsWeights151.0 MB ec522287ce76
factuality-correction/granite-4.1-30b/lora/adapter_model.safetensorsWeights1.1 GB 77b9cefe53fb
factuality-correction/granite-4.1-3b/alora/adapter_model.safetensorsWeights57.7 MB 5b5222bba77f
factuality-correction/granite-4.1-3b/lora/adapter_model.safetensorsWeights249.1 MB 0b629fdc4dac
factuality-correction/granite-4.1-8b/alora/adapter_model.safetensorsWeights94.4 MB 922f4cf1465f
factuality-correction/granite-4.1-8b/lora/adapter_model.safetensorsWeights395.9 MB 4b5a137302b6
factuality-detection/granite-4.0-micro/lora/adapter_model.safetensorsWeights236.0 MB d7547f769b2e
factuality-detection/granite-4.1-30b/alora/adapter_model.safetensorsWeights151.0 MB e2388876955a
factuality-detection/granite-4.1-30b/lora/adapter_model.safetensorsWeights1.1 GB 87c65d9e7ba8
factuality-detection/granite-4.1-3b/alora/adapter_model.safetensorsWeights57.7 MB 1afa036740af
factuality-detection/granite-4.1-3b/lora/adapter_model.safetensorsWeights249.1 MB 224cebd5dbef
factuality-detection/granite-4.1-8b/alora/adapter_model.safetensorsWeights94.4 MB 6393edb295ea
factuality-detection/granite-4.1-8b/lora/adapter_model.safetensorsWeights395.9 MB 18abbc467118
guardian-core/granite-4.0-micro/lora/adapter_model.safetensorsWeights42.0 MB 87bdf88150c6
guardian-core/granite-4.1-30b/alora/adapter_model.safetensorsWeights109.1 MB e30f451e7756
guardian-core/granite-4.1-30b/lora/adapter_model.safetensorsWeights562.2 MB 3fb80b3c71c9
guardian-core/granite-4.1-3b/alora/adapter_model.safetensorsWeights42.0 MB 372b1054d27b
guardian-core/granite-4.1-3b/lora/adapter_model.safetensorsWeights124.6 MB b1ddbc26cea3
guardian-core/granite-4.1-8b/alora/adapter_model.safetensorsWeights68.2 MB 332223d680ed
guardian-core/granite-4.1-8b/lora/adapter_model.safetensorsWeights198.0 MB 58dc85693f79
policy-guardrails/granite-4.0-micro/lora/adapter_model.safetensorsWeights21.0 MB b83d230a7bb5
policy-guardrails/granite-4.1-30b/alora/adapter_model.safetensorsWeights109.1 MB 4676acab406a
policy-guardrails/granite-4.1-30b/lora/adapter_model.safetensorsWeights109.1 MB 3215e431bcef
policy-guardrails/granite-4.1-3b/alora/adapter_model.safetensorsWeights42.0 MB ae146c70cdea
policy-guardrails/granite-4.1-3b/lora/adapter_model.safetensorsWeights42.0 MB a8bc1bd5119b
policy-guardrails/granite-4.1-8b/alora/adapter_model.safetensorsWeights68.2 MB 715ad0e02ade
policy-guardrails/granite-4.1-8b/lora/adapter_model.safetensorsWeights68.2 MB 8e6defa87259
factuality-correction/granite-4.0-micro/lora/adapter_config.jsonConfiguration933 B —
factuality-correction/granite-4.0-micro/lora/io.yamlConfiguration1.7 KB —
factuality-correction/granite-4.1-30b/alora/adapter_config.jsonConfiguration1.0 KB —
factuality-correction/granite-4.1-30b/alora/io.yamlConfiguration1.7 KB —
factuality-correction/granite-4.1-30b/lora/adapter_config.jsonConfiguration1.1 KB —
factuality-correction/granite-4.1-30b/lora/io.yamlConfiguration1.7 KB —
factuality-correction/granite-4.1-3b/alora/adapter_config.jsonConfiguration1.1 KB —
factuality-correction/granite-4.1-3b/alora/io.yamlConfiguration1.6 KB —
factuality-correction/granite-4.1-3b/lora/adapter_config.jsonConfiguration1.1 KB —
factuality-correction/granite-4.1-3b/lora/io.yamlConfiguration1.7 KB —
factuality-correction/granite-4.1-8b/alora/adapter_config.jsonConfiguration1.1 KB —
factuality-correction/granite-4.1-8b/alora/io.yamlConfiguration1.7 KB —
factuality-correction/granite-4.1-8b/lora/adapter_config.jsonConfiguration1.1 KB —
factuality-correction/granite-4.1-8b/lora/io.yamlConfiguration1.7 KB —
factuality-detection/granite-4.0-micro/lora/adapter_config.jsonConfiguration934 B —
factuality-detection/granite-4.0-micro/lora/io.yamlConfiguration1.5 KB —
factuality-detection/granite-4.1-30b/alora/adapter_config.jsonConfiguration1.0 KB —
factuality-detection/granite-4.1-30b/alora/io.yamlConfiguration1.5 KB —
factuality-detection/granite-4.1-30b/lora/adapter_config.jsonConfiguration1.1 KB —
factuality-detection/granite-4.1-30b/lora/io.yamlConfiguration1.5 KB —
factuality-detection/granite-4.1-3b/alora/adapter_config.jsonConfiguration1.1 KB —
factuality-detection/granite-4.1-3b/alora/io.yamlConfiguration1.5 KB —
factuality-detection/granite-4.1-3b/lora/adapter_config.jsonConfiguration1.1 KB —
factuality-detection/granite-4.1-3b/lora/io.yamlConfiguration1.5 KB —
factuality-detection/granite-4.1-8b/alora/adapter_config.jsonConfiguration1.1 KB —
factuality-detection/granite-4.1-8b/alora/io.yamlConfiguration1.5 KB —
factuality-detection/granite-4.1-8b/lora/adapter_config.jsonConfiguration1.1 KB —
factuality-detection/granite-4.1-8b/lora/io.yamlConfiguration1.5 KB —
guardian-core/granite-4.0-micro/lora/adapter_config.jsonConfiguration1.1 KB —
guardian-core/granite-4.0-micro/lora/io.yamlConfiguration1.0 KB —
guardian-core/granite-4.1-30b/alora/adapter_config.jsonConfiguration1.1 KB —
guardian-core/granite-4.1-30b/alora/io.yamlConfiguration1.0 KB —
guardian-core/granite-4.1-30b/lora/adapter_config.jsonConfiguration1.2 KB —
guardian-core/granite-4.1-30b/lora/io.yamlConfiguration1.0 KB —
guardian-core/granite-4.1-3b/alora/adapter_config.jsonConfiguration1.0 KB —
guardian-core/granite-4.1-3b/alora/io.yamlConfiguration1.0 KB —
guardian-core/granite-4.1-3b/lora/adapter_config.jsonConfiguration1.2 KB —
guardian-core/granite-4.1-3b/lora/io.yamlConfiguration1.0 KB —
guardian-core/granite-4.1-8b/alora/adapter_config.jsonConfiguration1.0 KB —
guardian-core/granite-4.1-8b/alora/io.yamlConfiguration1.0 KB —
guardian-core/granite-4.1-8b/lora/adapter_config.jsonConfiguration1.2 KB —
guardian-core/granite-4.1-8b/lora/io.yamlConfiguration1.0 KB —
policy-guardrails/granite-4.0-micro/lora/adapter_config.jsonConfiguration864 B —
policy-guardrails/granite-4.0-micro/lora/io.yamlConfiguration1.6 KB —
policy-guardrails/granite-4.1-30b/alora/adapter_config.jsonConfiguration1.0 KB —
policy-guardrails/granite-4.1-30b/alora/io.yamlConfiguration1.6 KB —
policy-guardrails/granite-4.1-30b/lora/adapter_config.jsonConfiguration1.0 KB —
policy-guardrails/granite-4.1-30b/lora/io.yamlConfiguration1.6 KB —
policy-guardrails/granite-4.1-3b/alora/adapter_config.jsonConfiguration1.0 KB —
policy-guardrails/granite-4.1-3b/alora/io.yamlConfiguration1.6 KB —
policy-guardrails/granite-4.1-3b/lora/adapter_config.jsonConfiguration1.0 KB —
policy-guardrails/granite-4.1-3b/lora/io.yamlConfiguration1.6 KB —
policy-guardrails/granite-4.1-8b/alora/adapter_config.jsonConfiguration1.0 KB —
policy-guardrails/granite-4.1-8b/alora/io.yamlConfiguration1.6 KB —
policy-guardrails/granite-4.1-8b/lora/adapter_config.jsonConfiguration1.0 KB —
policy-guardrails/granite-4.1-8b/lora/io.yamlConfiguration1.6 KB —
README.mdDocumentation6.0 KB —
factuality-correction/README.mdDocumentation17.8 KB —
factuality-detection/README.mdDocumentation12.9 KB —
guardian-core/README.mdDocumentation23.0 KB —
policy-guardrails/README.mdDocumentation20.4 KB —
factuality-correction/granite-4.0-micro/lora/model.sigOther8.4 KB —
factuality-correction/granite-4.1-30b/alora/model.sigOther8.5 KB —
factuality-correction/granite-4.1-30b/lora/model.sigOther8.2 KB —
factuality-correction/granite-4.1-3b/alora/model.sigOther8.4 KB —
factuality-correction/granite-4.1-3b/lora/model.sigOther8.6 KB —
factuality-correction/granite-4.1-8b/alora/model.sigOther8.3 KB —
factuality-correction/granite-4.1-8b/lora/model.sigOther8.6 KB —
factuality-detection/granite-4.0-micro/lora/model.sigOther8.5 KB —
factuality-detection/granite-4.1-30b/alora/model.sigOther8.3 KB —
factuality-detection/granite-4.1-30b/lora/model.sigOther8.4 KB —
factuality-detection/granite-4.1-3b/alora/model.sigOther8.5 KB —
factuality-detection/granite-4.1-3b/lora/model.sigOther8.3 KB —
factuality-detection/granite-4.1-8b/alora/model.sigOther8.4 KB —
factuality-detection/granite-4.1-8b/lora/model.sigOther8.4 KB —
guardian-core/granite-4.0-micro/lora/model.sigOther8.5 KB —
guardian-core/granite-4.1-30b/alora/model.sigOther8.3 KB —
guardian-core/granite-4.1-30b/lora/model.sigOther8.2 KB —
guardian-core/granite-4.1-3b/alora/model.sigOther8.5 KB —
guardian-core/granite-4.1-3b/lora/model.sigOther8.6 KB —
guardian-core/granite-4.1-8b/alora/model.sigOther8.3 KB —
guardian-core/granite-4.1-8b/lora/model.sigOther8.5 KB —
policy-guardrails/granite-4.0-micro/images/sample_policy_dataset_instance.pngOther19.4 KB —
policy-guardrails/granite-4.0-micro/lora/model.sigOther8.4 KB —
policy-guardrails/granite-4.1-30b/alora/model.sigOther8.6 KB —
policy-guardrails/granite-4.1-30b/lora/model.sigOther8.5 KB —
policy-guardrails/granite-4.1-3b/alora/model.sigOther8.5 KB —
policy-guardrails/granite-4.1-3b/lora/model.sigOther8.4 KB —
policy-guardrails/granite-4.1-8b/alora/model.sigOther8.6 KB —
policy-guardrails/granite-4.1-8b/lora/model.sigOther8.5 KB —
.gitattributesRepository1.5 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
6.2 GB
Download from IBM Granite

Released by IBM Granite through its official repository on Hugging Face. Read the license.

Built From

  • Adapter of ibm-granite/granite-4.0-micro
  • Derived from ibm-granite/granite-4.0-micro

Memory Requirements

PrecisionWeights in memory
As published6.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About granitelib-guardian-r1.0

Can I use granitelib-guardian-r1.0 commercially?

Yes. granitelib-guardian-r1.0 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ternary-Bonsai-2-27B-gguf

Prism ML

Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) - \~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU - 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint - Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse: math within half a point of full precision (96.57), coding level with the baseline (89.42), agentic tool calling at 74.92…

Open weights apache-2.0 llama.cpp

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers