Image-to-Text
Transformers
Safetensors
Khmer
English
khmer-ocr
feature-extraction
ocr
text-recognition
khmer-text-recognition
transformer
squeeze-and-excitation
custom_code
Instructions to use Darayut/khmer-text-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Darayut/khmer-text-recognition 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="Darayut/khmer-text-recognition", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Darayut/khmer-text-recognition", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download assets/dataset-overview.png from Darayut/khmer-text-recognition: direct link, hf CLI and curl.
- Browser
- Download file 329 kB
-
https://huggingface.co/Darayut/khmer-text-recognition/resolve/main/assets/dataset-overview.png
- Command line
-
hf download hf://Darayut/khmer-text-recognition/assets/dataset-overview.png
-
curl -L -o dataset-overview.png https://huggingface.co/Darayut/khmer-text-recognition/resolve/main/assets/dataset-overview.png
329 kB

- Xet hash:
- 8ef9c087ec6ff60225ec469ac1d2208a368b5a6456ab496dfe33b2ad98f1ae5c
- Size of remote file:
- 329 kB
- SHA256:
- b3618b1cf1163e9df1d2435356aefd240c61d7438254e511edef5dd955cd61d0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.