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

nphearum
/
Gemma-4-e2b-khmer-improved

Question Answering
Transformers
Safetensors
English
Khmer
gemma4
image-text-to-text
text-generation-inference
unsloth
khmer
Model card Files Files and versions
xet
Community

Instructions to use nphearum/Gemma-4-e2b-khmer-improved with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use nphearum/Gemma-4-e2b-khmer-improved with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="nphearum/Gemma-4-e2b-khmer-improved")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("nphearum/Gemma-4-e2b-khmer-improved")
    model = AutoModelForMultimodalLM.from_pretrained("nphearum/Gemma-4-e2b-khmer-improved")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use nphearum/Gemma-4-e2b-khmer-improved with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for nphearum/Gemma-4-e2b-khmer-improved to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for nphearum/Gemma-4-e2b-khmer-improved to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for nphearum/Gemma-4-e2b-khmer-improved to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="nphearum/Gemma-4-e2b-khmer-improved",
        max_seq_length=2048,
    )
Gemma-4-e2b-khmer-improved
10.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
nphearum's picture
nphearum
Update README.md
fdc6067 verified 3 months ago
  • .gitattributes
    1.57 kB
    (Trained with Unsloth) 3 months ago
  • README.md
    751 Bytes
    Update README.md 3 months ago
  • chat_template.jinja
    11.9 kB
    (Trained with Unsloth) 3 months ago
  • config.json
    5.92 kB
    (Trained with Unsloth) 3 months ago
  • model.safetensors
    10.2 GB
    xet
    (Trained with Unsloth) 3 months ago
  • processor_config.json
    1.69 kB
    (Trained with Unsloth) 3 months ago
  • tokenizer.json
    32.2 MB
    xet
    (Trained with Unsloth) 3 months ago
  • tokenizer_config.json
    14.9 kB
    (Trained with Unsloth) 3 months ago