Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

samdei
/
samdei-type-base

Translation
Transformers
ONNX
Safetensors
PyTorch
Khmer
blenderbot
text2text-generation
transliteration
romanization
romanized-khmer
khmer
character-level
int8
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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
samdei-type-base / lm
22.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
mengsay's picture
mengsay
Initial private draft of the Samdei Type release
7a7ad8f verified 2 days ago
  • char5_nowiki.npz
    9.33 MB
    xet
    Initial private draft of the Samdei Type release 2 days ago
  • wordfull_nowiki.json.gz
    12.8 MB
    xet
    Initial private draft of the Samdei Type release 2 days ago