Translation
Transformers
Safetensors
PyTorch
Khmer
blenderbot
text2text-generation
transliteration
romanization
romanized-khmer
khmer
character-level
pretrained
Instructions to use samdei/samdei-type-mini-pretrained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samdei/samdei-type-mini-pretrained 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-pretrained")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("samdei/samdei-type-mini-pretrained") model = AutoModelForSeq2SeqLM.from_pretrained("samdei/samdei-type-mini-pretrained", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
2 days ago
-
Link the release article
Verified signatureca257b4 -
Link the technical report (PDF on GitHub) in the card and citation
Verified signature33d046b -
Release cards: no paper URL yet, takedown contact via Community tab; rerank.json names the backend of the published scores
Verified signature2d6934c -
Shorter cards with a transformers quick start; translation task tag; author; samdei-type package
Verified signature8bdfc54 -
Initial private draft of the Samdei Type release
Verified signature7e0eaff