Fill-Mask
Transformers
Safetensors
Khmer
English
albert
khmer
english
code-switching
masked-language-modeling
continued-pretraining
Instructions to use noson71/albert-khmer-codeswitch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use noson71/albert-khmer-codeswitch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="noson71/albert-khmer-codeswitch")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("noson71/albert-khmer-codeswitch") model = AutoModelForMaskedLM.from_pretrained("noson71/albert-khmer-codeswitch", device_map="auto") - Notebooks
- Google Colab
- Kaggle