Downloads · 30 days
0
HamadaMayu/qwen2.5-7b-agent-trajectory-lora-marged-mixed_db_alf_1to1
qwen2.5-7b-agent-trajectory-lora-marged-mixed_db_alf_1to1 is a text generation model from HamadaMayu. 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.
This repository provides a fully merged model. The LoRA adapter has already been merged into the base model.
Downloads · 30 days
0
Access
Public
Updated Feb 16, 2026
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 repository provides a fully merged model. The LoRA adapter has already been merged into the base model.
This adapter is trained to improve multi-turn agent task performance on ALFWorld (household tasks) and DBBench (database operations).
Loss is applied to all assistant turns in the multi-turn trajectory, enabling the model to learn environment observation, action selection, tool use, and recovery from errors.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base = "Qwen/Qwen2.5-7B-Instruct"
adapter = "your_id/your-repo"
tokenizer = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(
base,
torch_dtype=torch.float16,
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter)
Training data:
Dataset License: See the dataset card for each dataset above. Compliance: Users must comply with each dataset license and the base model terms of use.