BIBFRAME OLMo-3 7B (v3)

The open model powering BF Vibe, a desktop assistant that helps catalogers create and repair valid BIBFRAME RDF/XML. The model has three roles inside the application wherein BF Vibe generates BIBFRAME structure deterministically and uses SHACL validation as the acceptance test:

  1. Correction — repair a record that fails SHACL validation, grounded in the validator's own report (/fix and the silent post-create refine loop)
  2. Intent routing — classify free-text requests into the app's closed command registry with a calibrated confidence (strict JSON)
  3. Field extraction — pull bibliographic fields out of a description as strict JSON for the app's deterministic record generator

Model details

  • Developed by: Jim Hahn
  • Base model: allenai/Olmo-3-7B-Instruct (Apache-2.0; fully open data + weights + recipe lineage)
  • Method: QLoRA (r=32, α=64), 8K context, effective batch 16, lr 1e-4, 3 epochs; adapter merged into the base weights (this repo ships the merged model)
  • Training data: jimfhahn/bf-vibe-bibframe-corrections — ≈78% SHACL-verified (corrupted → conforming) BIBFRAME pairs from Library of Congress records, ≈11% intent routing, ≈11% grounded tool traces
  • License: Apache 2.0

Evaluation

Intent-routing calibration (46-utterance held-out panel, hard-blocklisted from training data generation): accuracy 91.3%, ECE 0.065; at the application's 0.8 confidence gate: proceed-precision 92.3%, false-proceed 0.0% (the model never confidently acts on an out-of-scope request; unconfident requests fall to a clarifying chooser in the app).

Intended use and limitations

  • Designed for BIBFRAME 2.x RDF/XML following Library of Congress conventions, operating inside a system that (a) generates record structure deterministically and (b) accepts a repair only if SHACL validation strictly improves. Using raw generations without that validation gate is not the intended use.
  • Repair coverage is not complete (47.5% conforming on held-out hard cases); the surrounding application keeps the original record when no strictly better version is found.
  • English-centric prompts; source records skew toward LoC cataloging practice.

How to use

Best use case is within the BF Vibe app.

GGUF quantizations are provided with the embedded chat template deliberately stripped: OLMo-3's built-in Jinja template uses tojson, which Ollama's tool-parser cannot compile (the runner exits on load). This repo instead ships Ollama-standard template and params files carrying the validated ChatML + Hermes-style tools template and sampling parameters, so ollama pull hf.co/… picks them up automatically. If you use the GGUF with another llama.cpp runtime, apply the template/params files (or your runtime's ChatML preset) rather than relying on embedded metadata. The safetensors + chat_template.jinja in this repo are unaffected — Jinja consumers (transformers, vLLM) can use them as-is.

Provenance

Acknowledgements

This work made use of the Illinois Campus Cluster, a computing resource that is operated by the Illinois Campus Cluster Program (ICCP) in conjunction with the National Center for Supercomputing Applications (NCSA) and which is supported by funds from the University of Illinois Urbana-Champaign.

Downloads last month
248
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jimfhahn/bibframe-olmo3-v3

Dataset used to train jimfhahn/bibframe-olmo3-v3