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

Please refer gemma2B description and testing codes. Used datasets to lora add function calling HF: glaiveai/glaive-function-calling-v2 HF: hiyouga/glaive-function-calling-v2-sharegpt Author email: jieonline2004@gmail.com

Model Page: Gemma

This model card corresponds to the 2B base version of the Gemma model. You can also visit the model card of the 7B base model, 7B instruct model, and 2B instruct model.

Resources and Technical Documentation:

Gemma Technical Report
Responsible Generative AI Toolkit
Gemma on Kaggle
Gemma on Vertex Model Garden

Terms of Use: Terms

Authors: Google Model Information

Summary description and brief definition of inputs and outputs.

Downloads last month
32
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support