This repository contains merged model data.
Loss is applied only to the final assistant output,
while intermediate reasoning (Chain-of-Thought) is masked.
1## Usage
2
3from transformers import AutoModelForCausalLM, AutoTokenizer
4import torch
5
6model_id = "sallm/qm3_2-lora-repo"
7
8tokenizer = AutoTokenizer.from_pretrained(model_id)
9model = AutoModelForCausalLM.from_pretrained(
10 model_id,
11 torch_dtype=torch.float16,
12 device_map="auto",
13)
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.