Instructions to use channudam/khmer-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use channudam/khmer-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="channudam/khmer-roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("channudam/khmer-roberta-base") model = AutoModelForMaskedLM.from_pretrained("channudam/khmer-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatureThis model is trained with Khmer annotation dataset in kaggle (https://www.kaggle.com/datasets/keatchakravuth/khmer-annotation). This data set contains around <b>26K Khmer sentences</b>. The images from this dataset are also used to build OCR model by using this model as the decoder as well. This is a decoding model using Roberta. <b>Using this model as a decoder with Vision Encoder Decoder Model (ViED) is recommended</b>. This model fully supports for Khmer language with Byte-Pair Encoding (BPE) for character-level. Please refer to this link (https://huggingface.co/channudam/khmer-xlm-roberta-base) for Byte-Pair Encoding (BPE) for word-level.99373a1 -
add model files
4c750c9 -
initial commit
Verified signature21b3292