Downloads · 30 days
14
100% of all-time downloads
ximosss/ReViSQL-Qwen3-4B
ReViSQL-Qwen3-4B is a text generation model from ximosss. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter trained directly from Qwen/Qwen3-4B-Instruct-2507 with RLVR on expert-verified BIRD-Platinum data. This is the validation-selected step 1,300 adapter from the bird-text2sql-rl project.
Downloads · 30 days
14
100% of all-time downloads
All-time downloads
14
Public
Repo size
264 MB
Likes
0
Public
Click a slice to open those files.
.safetensors264 MB · 100%
From the Hugging Face model README
LoRA adapter trained directly from
Qwen/Qwen3-4B-Instruct-2507
with RLVR on expert-verified BIRD-Platinum data. This is the validation-selected
step 1,300 adapter from the
bird-text2sql-rl project.
| Dataset / decoding | Exact execution accuracy |
|---|---|
| Arcwise-Plat-SQL, greedy | 376/498 = 75.50% |
| Arcwise-Plat-SQL, SC-16 | 414/498 = 83.13% |
| Arcwise-Plat, greedy | 404/498 = 81.12% |
| BIRD Full Dev, greedy | 961/1,534 = 62.65% |
| BIRD Mini-Dev, greedy | 298/500 = 59.60% |
Greedy uses temperature 0. SC-16 samples 16 candidates at temperature 1 and selects the majority execution result. The model is evaluated as a SQL agent with up to five rounds of read-only database interaction; see the source repository for the exact prompt, environment, and evaluation contract.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model_id = "Qwen/Qwen3-4B-Instruct-2507"
adapter_id = "ximosss/ReViSQL-Qwen3-4B"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype="auto",
device_map="auto",
)
model = PeftModel.from_pretrained(base_model, adapter_id)
The adapter alone does not reproduce the benchmark protocol. Use the database tool environment and prompts in the source repository for evaluation.
1e-50.8