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

Atharv65
/
gemma_3_4b

Transformers
Safetensors
GGUF
unsloth
imatrix
conversational
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use Atharv65/gemma_3_4b with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Atharv65/gemma_3_4b", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use Atharv65/gemma_3_4b 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 Atharv65/gemma_3_4b
    # Run inference directly in the terminal:
    llama cli -hf Atharv65/gemma_3_4b
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Atharv65/gemma_3_4b
    # Run inference directly in the terminal:
    llama cli -hf Atharv65/gemma_3_4b
    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 Atharv65/gemma_3_4b
    # Run inference directly in the terminal:
    ./llama-cli -hf Atharv65/gemma_3_4b
    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 Atharv65/gemma_3_4b
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf Atharv65/gemma_3_4b
    Use Docker
    docker model run hf.co/Atharv65/gemma_3_4b
  • LM Studio
  • Jan
  • Ollama

    How to use Atharv65/gemma_3_4b with Ollama:

    ollama run hf.co/Atharv65/gemma_3_4b
  • Unsloth Desktop
  • Docker Model Runner

    How to use Atharv65/gemma_3_4b with Docker Model Runner:

    docker model run hf.co/Atharv65/gemma_3_4b
  • Lemonade

    How to use Atharv65/gemma_3_4b with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Atharv65/gemma_3_4b
    Run and chat with the model
    lemonade run user.gemma_3_4b-{{QUANT_TAG}}
    List all available models
    lemonade list
  • Atomic Chat
gemma_3_4b
2.59 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Atharv65's picture
Atharv65
Upload gemma-3-4b-it-Q4.gguf
5ab7589 verified over 1 year ago
  • .gitattributes
    1.63 kB
    Upload gemma-3-4b-it-Q4.gguf over 1 year ago
  • README.md
    5.18 kB
    Upload model trained with Unsloth over 1 year ago
  • adapter_config.json
    1.1 kB
    Upload model trained with Unsloth over 1 year ago
  • adapter_model.safetensors
    59.7 MB
    xet
    Upload model trained with Unsloth over 1 year ago
  • added_tokens.json
    35 Bytes
    Upload model trained with Unsloth over 1 year ago
  • chat_template.jinja
    1.53 kB
    Upload model trained with Unsloth over 1 year ago
  • gemma-3-4b-it-Q4.gguf
    2.49 GB
    xet
    Upload gemma-3-4b-it-Q4.gguf over 1 year ago
  • preprocessor_config.json
    570 Bytes
    Upload model trained with Unsloth over 1 year ago
  • processor_config.json
    70 Bytes
    Upload model trained with Unsloth over 1 year ago
  • special_tokens_map.json
    670 Bytes
    Upload model trained with Unsloth over 1 year ago
  • tokenizer.json
    33.4 MB
    xet
    Upload model trained with Unsloth over 1 year ago
  • tokenizer.model
    4.69 MB
    xet
    Upload model trained with Unsloth over 1 year ago
  • tokenizer_config.json
    1.16 MB
    Upload model trained with Unsloth over 1 year ago