How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="byczong/donut-ft-terms-struct")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForMultimodalLM

tokenizer = AutoTokenizer.from_pretrained("byczong/donut-ft-terms-struct")
model = AutoModelForMultimodalLM.from_pretrained("byczong/donut-ft-terms-struct", device_map="auto")
Quick Links

Model Card

Donut fine-tuned for full document structuring (parsing) on pl-insurance-terms-struct dataset.

Trained for 10 epochs with max_seq_len=7168.

  • Field-level f1 score: 0.57
  • TED-based accuracy: 0.67

Note: This model and its tokenizer were not (pre-) trained for Polish.

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

Model tree for byczong/donut-ft-terms-struct

Finetuned
(488)
this model

Dataset used to train byczong/donut-ft-terms-struct