You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to fix it following snippet
`tokenizer = AutoTokenizer.from_pretrained(pretrained_model_name_or_path=model_name)
tokenizer.pad_token = tokenizer.unk_token
tokenizer.pad_token_id = tokenizer.unk_token_id
model, tokenizer = setup_chat_format(model=model, tokenizer=tokenizer)
tokenizer.pad_token = tokenizer.unk_token
I was able to fix it following snippet
`tokenizer = AutoTokenizer.from_pretrained(pretrained_model_name_or_path=model_name)
tokenizer.pad_token = tokenizer.unk_token
tokenizer.pad_token_id = tokenizer.unk_token_id
model, tokenizer = setup_chat_format(model=model, tokenizer=tokenizer)
tokenizer.pad_token = tokenizer.unk_token
finetune_name = "SmolLM2-FT-MyDataset"
finetune_tags = ["smol-course", "module_1"]`
The text was updated successfully, but these errors were encountered: