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-mini

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

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
samdei-type-mini
38.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
mengsay's picture
mengsay
Link the release article
d0ad1f5 verified 2 days ago
  • lm
    Initial private draft of the Samdei Type release 2 days ago
  • onnx
    Initial private draft of the Samdei Type release 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 2 days ago
  • LICENSE
    11.4 kB
    Initial private draft of the Samdei Type release 2 days ago
  • NOTICE
    1.06 kB
    Initial private draft of the Samdei Type release 2 days ago
  • README.md
    7.39 kB
    Link the release article 2 days ago
  • config.json
    5.08 kB
    Model folders in the transformers format (Blenderbot classes, tokenizer, generation config) 2 days ago
  • generation_config.json
    184 Bytes
    Model folders in the transformers format (Blenderbot classes, tokenizer, generation config) 2 days ago
  • model.safetensors
    29.7 MB
    xet
    Model folders in the transformers format (Blenderbot classes, tokenizer, generation config) 2 days ago
  • rerank.json
    697 Bytes
    Release cards: no paper URL yet, takedown contact via Community tab; rerank.json names the backend of the published scores 2 days ago
  • tokenizer.json
    9.24 kB
    Model folders in the transformers format (Blenderbot classes, tokenizer, generation config) 2 days ago
  • tokenizer_config.json
    326 Bytes
    Model folders in the transformers format (Blenderbot classes, tokenizer, generation config) 2 days ago