Skip to content

Commit

Permalink
Removed unsloth - HPU NOT SUPPORTED
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler-Odenthal authored Sep 17, 2024
1 parent 07f873b commit aa72e80
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/language-modeling/run_lora_clm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import sys
from dataclasses import dataclass, field
from typing import List, Optional
from unsloth.chat_templates import get_chat_template
# from unsloth.chat_templates import get_chat_template

import datasets
import evaluate
Expand Down Expand Up @@ -458,11 +458,11 @@ def main():
"You can do it from another script, save it, and load it from here, using --tokenizer_name."
)

tokenizer = get_chat_template(
tokenizer,
mapping={"role": "from", "content": "value", "user": "human", "assistant": "gpt"},
chat_template="chatml",
)
# tokenizer = get_chat_template(
# tokenizer,
# mapping={"role": "from", "content": "value", "user": "human", "assistant": "gpt"},
# chat_template="chatml",
# )

# Get the datasets
if data_args.dataset_name is not None:
Expand Down

0 comments on commit aa72e80

Please sign in to comment.