Downloads · 30 days
18
20% of all-time downloads
saradhisw/Invoice_model_Qwen
Invoice_model_Qwen is a machine learning model from saradhisw. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
The model is fine-tuned on Qwen2.5-3B-VL using a dataset of invoices and receipts. It can be used to extract text from the input and return the output in a specified JSon format.
Downloads · 30 days
18
20% of all-time downloads
All-time downloads
92
Public
Parameters
3.8B
7.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.7 GB · 99%
From the Hugging Face model README
The model* is fine-tuned on Qwen2.5-3B-VL using a dataset of invoices and receipts. It can be used to extract text from the input and return the output in a specified JSon format.
*It is already merged with the LoRA layer and the original model. Be mindful of the input size to avoid a CUDA out-of-memory error.
Here is an example notebook of inference
For the LoRA params only, go to this repo
from transformers import AutoModelForVision2Seq, AutoProcessor, AutoTokenizer
model = AutoModelForVision2Seq.from_pretrained(
"callmeeric5/Qwen3B-Invoice-Receipt",
device_map="cuda", #auto
torch_dtype="auto"
)
tokenizer = AutoTokenizer.from_pretrained("callmeeric5/Qwen-3B-Invoice-Receipt")
processor = AutoProcessor.from_pretrained("callmeeric5/Qwen-3B-Invoice-Receipt")