Views
No views yet
| 参数 | 值 |
|---|---|
| 基座模型 | allenai/Olmo-3-7B-Instruct |
| 量化 | 4bit (bitsandbytes) |
| LoRA 秩 r | 16 |
| LoRA alpha | 16 |
| 学习率 | 1e-4 |
| Epochs | 2 |
| 数据集 | jodiox/my-sft-dataset |
| 训练框架 | unsloth + TRL SFTTrainer |
1from unsloth import FastLanguageModel
2
3model, tokenizer = FastLanguageModel.from_pretrained(
4 model_name="jodiox/olmo3-7b-zh-lora",
5 max_seq_length=2048,
6 load_in_4bit=True,
7)
8FastLanguageModel.for_inference(model)