Translation
Transformers
ONNX
Safetensors
Khmer
blenderbot
text2text-generation
transliteration
romanization
romanized-khmer
khmer
character-level
int8
keyboard
on-device
Eval Results (legacy)
Instructions to use samdei/samdei-type-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samdei/samdei-type-mini with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" 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("translation", model="samdei/samdei-type-mini")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("samdei/samdei-type-mini") model = AutoModelForSeq2SeqLM.from_pretrained("samdei/samdei-type-mini", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download NOTICE from samdei/samdei-type-mini: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/samdei/samdei-type-mini/resolve/main/NOTICE
- Command line
-
hf download hf://samdei/samdei-type-mini/NOTICE
-
curl -L -o NOTICE https://huggingface.co/samdei/samdei-type-mini/resolve/main/NOTICE
1.06 kB
| Samdei Type Mini | |
| Copyright 2026 The Samdei Type Authors | |
| Licensed under the Apache License, Version 2.0 (see LICENSE). This covers every file in this | |
| repository: the ONNX graphs, onnx/vocab.json, rerank.json and the word language model. | |
| Word language model (lm/wordfull_nowiki_p25.json.gz) | |
| Word unigram and bigram counts of Khmer text, built without Wikipedia, from: | |
| - HPLT v2 (HPLT/HPLT2.0_cleaned, khm_Khmr): CC0 packaging; the Common Crawl Terms of Use | |
| apply to the text. | |
| - FineWeb-2 (HuggingFaceFW/fineweb-2, khm_Khmr): ODC-By 1.0; the Common Crawl Terms of Use | |
| apply to the text. | |
| - Asian Language Treebank (ALT), Khmer side: CC BY 4.0. | |
| - Samdei Type chat sentences (samdei/samdei-type-resources): CC BY 4.0. | |
| Training data | |
| The model was trained on samdei/samdei-type-pretraining-data and | |
| samdei/samdei-type-finetuning-data (CC BY-SA 4.0); their cards list every source. Part of the | |
| fine-tuning pairs were spelled with a table derived from the Chhunneng romanized Khmer | |
| dataset, MIT License, Copyright (c) 2025 Chrea Chanchhunneng. | |