alt.freeweights.granite / granitelib-rag-gpt-oss-r1.0
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granitelib-rag-gpt-oss-r1.0

Date: 2026-11-15Commit: 5a2976bSigned: 2DC28CC7B26A283B ✓

Model. Safetensors weights, 805 MB in all. Published by ibm-granite under Apache-2.0.

granite805MBgranitelib-rag-gpt-oss-r1.0safetensorspermissive
FactsParamsnot statedSize805 MBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granitelib-rag-gpt-oss-r1.0
# manifest sha256 162f348e4e68… · 805 MB · 37 files
$ fw verify ./granitelib-rag-gpt-oss-r1.0 ibm-granite/granitelib-rag-gpt-oss-r1.0
From sourceHosted (signed)ibm-granite/granitelib-rag-gpt-oss-r1.0Last check: 2026-11-15 04:16 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of gpt-oss-20b.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
805 MB
Weights
721 MB (safetensors)
Parameters
not stated
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
37, each with a sha256
Publisher
ibm-granite
Added
2026-11-15
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Base model: openai/gpt-oss-20b

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:16 UTCpassed

Model card

From the publisher at commit 5a2976b. Shown as plain text with links; images open at the publisher.

Granite RAG Library: Experimental gpt-oss-20b version#

The Granite RAG Library includes LoRA adapters for openai/gpt-oss-20b, each of which expects as input a (single-turn or multi-turn) conversation between a user and an AI assistant, and most of which also expect a set of grounding passages. Each adapter has been developed for a specific task that is likely to be useful in Agentic RAG pipelines. We give a brief overview of the functionality of each adapter, as the details can be found in each individual adapter's README.

Capabilities implemented as LoRA adapters#

The LoRA adapters for openai/gpt-oss-20b available in this HF repository are:

Query Rewrite (QR): Given a conversation ending with a user query, QR will decontextualize that last user query by rewriting it (whenever necessary) into an equivalent version that is standalone and can be understood by itself. While this adapter is general purpose for any multi-turn conversation, it is especially effective in RAG settings where its ability to rewrite a user query into a standalone version directly improves the retriever performance, which in turn improves the answer generation performance. This is a pre-retrieval adapter since its suggested use is before invoking retrieval.

Query Clarification (QC): Given a conversation ending with a user query, (and optionally relevant content such as RAG documents), QC will detect whether \the last user query is underspecified (no clear interpretation or multiple valid interpretations) and, if so, formulate an appropriate clarification request back to the user. The adapter is designed for conversational use cases where user queries may be ill-formed, unclear, or have multiple valid interpretations based on the underlying system or content. This adapter is *pre-retrieval*OR pre-generation since it can be used either before or after invoking retrieval

Answerability Determination (AD): Given a conversation ending with a user query, and a set of passages, AD classifies whether that final user query is answerable or unanswerable based on the available information in the passages. It is valuable for restraining over-eager models by identifying unanswerable queries and preventing the generation of hallucinated responses. It can also be used to indicate that the system should re-query the retriever with alternate formulations, to fetch more relevant passages. This is a pre-generation adapter.

Hallucination Detection (HD): Given a conversation ending with an assistant response, and a set of passages, HD outputs a hallucination risk range for each sentence in the last assistant response, with respect to the set of passages. This could be used in concert with sampling techniques that yield multiple generated responses, some of which could then be filtered according to their HD scores. This is a post-generation adapter since its expected use is after invoking the LLM to create the response.

Citation Generation (CG): Given a conversation ending with an assistant response, and a set of passages, CG generates citations for that last assistant response from the provided passages. Citations are generated for each sentence in the response (when available), where each citation consists of a set of sentences from the supporting passages. This is a post-generation adapter since its expected use is after invoking the LLM, and therefore can be used to create citations for responses generated by any model.

The recommended way to call all adaptors is through the Mellea framework. For code snippets demonstrating how to use them please refer to the Mellea intrinsics examples.

Files

37 files · 805 MBWeights 721 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 37 files with their sha256
FileSizesha256
.gitattributes1.77 KBb2b828db05cdfd8dc5b8d01bae1fa74144c66810e2d9b0d314424367021c4787
.gitignore23 Ba93f0efe50b7cb265803adf3f54479e4a2e238567016d38e0330dcd7e332a85c
README.md4.26 KB13860c89e3abf12edd1b18e8648a58058780e6d3b2ac7c4b3c95ccfe1b26dd39
answerability/README.md1.21 KB9a3efbd85cc59df82fe6067ed3b3c848ce0e8364ca2163da7f06474764299e4d
answerability/gpt-oss-20b/lora/adapter_config.json1.06 KB66816539a03573cb5291483915442d9a113437e2812515adbf7998c6c5e29467
answerability/gpt-oss-20b/lora/adapter_model.safetensors219 MB5ee17447d06e0327bed4cd6811da1fa2607520285bb35c712bccb8d6d7f9e772
answerability/gpt-oss-20b/lora/io.yaml774 B620c749f25c24aec720f4ce3fe3fd23d1ba10f9dbd9b325eb2efbde48c06d30c
citations/README.md2.00 KB6131589170c048d84ef01234a44831659cd3d94c36ad0784ed3fa5d8b4410674
citations/gpt-oss-20b/lora/adapter_config.json802 Bb1453785c50a5543f6bc7e55a31cfe2774dea25266cbe268816a54c9021f1c85
citations/gpt-oss-20b/lora/adapter_model.safetensors31.9 MBd27a9b6f66f37e21e36c0248eefd1d4284f92c6e7cccf5dd544b14e32fbd71f0
citations/gpt-oss-20b/lora/chat_template.jinja16.7 KBa4c9919cbbd4acdd51ccffe22da049264b1b73e59055fa58811a99efbd7c8146
citations/gpt-oss-20b/lora/io.yaml3.13 KBe0eed21c5e1c26338a29cb6a285f1688be8e273ebb60d1418c785c38ae897509
citations/gpt-oss-20b/lora/special_tokens_map.json440 B8464cabd6eda239fe46ebf8ae63b46c417721784a961a022f6b59174a2cda0e2
citations/gpt-oss-20b/lora/tokenizer.json27.9 MB0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
citations/gpt-oss-20b/lora/tokenizer_config.json4.26 KB4c81d5b165be6e2b89610e59563cc6b075ddb7555907927226a219ea1429b078
hallucination_detection/README.md1.45 KB7331e0508c92c78def843b17f14bebb6f0bce62938e46adb32c3dacbb0b7cdc4
hallucination_detection/gpt-oss-20b/lora/README.md5.09 KB9d54d4764a93908a03a8363c31a9c2184bb6cf8a1f19d10c9e06847f24e7f1c6
hallucination_detection/gpt-oss-20b/lora/adapter_config.json802 Bd373c99a83a793efabe2c59700c4f1f72234ee587b8e1277868a380f68cfc199
hallucination_detection/gpt-oss-20b/lora/adapter_model.safetensors31.9 MB6d324b0a7fad875c444762e7681d4ae1ebce10aa138c2823be6617f7a214a6bf
hallucination_detection/gpt-oss-20b/lora/chat_template.jinja16.7 KBa4c9919cbbd4acdd51ccffe22da049264b1b73e59055fa58811a99efbd7c8146
hallucination_detection/gpt-oss-20b/lora/io.yaml2.35 KB9a57ab75f4d2e5ed7f084ec19ec940ee10a28f57de05bb73593c13b3b5ac753c
hallucination_detection/gpt-oss-20b/lora/special_tokens_map.json440 B8464cabd6eda239fe46ebf8ae63b46c417721784a961a022f6b59174a2cda0e2
hallucination_detection/gpt-oss-20b/lora/tokenizer.json27.9 MB0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
hallucination_detection/gpt-oss-20b/lora/tokenizer_config.json4.26 KB4c81d5b165be6e2b89610e59563cc6b075ddb7555907927226a219ea1429b078
query_clarification/README.md1.63 KBa7760a140dbea78868ec6cd795b2a39c3de992b6bd80d19b46c088687ad27f70
query_clarification/gpt-oss-20b/lora/adapter_config.json1.20 KB66181c2fb8520369dbeb72c9729b34e6ff01e4a091b32b79c308f245436d4536
query_clarification/gpt-oss-20b/lora/adapter_model.safetensors219 MB9e3beee44cb37b73560d14a7a21d2c7c95c404d7ffb38933e7bd1fd13ae7d435
query_clarification/gpt-oss-20b/lora/io.yaml491 B6864871e8eeb7b987ed945368c2f369bb7b7204cb6c6a5ea1cbd7f2d32b10aeb
query_rewrite/README.md1.97 KB9a9eda9b70b5dad99baf232305d6a3c7be9d933be19d8c99a6637260d593d92d
query_rewrite/gpt-oss-20b/lora/adapter_config.json1.06 KB0acac837aaea15c609583241265ec216862113e6f8153aa32c9ed665dfcaf503
query_rewrite/gpt-oss-20b/lora/adapter_model.safetensors219 MBfa15f38f74bc8f34b42bd252cc9b557455bcb33370bec17ea3cd38305d6acc0b
query_rewrite/gpt-oss-20b/lora/chat_template.jinja15.9 KBf8d9255777615591a7cc1a7c932f5a69e181128902295e1b81221d20d983cac7
query_rewrite/gpt-oss-20b/lora/io.yaml613 B85763fb6019b2b7c3bb7f9fc031bfea0901a5dcd067472e85ac0a0e240c7e936
query_rewrite/gpt-oss-20b/lora/special_tokens_map.json323 Baf18826c638a2ec78bc2a0077d5f0fe53586ffaad1310e126520aa630918dd17
query_rewrite/gpt-oss-20b/lora/tokenizer.json27.9 MB0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
query_rewrite/gpt-oss-20b/lora/tokenizer_config.json4.22 KBf0e040778f4069f3605d5afd5ed6a156de70bb726f4ffba0ed4087fb6f2fafb3
run_vllm.sh1.36 KBfe5414a0f928e0b980f0a53989a6b13b57e3efec0db8c1bd1dd56054c2c21332
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
5a2976bc7c pinned now2026-11-15 04:16 UTC37 files · 805 MB

Use it

$ fw get ibm-granite/granitelib-rag-gpt-oss-r1.0
# manifest sha256 162f348e4e68… · 805 MB · 37 files
$ fw verify ./granitelib-rag-gpt-oss-r1.0 ibm-granite/granitelib-rag-gpt-oss-r1.0
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ibm-granite/granitelib-rag-gpt-oss-r1.0.json --dir ./granitelib-rag-gpt-oss-r1.0 $ python3 fw.py verify ./granitelib-rag-gpt-oss-r1.0 ./ibm-granite__granitelib-rag-gpt-oss-r1.0.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granitelib-rag-gpt-oss-r1.0 --revision 5a2976bc7cdb580e56186ebc29d6b3a6595a88d0 --local-dir ./granitelib-rag-gpt-oss-r1.0

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
13860c89e3abf12edd1b18e8648a58058780e6d3b2ac7c4b3c95ccfe1b26dd39
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject: granitelib-rag-gpt-oss-r1.0Date: 2026-11-15Commit: 5a2976bSigned: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granitelib-rag-gpt-oss-r1.0
Pinned commit
5a2976bc7cdb580e56186ebc29d6b3a6595a88d0
Manifest
granitelib-rag-gpt-oss-r1.0.json · .minisig
Manifest sha256
162f348e4e68bf5a60f1c15cab7a391efcc2ac6dcdc401d55dec7424c30c1aad
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:16 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granitelib-rag-gpt-oss-r1.0.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granitelib-rag-gpt-oss-r1.0.json.minisig $ minisign -Vm granitelib-rag-gpt-oss-r1.0.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

openai/gpt-oss-20b · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granitelib-rag-gpt-oss-r1.0
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granitelib-rag-gpt-oss-r1.0.json. Provenance. Takedown history: none.
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed3
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed3