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

shibatch
/
tinygemma4text3m

Transformers
Safetensors
GGUF
gemma4
gemma4-text
causal-lm
tinystories
tiny-model
validation
debug-model
Model card Files Files and versions
xet
Community

Instructions to use shibatch/tinygemma4text3m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use shibatch/tinygemma4text3m with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("shibatch/tinygemma4text3m", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use shibatch/tinygemma4text3m with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf shibatch/tinygemma4text3m:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf shibatch/tinygemma4text3m:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf shibatch/tinygemma4text3m:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf shibatch/tinygemma4text3m:Q4_K_M
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf shibatch/tinygemma4text3m:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf shibatch/tinygemma4text3m:Q4_K_M
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf shibatch/tinygemma4text3m:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf shibatch/tinygemma4text3m:Q4_K_M
    Use Docker
    docker model run hf.co/shibatch/tinygemma4text3m:Q4_K_M
  • LM Studio
  • Jan
  • Ollama

    How to use shibatch/tinygemma4text3m with Ollama:

    ollama run hf.co/shibatch/tinygemma4text3m:Q4_K_M
  • Unsloth Desktop
  • Docker Model Runner

    How to use shibatch/tinygemma4text3m with Docker Model Runner:

    docker model run hf.co/shibatch/tinygemma4text3m:Q4_K_M
  • Lemonade

    How to use shibatch/tinygemma4text3m with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull shibatch/tinygemma4text3m:Q4_K_M
    Run and chat with the model
    lemonade run user.tinygemma4text3m-Q4_K_M
    List all available models
    lemonade list
  • Atomic Chat
tinygemma4text3m / tokenizer_train
15.8 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
shibatch's picture
shibatch
Upload folder using huggingface_hub
64d8472 verified 3 months ago
  • merges.txt
    4.93 kB
    Upload folder using huggingface_hub 3 months ago
  • vocab.json
    10.9 kB
    Upload folder using huggingface_hub 3 months ago