Downloads · 30 days
0
edomurasaki/qwen3-4b-agent-trajectory
qwen3-4b-agent-trajectory is a text generation model from edomurasaki. 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 merged model fine‑tuned from Qwen/Qwen3-4B-Instruct-2507 using LoRA + Unsloth.
Downloads · 30 days
0
Access
Public
Updated Mar 2, 2026
Parameters
4B
8.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
This repository provides a merged model fine‑tuned from Qwen/Qwen3-4B-Instruct-2507 using LoRA + Unsloth.
All LoRA adapter weights have been merged into the base model, so the resulting checkpoint is a self-contained model that can be loaded directly without needing a separate adapter.
The model was trained to improve multi-turn agent task performance on ALFWorld (household tasks) and DBBench (database operations).
Loss was 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
import torch
model_name = "edomurasaki/qwen3-4b-agent-trajectory" # the merged model repo
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.float16,
device_map="auto",
)
Training data: u-10bei/sft_alfworld_trajectory_dataset_v5
Dataset License: MIT License. This dataset is used and distributed under the terms of the MIT License. Compliance: Users must comply with the MIT license (including copyright notice) and the base model's original terms of use.