arirajuns/bigbird-legal-onnx
By arirajuns · ↓ 14 · ♥ 0 · Updated 2026-02-20
What's in this repo
This page lists the files in arirajuns/bigbird-legal-onnx, including model.onnx.
- 1 ONNX models (.onnx files)
- 7 files, including 4 .json, 1 .md, 1 .onnx
- Last updated 2026-02-20
ONNX files
| File | Size | Download |
|---|---|---|
| model.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
Legal BigBird (ONNX)
This is a fine-tuned version of BigBird-Pegasus for legal document summarization. It has been exported to ONNX for high-performance inference.
Usage
import onnxruntime as ort
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("arirajuns/bigbird-legal-onnx")
session = ort.InferenceSession("model.onnx")
inputs = tokenizer("Your long legal text here...", return_tensors="np")
outputs = session.run(None, dict(inputs))
Model info
summarization
transformers
transformers
onnx
bigbird_pegasus
text2text-generation
summarization
bigbird
legal
base_model:google/bigbird-pegasus-large-arxiv
base_model:quantized:google/bigbird-pegasus-large-arxiv
endpoints_compatible
region:us
↓ 14
♥ 0
Created: 2026-02-20
Updated: 2026-02-20
View on Hugging FaceFiles (7)
.gitattributes
README.md
config.json
generation_config.json
model.onnx
ONNX
tokenizer.json
tokenizer_config.json
Related models
More from arirajuns
No other models by this author.