Views
No views yet
<thinking>...</thinking>)yaml, json, xml, toml, ```csv)1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3import torch
4
5base = "Qwen/Qwen3-4B-Instruct-2507"
6adapter = "yuk1chan/qwen3-4b-structeval-cleaned-20k-lr8e-6-r16-a32-ep1"
7
8tokenizer = AutoTokenizer.from_pretrained(base)
9model = AutoModelForCausalLM.from_pretrained(
10 base,
11 torch_dtype=torch.float16,
12 device_map="auto",
13)
14model = PeftModel.from_pretrained(model, adapter)
15
16Sources & Terms (IMPORTANT)
17
18Training data: Cleaned locally from 9 Hugging Face datasets:
19- u-10bei/structured_data_with_cot_dataset_512_v2
20- u-10bei/structured_data_with_cot_dataset_512_v4
21- u-10bei/structured_data_with_cot_dataset_512_v5
22- u-10bei/structured_data_with_cot_dataset_512
23- u-10bei/structured_data_with_cot_dataset_v2
24- u-10bei/structured_data_with_cot_dataset
25- daichira/structured-3k-mix-sft
26- daichira/structured-5k-mix-sft
27- daichira/structured-hard-sft-4k
28
29Original datasets are licensed under MIT License.
30This cleaned dataset and adapter are used and distributed under the terms of the MIT License.
31Compliance: Users must comply with the MIT license (including copyright notice) and the base model's original terms of use.