qwen2.5-7b-agent-trajectory-lora
This repository provides a LoRA adapter fine-tuned from Qwen/Qwen2.5-7B-Instruct using LoRA + Unsloth. This adapter is specifically optimized for high-performance autonomous agents that balance spatial efficiency and logical reasoning.
Training Configuration
- Base model: Qwen/Qwen2.5-7B-Instruct
- Method: LoRA (Unsloth optimized)
- Max sequence length: 4096
- Epochs: 2
- Learning rate: 2e-06
- LoRA Config: r=64, alpha=128
Usage
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)
Sources & Terms (IMPORTANT)
Training data: alfworld_cleaned_v12_admissible_fix.jsonl
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.
- Downloads last month
- -