Skip to content

Commit

Permalink
update alpaca_lora
Browse files Browse the repository at this point in the history
  • Loading branch information
jianzhnie committed Jun 1, 2023
1 parent 6d164c2 commit 133a773
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/alpaca/train_alpaca_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ def train(load_in_8bit=False) -> None:
)

# Resize the tokenizer's vocabulary size to accommodate additional special tokens, if necessary
tokenizer.pad_token = tokenizer.eos_token
special_tokens_dict = {}
if tokenizer.pad_token is None:
special_tokens_dict['pad_token'] = DEFAULT_PAD_TOKEN
Expand Down

0 comments on commit 133a773

Please sign in to comment.