Fill-Mask
Transformers
Safetensors
Khmer
English
albert
khmer
english
code-switching
masked-language-modeling
continued-pretraining
Run this model with HF Jobs
Run noson71/albert-khmer-codeswitch 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/noson71/albert-khmer-codeswitch. 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/noson71/albert-khmer-codeswitch 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 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
Download tokenizer_config.json from noson71/albert-khmer-codeswitch: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/noson71/albert-khmer-codeswitch/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://noson71/albert-khmer-codeswitch/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/noson71/albert-khmer-codeswitch/resolve/main/tokenizer_config.json
310 Bytes
| { | |
| "backend": "tokenizers", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "is_local": true, | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "model_max_length": 512, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "[UNK]" | |
| } | |