Image-Text-to-Text
PEFT
Safetensors
English
llama-factory
lora
Generated from Trainer
Qwen
Vl-model
fine-tuning
vision-model
multi-modal
conversational
Instructions to use Alawy21/Invoice_Extraction_Qwen2_2B_Finetuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Alawy21/Invoice_Extraction_Qwen2_2B_Finetuning with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-VL-2B-Instruct") model = PeftModel.from_pretrained(base_model, "Alawy21/Invoice_Extraction_Qwen2_2B_Finetuning") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Alawy21/Invoice_Extraction_Qwen2_2B_Finetuning: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/Alawy21/Invoice_Extraction_Qwen2_2B_Finetuning/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Alawy21/Invoice_Extraction_Qwen2_2B_Finetuning/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Alawy21/Invoice_Extraction_Qwen2_2B_Finetuning/resolve/main/preprocessor_config.json
572 Bytes
| { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_processor_type": "Qwen2VLImageProcessor", | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "max_pixels": 12845056, | |
| "merge_size": 2, | |
| "min_pixels": 3136, | |
| "patch_size": 14, | |
| "processor_class": "Qwen2VLProcessor", | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "longest_edge": 12845056, | |
| "shortest_edge": 3136 | |
| }, | |
| "temporal_patch_size": 2 | |
| } | |