Downloads · 30 days
6
7% of all-time downloads
astom-M/matsuo-llm-advanced-dbbench-bf16
matsuo-llm-advanced-dbbench-bf16 is a text generation model from astom-M. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of Qwen/Qwen2.5-7B-Instruct for SQL generation tasks (DBBench).
Downloads · 30 days
6
7% of all-time downloads
All-time downloads
85
Public
Parameters
7.6B
15.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-7B-Instruct for SQL generation tasks (DBBench).
Key characteristics:
| Parameter | Value |
|---|---|
| LoRA rank (r) | 8 |
| LoRA alpha | 8 |
| LoRA dropout | 0 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Trainable params | ~0.14% of total |
| Parameter | Value |
|---|---|
| Learning rate | 2e-5 |
| Epochs | 0.3 |
| Batch size (effective) | 16 (1 × 16 grad accum) |
| Max sequence length | 4096 |
| LR scheduler | cosine |
| Optimizer | AdamW 8-bit |
| Warmup steps | 10 |
| Weight decay | 0.01 |
| Precision | bfloat16 |
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"astom-M/matsuo-llm-advanced-dbbench-bf16",
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(
"astom-M/matsuo-llm-advanced-dbbench-bf16",
trust_remote_code=True
)
python -m vllm.entrypoints.openai.api_server \
--model astom-M/matsuo-llm-advanced-dbbench-bf16 \
--dtype bfloat16 \
--max-model-len 4096
config.json does NOT contain quantization_config — clean bf16 model.torch.bfloat16 dtype.This model inherits the Apache 2.0 license from Qwen2.5-7B-Instruct.