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

BattlescarZa
/
gemma2-micro-2b-multilingual

Transformers
Safetensors
GGUF
English
gemma2
text-generation-inference
unsloth
trl
sft
conversational
Model card Files Files and versions
xet
Community

Instructions to use BattlescarZa/gemma2-micro-2b-multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use BattlescarZa/gemma2-micro-2b-multilingual with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("BattlescarZa/gemma2-micro-2b-multilingual", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

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

    How to use BattlescarZa/gemma2-micro-2b-multilingual with Ollama:

    ollama run hf.co/BattlescarZa/gemma2-micro-2b-multilingual:BF16
  • Unsloth Studio

    How to use BattlescarZa/gemma2-micro-2b-multilingual 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 BattlescarZa/gemma2-micro-2b-multilingual 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 BattlescarZa/gemma2-micro-2b-multilingual to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for BattlescarZa/gemma2-micro-2b-multilingual to start chatting
  • Docker Model Runner

    How to use BattlescarZa/gemma2-micro-2b-multilingual with Docker Model Runner:

    docker model run hf.co/BattlescarZa/gemma2-micro-2b-multilingual:BF16
  • Lemonade

    How to use BattlescarZa/gemma2-micro-2b-multilingual with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull BattlescarZa/gemma2-micro-2b-multilingual:BF16
    Run and chat with the model
    lemonade run user.gemma2-micro-2b-multilingual-BF16
    List all available models
    lemonade list
  • Atomic Chat
gemma2-micro-2b-multilingual
12.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
BattlescarZa's picture
BattlescarZa
(Trained with Unsloth)
2497324 verified almost 2 years ago
  • .gitattributes
    1.68 kB
    (Trained with Unsloth) almost 2 years ago
  • README.md
    593 Bytes
    Trained with Unsloth almost 2 years ago
  • config.json
    30 Bytes
    (Trained with Unsloth) almost 2 years ago
  • generation_config.json
    209 Bytes
    Trained with Unsloth almost 2 years ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Trained with Unsloth almost 2 years ago
  • model-00002-of-00002.safetensors
    241 MB
    xet
    Trained with Unsloth almost 2 years ago
  • model.safetensors.index.json
    24.2 kB
    Trained with Unsloth almost 2 years ago
  • special_tokens_map.json
    555 Bytes
    Upload tokenizer almost 2 years ago
  • tokenizer.json
    17.5 MB
    xet
    Upload tokenizer almost 2 years ago
  • tokenizer.model
    4.24 MB
    xet
    Upload tokenizer almost 2 years ago
  • tokenizer_config.json
    46.9 kB
    Upload tokenizer almost 2 years ago
  • unsloth.BF16.gguf
    5.24 GB
    xet
    (Trained with Unsloth) almost 2 years ago
  • unsloth.Q4_K_M.gguf
    1.71 GB
    xet
    (Trained with Unsloth) almost 2 years ago