Image-to-Text
Transformers
Safetensors
Japanese
English
sarashina2_vision
text-generation
multimodal
ocr
document-understanding
vision-language
custom_code
Instructions to use subhash4face/sarashina2.2-ocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subhash4face/sarashina2.2-ocr 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="subhash4face/sarashina2.2-ocr", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("subhash4face/sarashina2.2-ocr", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle

- Xet hash:
- 50846f242bc27d6f3454ff1a1e5c503ca9b1606eeeffb7669fba1213124e34bb
- Size of remote file:
- 286 kB
- SHA256:
- 44eb2d1e72e075c708068dcf14e4c5c66ac8c797e9c184fbb9e98d4df3b6b7ee
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.