Gemma 4 12B — original-value ADQL fine-tune (GGUF)
Text inference export of Gemma 4 12B instruction-tuned with supervised LoRA fine-tuning for natural-language astronomy requests to Gaia ADQL SELECT queries.
Artifact
- File:
gemma4_12b-orig-BF16.gguf - Format: GGUF, BF16, without additional weight quantization.
- Size: 23,832,066,144 bytes (approximately 23.83 GB).
- Base:
google/gemma-4-12B-it, revision707f0a3b8a3c7ad586ed01e27eafbad8a27dd0f7. - LoRA adapter merged into base weights before conversion.
- Converted with ggml-org/llama.cpp commit
184f6536024668e8908ab8c86033d56708e62b40. - Text-model tensors and tokenizer/chat template included; multimodal projectors are not included.
Training
Two epochs of original-value NL-to-ADQL supervised fine-tuning, using 59,605 retained training descriptions and 7,433 validation descriptions. LoRA rank 16, alpha 32, dropout 0.05. See provenance.json for artifact metadata and checksum.
Validation and limitations
GGUF parsing, tensor count and bounds, expected file size, and chat-template presence were checked. End-to-end generation from this GGUF has not been validated. A compatible runtime must support the gemma4 architecture.
The training targets contain normalization artifacts. Generated queries may use underscore-prefixed aliases rejected by Gaia TAP, and some qualified wildcard references may be inconsistent with renamed aliases. A subsequent diagnostic found that consistently renaming affected aliases to letter-prefixed names recovered many failed queries. These weights have not been retrained to correct those target artifacts.
Static query equivalence is separate from live ADQL acceptance and scientific correctness. Validate generated ADQL against the intended schema and service.
Download
hf download Machacini/gemma-4-12b-adql-orig-GGUF gemma4_12b-orig-BF16.gguf --local-dir .
Authentication is required while this repository is private. Apply the embedded chat template when serving the model.
License
The pinned base-model repository declares Apache-2.0. The Apache-2.0 license text accompanies this derived artifact. Base-model attribution: Google, google/gemma-4-12B-it.