u-10bei/sft_alfworld_trajectory_dataset_v5
Viewer • Updated • 2.5k • 227
How to use TToyo2511/ttoyo_advance_2c11 with PEFT:
Task type is invalid.
This repository provides a LoRA adapter fine-tuned from Qwen/Qwen3-4B-Instruct-2507 using 2-Phase Sequential Fine-Tuning with LoRA + Unsloth.
Problem: Single-phase training causes trade-off between ALFWorld and DBBench. When DBBench improves, ALFWorld degrades.
Solution: Sequential fine-tuning minimizes catastrophic forgetting:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base = "Qwen/Qwen3-4B-Instruct-2507"
adapter = "TToyo2511/ttoyo_advance_2c11" #★TTT20260225 2c11版
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: 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 and the base model's original terms of use.
Base model
Qwen/Qwen3-4B-Instruct-2507