mark-22/dbbench_cleaned_for_agentbench
Viewer • Updated • 1.2k • 19
How to use mark-22/qwen3-4b-agent-trajectory-lora_3_LR with PEFT:
Task type is invalid.
This repository provides a Dual-Skill LoRA adapter fine-tuned from Qwen/Qwen3-4B-Instruct-2507. It is specifically optimized for two distinct agentic tasks: Household operations (ALFWorld) and Database interactions (DBBench).
| Parameter | Value |
|---|---|
| Base model | Qwen/Qwen3-4B-Instruct-2507 |
| Hardware | NVIDIA A100 SXM4 40GB |
| Precision | bfloat16 |
| Max context length | 3072 tokens |
| Epochs | 2 |
| Learning rate | 3e-06 |
| Batch size (effective) | 8 |
| LoRA Rank / Alpha | r=64 / a=128 |
| Target Modules | All Linear Layers (Q,K,V,O,Gate,Up,Down) |
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base = "Qwen/Qwen3-4B-Instruct-2507"
adapter = "your_id/your-repo-name"
tokenizer = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(
base,
torch_dtype=torch.bfloat16,
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter)
mark-22/alfworld_cleaned_for_agentbench_v4 - Focused on household task completion and navigation.mark-22/dbbench_cleaned_for_agentbench - Focused on SQL generation and database manipulation (UPDATE/SELECT).This adapter is distributed under the Apache-2.0 license. Please ensure compliance with the base model's usage terms.
Base model
Qwen/Qwen3-4B-Instruct-2507