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.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model_name = "edomurasaki/qwen3-4b-agent-trajectory" # the merged model repo
5
6tokenizer = AutoTokenizer.from_pretrained(model_name)
7model = AutoModelForCausalLM.from_pretrained(
8 model_name,
9 torch_dtype=torch.float16,
10 device_map="auto",
11)
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.