Image-Text-to-Text
PEFT
ONNX
Safetensors
Transformers.js
Arabic
English
roberta
feature-extraction
lora
receipt-understanding
key-information-extraction
zatca
webgpu
conversational
Instructions to use osos3lom/receiptai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use osos3lom/receiptai with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolVLM-256M-Instruct") model = PeftModel.from_pretrained(base_model, "osos3lom/receiptai") - Transformers.js
How to use osos3lom/receiptai with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'osos3lom/receiptai'); - Notebooks
- Google Colab
- Kaggle
File size: 514 Bytes
327d525 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | {
"do_convert_rgb": true,
"do_image_splitting": true,
"do_normalize": true,
"do_pad": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.5,
0.5,
0.5
],
"image_processor_type": "Idefics3ImageProcessor",
"image_std": [
0.5,
0.5,
0.5
],
"max_image_size": {
"longest_edge": 512
},
"processor_class": "Idefics3Processor",
"resample": 1,
"rescale_factor": 0.00392156862745098,
"size": {
"longest_edge": 2048
}
}
|