Downloads · 30 days
6
14% of all-time downloads
GuQ1ng/TrajAD-Qwen3-8B-Adapter
TrajAD-Qwen3-8B-Adapter is a text generation model from GuQ1ng. Use it when you need the model to write or continue text. It is set up for peft.
这是一个基于 Qwen/Qwen3-8B 微调得到的 QLoRA adapter。
Downloads · 30 days
6
14% of all-time downloads
All-time downloads
42
Public
Repo size
186 MB
Likes
0
Public
Click a slice to open those files.
.safetensors175 MB · 92%
From the Hugging Face model README
这是一个基于 Qwen/Qwen3-8B 微调得到的 QLoRA adapter。
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base_model = "Qwen/Qwen3-8B"
adapter_repo = "GuQ1ng/TrajAD-Qwen3-8B-Adapter"
tokenizer = AutoTokenizer.from_pretrained(adapter_repo)
base = AutoModelForCausalLM.from_pretrained(
base_model,
torch_dtype="auto",
device_map="auto"
)
model = PeftModel.from_pretrained(base, adapter_repo)