jimfhahn/bibframe-olmo-1b-onnx
By jimfhahn · ↓ 2 · ♥ 0 · Updated 2026-01-20
What's in this repo
This page lists the files in jimfhahn/bibframe-olmo-1b-onnx, including model.onnx, model_q8.onnx, model_quantized.onnx.
- 3 ONNX models (.onnx files)
- 11 files, including 5 .json, 3 .onnx, 1 .md, 1 .onnx_data
- Last updated 2026-01-20
ONNX files
| File | Size | Download |
|---|---|---|
| onnx/model.onnx | — | Download |
| onnx/model_q8.onnx | — | Download |
| onnx/model_quantized.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
BIBFRAME-OLMo-1B for Transformers.js (WebGPU)
Fine-tuned OLMo-1B model for correcting BIBFRAME RDF/XML records, exported for browser-based inference with Transformers.js and WebGPU.
Usage with Transformers.js
import { pipeline } from '@huggingface/transformers';
const generator = await pipeline(
'text-generation',
'jimfhahn/bibframe-olmo-1b-onnx',
{ device: 'webgpu', dtype: 'fp16' }
);
const result = await generator(prompt, {
max_new_tokens: 512,
temperature: 0.3,
});
Model Details
- Base model: amd/AMD-OLMo-1B (native transformers format)
- Fine-tuning: LoRA on BIBFRAME correction task
- Export: ONNX FP16 optimized for WebGPU
- Size: ~2GB (FP16)
Prompt Format (ChatML)
The model was trained with ChatML format:
<|im_start|>system
You are a BIBFRAME expert assistant...<|im_end|>
<|im_start|>user
Fix the following invalid BIBFRAME RDF/XML:
...
<|im_end|>
<|im_start|>assistant
Related
- jimfhahn/bibframe-olmo-1b-v2 - LoRA adapter
Model info
Created: 2026-01-16
Updated: 2026-01-20
View on Hugging FaceFiles (11)
Related models
More from jimfhahn
No other models by this author.