Downloads · 30 days
0
yrhong/diat-adapters-index
diat-adapters-index is a machine learning model from yrhong. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository is an index for LoRA adapters used in our DIAT models.
Downloads · 30 days
0
Access
Public
Updated Apr 14, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md1.6 KB · 40%
From the Hugging Face model README
This repository is an index for LoRA adapters used in our DIAT models.
Qwen/Qwen3-8Bmeta-llama/Llama-3.1-8B-InstructSee adapters.json in this repository.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = "Qwen/Qwen3-8B"
adapter_repo = "yrhong/qwen3-8b-diat-seed42"
model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(model, adapter_repo)
tokenizer = AutoTokenizer.from_pretrained(base_model)