Downloads · 30 days
4
11% of all-time downloads
asim-salim/gemma-4-e4b-doc-classifier-lora
gemma-4-e4b-doc-classifier-lora is a image-text-to-text model from asim-salim. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as gemma.
LoRA adapter finetuned from google/gemma-4-E4B-it for single-page document classification and identity-field extraction from scanned/faxed financial documents.
Downloads · 30 days
4
11% of all-time downloads
All-time downloads
38
Public
Repo size
179 MB
Likes
0
Public
Click a slice to open those files.
.safetensors147 MB · 82%
From the Hugging Face model README
LoRA adapter finetuned from google/gemma-4-E4B-it for single-page document
classification and identity-field extraction from scanned/faxed financial documents.
bank_statement, drivers_license, monthly_bill, paystub, state_id, unknown
{"schema_object_wrapper": [{"cls": "", "confidence": 0.0, "issuer": "", "holder": "", "page_marker": ""}]}
from unsloth import FastVisionModel
model, processor = FastVisionModel.from_pretrained("asim-salim/gemma-4-e4b-doc-classifier-lora")
FastVisionModel.for_inference(model)
Adapter: 147 MB LoRA over google/gemma-4-E4B-it. Trained with unsloth + TRL (PEFT 0.19.1).
Governed by the Gemma Terms of Use and the Gemma Prohibited Use Policy.
Trained on a specific document corpus; not evaluated for general-purpose document understanding. Outputs must not be treated as authoritative for financial decisions.