Image-Text-to-Text
PEFT
Safetensors
Vietnamese
English
ocr
handwriting
vietnamese
lora
paddleocr-vl
document-ai
conversational
Instructions to use trunghlt/senocr-vi-htr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use trunghlt/senocr-vi-htr with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("VietAlphaLabs/SenOCR-Vi") model = PeftModel.from_pretrained(base_model, "trunghlt/senocr-vi-htr") - Notebooks
- Google Colab
- Kaggle
File size: 749 Bytes
38aacf6 | 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 30 31 32 33 34 | {
"image_processor": {
"auto_map": {
"AutoImageProcessor": "image_processing_paddleocr_vl.PaddleOCRVLImageProcessor",
"AutoProcessor": "processing_paddleocr_vl.PaddleOCRVLProcessor"
},
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.5,
0.5,
0.5
],
"image_processor_type": "PaddleOCRVLImageProcessor",
"image_std": [
0.5,
0.5,
0.5
],
"merge_size": 2,
"patch_size": 14,
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"longest_edge": 1003520,
"shortest_edge": 112896
},
"temporal_patch_size": 1
},
"processor_class": "PaddleOCRVLProcessor"
}
|