How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="gaianet/gemma-2-9b-it-GGUF")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("gaianet/gemma-2-9b-it-GGUF")
model = AutoModelForCausalLM.from_pretrained("gaianet/gemma-2-9b-it-GGUF")
Quick Links

Gemma-2-9b-it-GGUF

Original Model

google/gemma-2-9b-it

Run with Gaianet

Prompt template:

prompt template: gemma-instruct

Context size:

  • Max

chat_ctx_size: 8192

  • Recommend

chat_ctx_size: 4096

Run with GaiaNet:

Quantized with llama.cpp b3259

Downloads last month
142
GGUF
Model size
9B params
Architecture
gemma2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for gaianet/gemma-2-9b-it-GGUF

Quantized
(163)
this model

Collection including gaianet/gemma-2-9b-it-GGUF