Downloads · 30 days
2
8% of all-time downloads
NiekWork/gemma-3-12b-logql-finetune-0q
gemma-3-12b-logql-finetune-0q is a image-text-to-text model from NiekWork. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Fine-tuned Gemma 3 12B for LogQL Query Generation [Standard HF]
Downloads · 30 days
2
8% of all-time downloads
All-time downloads
24
Public
Parameters
12.2B
24.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors24.4 GB · 100%
From the Hugging Face model README
Fine-tuned Gemma 3 12B for LogQL Query Generation [Standard HF]
This model is fine-tuned from Google's Gemma 3 12B to generate LogQL queries from natural language descriptions.
Base Model: google/gemma-3-12b-it
Architecture: Gemma3
Format: Standard Hugging Face / Transformers
Use Case: LogQL query generation
This model can be loaded directly using the transformers library.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_name = "NiekWork/gemma-3-12b-logql-finetune-0q"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
# Load in 8-bit mode if dynamically quantized
load_in_8bit=False,
torch_dtype=torch.bfloat16
)
prompt = "find the 5xx errors from the last 1 hour"
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
# Generate text
output = model.generate(input_ids.to(model.device), max_new_tokens=100)
print(tokenizer.decode(output[0], skip_special_tokens=True))