Quick start / 1B
Minnow-OCR-1B
Document OCR
from transformers import pipeline
pipe = pipeline(
"text-generation",
model="KiteFishAI/Minnow-OCR-1B",
)
prompt = "Extract the invoice number, date, and total from this document."
response = pipe(prompt, max_new_tokens=200)
print(response[0]["generated_text"])