Views
No views yet
Qwen/Qwen3-8B1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B", torch_dtype="auto", device_map="auto")
5model = PeftModel.from_pretrained(base, "adamkarvonen/Llama-data-qwen3_8b_on_llama3_1_8b_counterfactual_24k_e1_kl0")
6tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-8B")Qwen/Qwen3-8B) is Apache-2.0, but this adapter was trained on outputs of Meta's Llama-3.1-8B. Per the Llama 3.1 Community License it is therefore named with the Llama-data- prefix and distributed under that license. Training data has additional upstream terms — see the dataset card.