Views
No views yet
XGenerationLab/XiYanSQL-QwenCoder-7B-2504.birdsql/bird-critic-1.0-open1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3model_id = "your-hf-username/XiYanSQL-QwenCoder-7B-2504-W4A16-GPTQ"
4
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id,
8 device_map="auto",
9 trust_remote_code=False,
10)| Setting | Value |
|---|---|
| Base model | XGenerationLab/XiYanSQL-QwenCoder-7B-2504 |
| Output folder | XiYanSQL-QwenCoder-7B-2504-W4A16-GPTQ |
| Quantization scheme | GPTQ |
| Weight / activation format | W4A16 |
| Model architecture | qwen2 |
| Calibration dataset | birdsql/bird-critic-1.0-open |
| Calibration split | open |
| Dataset configuration | n/a |
| Calibration samples used | 256 |
| Max sequence length | 2048 |
| Max GPU memory budget | 10.0 GiB |
| Sequential onloading | yes |
| Requested sequential targets | safe-auto |
| Effective sequential targets | Qwen2Attention, Qwen2MLP |
| Sequential targets per subgraph | 1 |
| trust_remote_code | no |
| Memory preflight mode | off |
| vLLM smoke test requested | no |
| Setting | Value |
|---|---|
| Generated at (UTC) | 2026-05-03T21:28:14Z |
| Runner entrypoint | uv run quantizer/run.py |
| llmcompressor | 0.10.1.dev127+g76b28ce7 |
| transformers | 5.6.2 |
| torch | 2.11.0+cu130 |
| compressed-tensors | 0.15.1a20260428 |