This model is part of an execution-grounded SQL debugging workflow built on OpenEnv tasks. The key idea is to optimize for runtime correctness rather than only text-level plausibility.
Training signals are generated from deterministic OpenEnv SQL debugging tasks using reset/step interaction loops and execution-based grading.
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3model_id = "md896/sql-debug-agent-qwen25-05b-grpo-wandb-continue-v2"
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(model_id)
6
7prompt = "Fix this SQL query based on schema and error context: SELECT * FROM userss;"
8inputs = tokenizer(prompt, return_tensors="pt")
9outputs = model.generate(**inputs, max_new_tokens=128)
10print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model was trained/evaluated across iterative cloud/local workflows. Exact carbon accounting is not yet logged in this card.