Instructions to use selvakumarcts/sk_invoice_receipts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use selvakumarcts/sk_invoice_receipts with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="selvakumarcts/sk_invoice_receipts")# Load model directly from transformers import AutoTokenizer, AutoModelForImageTextToText tokenizer = AutoTokenizer.from_pretrained("selvakumarcts/sk_invoice_receipts") model = AutoModelForImageTextToText.from_pretrained("selvakumarcts/sk_invoice_receipts") - Notebooks
- Google Colab
- Kaggle
Enabling Inference Endpoints
#2
by TakMaz - opened
Hello,
Please could you update this to allow the deployment of Inference endpoints for this please?
I tried to do it but it says "Warning: deploying this model may fail because a "handler.py" file was not found in the repository. Try selecting a different model or creating a custom handler."
Thank you
