Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

seanghay
/
albert-khmer-small

Fill-Mask
Transformers
Safetensors
Khmer
albert
Model card Files Files and versions
xet
Community
1

Instructions to use seanghay/albert-khmer-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use seanghay/albert-khmer-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="seanghay/albert-khmer-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("seanghay/albert-khmer-small")
    model = AutoModelForMaskedLM.from_pretrained("seanghay/albert-khmer-small", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
albert-khmer-small
115 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 25 commits
seanghay's picture
seanghay
djsamseng's picture
djsamseng
Fix: Use SentencePiece directly instead of AlbertTokenizer which strips some important khmer characters (#1)
7ef51c0 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    4.35 kB
    Fix: Use SentencePiece directly instead of AlbertTokenizer which strips some important khmer characters (#1) 5 months ago
  • config.json
    691 Bytes
    Upload AlbertForMaskedLM 6 months ago
  • model.safetensors
    37.7 MB
    xet
    Upload folder using huggingface_hub 6 months ago
  • optimizer.pt
    75.4 MB
    xet
    Upload folder using huggingface_hub 6 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub 6 months ago
  • scaler.pt
    1.38 kB
    xet
    Upload folder using huggingface_hub 6 months ago
  • scheduler.pt
    1.47 kB
    xet
    Upload folder using huggingface_hub 6 months ago
  • special_tokens_map.json
    970 Bytes
    Upload tokenizer 6 months ago
  • spiece.model
    677 kB
    xet
    Upload tokenizer 6 months ago
  • tokenizer_config.json
    1.31 kB
    Upload tokenizer 6 months ago
  • trainer_state.json
    1.68 MB
    Upload folder using huggingface_hub 6 months ago
  • training_args.bin
    5.78 kB
    xet
    Upload folder using huggingface_hub 6 months ago