Image-to-Text
Transformers
Safetensors
Persian
English
nemotron_parse
feature-extraction
bina
ocr
persian
farsi
document-understanding
custom_code
Instructions to use Reza2kn/Bina-0.4-Koochik with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Reza2kn/Bina-0.4-Koochik 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="Reza2kn/Bina-0.4-Koochik", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Reza2kn/Bina-0.4-Koochik", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 593 Bytes
69323ad | 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 | {
"feature_extractor_type": "NemotronParseImageProcessor",
"image_processor_type": "NemotronParseImageProcessor",
"processor_class": "NemotronParseProcessor",
"size": {
"height": 2048,
"width": 1664,
"longest_edge": [
2048,
1664
]
},
"final_size": [
2048,
1664
],
"do_normalize": true,
"navit_packing": true,
"navit_padding_mode": "top_left_white",
"navit_coordinate_frame": "content_normalized",
"image_mean": [
0.48145466,
0.4578275,
0.40821073
],
"image_std": [
0.26862954,
0.26130258,
0.27577711
]
} |