From 37499c97b07955ba00ef735ab2fb1d7f48743310 Mon Sep 17 00:00:00 2001 From: Defi Wimar Date: Wed, 3 Sep 2025 14:38:41 +0300 Subject: [PATCH] chore: Fix Typos (#3246) --- unsloth/chat_templates.py | 2 +- unsloth/models/llama.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py index fc86166fa0..7f00c7741c 100644 --- a/unsloth/chat_templates.py +++ b/unsloth/chat_templates.py @@ -2862,7 +2862,7 @@ extra_eos_tokens = None, jinja_template, flags = re.MULTILINE | re.DOTALL, ) - # Check jinja tempate for bos + # Check jinja template for bos if always_bos_token: if not jinja_template.startswith(("{{ bos_token }}", "{{- bos_token }}")): jinja_template = "{{ bos_token }}" + jinja_template diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py index 6858517f25..68c67c6ce8 100644 --- a/unsloth/models/llama.py +++ b/unsloth/models/llama.py @@ -2835,7 +2835,7 @@ class FastLlamaModel: for idx, layer in enumerate(model.model.model.layers): if model_type != "falcon_h1": - # LoRAMLP.apply doesn't have functionality for gate and down mutlipliers yet. + # LoRAMLP.apply doesn't have functionality for gate and down multipliers yet. # Don't patch falcon h1 for the time being. # MLP patching