Downloads · 30 days
0
ravinarayanan/gemma-2b-soql-qlora-ONNX
gemma-2b-soql-qlora-ONNX is a machine learning model from ravinarayanan. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.js.
Merged from ravinarayanan/gemma-2b-soql-qlora (QLoRA adapter) onto unsloth/gemma-4-E2B-it, stripped to text-only, exported to ONNX via the transformers.js community converter.
Downloads · 30 days
0
Access
Public
Updated Jul 4, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.jinja16.8 KB · 85%
From the Hugging Face model README
Merged from ravinarayanan/gemma-2b-soql-qlora (QLoRA adapter) onto unsloth/gemma-4-E2B-it, stripped to text-only, exported to ONNX via the transformers.js community converter.
18 held-out NL->SOQL prompts from dataset_val_raw.jsonl (never seen during training), exact-match after whitespace/case normalization. Generated with { "role": "system", "content": "You are a helpful Salesforce AI assistant. Answer general questions using your own knowledge. When asked to write a SOQL query, reason through the schema and requirements, then produce the correct SOQL query." } and greedy decoding.
| Variant | vs. ground truth | vs. bf16 baseline |
|---|---|---|
| baseline (merged PyTorch, bf16) | 0.0% | -- |
Note: ONNX-side accuracy could not be measured in the environment this was published from (optimum.onnxruntime unavailable/incompatible). Published quant q4 is an untested default, not a validated pick -- confirm behavior with the Node.js smoke test (step 9 of the conversion notebook) before relying on it.
Published quant: q4 (smallest quant that did not regress vs. baseline).
Validated on 2026-07-04.