Skip to content

Commit 64b4048

Browse files
authored
chore: Fix Typos (#3246)
1 parent 658a470 commit 64b4048

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

unsloth/chat_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2862,7 +2862,7 @@ def process(part, which, content = "message['content']"):
28622862
jinja_template, flags = re.MULTILINE | re.DOTALL,
28632863
)
28642864

2865-
# Check jinja tempate for bos
2865+
# Check jinja template for bos
28662866
if always_bos_token:
28672867
if not jinja_template.startswith(("{{ bos_token }}", "{{- bos_token }}")):
28682868
jinja_template = "{{ bos_token }}" + jinja_template

unsloth/models/llama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2835,7 +2835,7 @@ def patch_peft_model(
28352835
for idx, layer in enumerate(model.model.model.layers):
28362836

28372837
if model_type != "falcon_h1":
2838-
# LoRAMLP.apply doesn't have functionality for gate and down mutlipliers yet.
2838+
# LoRAMLP.apply doesn't have functionality for gate and down multipliers yet.
28392839
# Don't patch falcon h1 for the time being.
28402840

28412841
# MLP patching

0 commit comments

Comments
 (0)