Translation
Transformers
ONNX
Safetensors
PyTorch
Khmer
blenderbot
text2text-generation
transliteration
romanization
romanized-khmer
khmer
character-level
int8
Eval Results (legacy)
Instructions to use samdei/samdei-type-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samdei/samdei-type-base 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-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("samdei/samdei-type-base") model = AutoModelForSeq2SeqLM.from_pretrained("samdei/samdei-type-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Release cards: no paper URL yet, takedown contact via Community tab; rerank.json names the backend of the published scores
Browse files- README.md +1 -2
- rerank.json +1 -0
README.md
CHANGED
|
@@ -160,7 +160,6 @@ Apache-2.0 (`LICENSE`; keep `NOTICE` when redistributing).
|
|
| 160 |
@misc{samdei-type-2026,
|
| 161 |
title = {Samdei Type: Separating What Is Written from How It Is Spelled for Romanized Khmer Transliteration},
|
| 162 |
author = {Mengsay Loem},
|
| 163 |
-
year = {2026}
|
| 164 |
-
url = {<paper-url>}
|
| 165 |
}
|
| 166 |
```
|
|
|
|
| 160 |
@misc{samdei-type-2026,
|
| 161 |
title = {Samdei Type: Separating What Is Written from How It Is Spelled for Romanized Khmer Transliteration},
|
| 162 |
author = {Mengsay Loem},
|
| 163 |
+
year = {2026}
|
|
|
|
| 164 |
}
|
| 165 |
```
|
rerank.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"model": "Samdei Type Base",
|
|
|
|
| 3 |
"beam": 5,
|
| 4 |
"chunk_max_words": 8,
|
| 5 |
"chunk_rule": "samdei_type.evaluation.chunk_source: at most 8 words per piece, break after any punctuation mark; pieces are decoded and reranked on their own and joined with a space",
|
|
|
|
| 1 |
{
|
| 2 |
"model": "Samdei Type Base",
|
| 3 |
+
"backend": "torch",
|
| 4 |
"beam": 5,
|
| 5 |
"chunk_max_words": 8,
|
| 6 |
"chunk_rule": "samdei_type.evaluation.chunk_source: at most 8 words per piece, break after any punctuation mark; pieces are decoded and reranked on their own and joined with a space",
|