Image-to-Text
Transformers
Safetensors
Khmer
English
khmer-ocr
feature-extraction
ocr
text-recognition
khmer-text-recognition
transformer
squeeze-and-excitation
netra-lab
custom_code
Run this model with HF Jobs
Run Darayut/khmer-text-recognition on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Darayut/khmer-text-recognition. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Darayut/khmer-text-recognition on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 khmerocr_epoch500.pth from Darayut/khmer-text-recognition: direct link, hf CLI and curl.
- Browser
- Download file 70.9 MB
-
https://huggingface.co/Darayut/khmer-text-recognition/resolve/main/khmerocr_epoch500.pth
- Command line
-
hf download hf://Darayut/khmer-text-recognition/khmerocr_epoch500.pth
-
curl -L -o khmerocr_epoch500.pth https://huggingface.co/Darayut/khmer-text-recognition/resolve/main/khmerocr_epoch500.pth
70.9 MB
- Xet hash:
- 3768cd006c68fd0381388fa6455c3826171501d131be5b5578b7c8f733728628
- Size of remote file:
- 70.9 MB
- SHA256:
- da525a0d002e38c15dbd094e9c4e2131d78f80a91bf5aa0b728b772b55db1a9d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.