ArthurZ HF staff commited on
Commit
e96042a
1 Parent(s): 52557a5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -46,7 +46,7 @@ from datasets import load_dataset
46
  from trl import SFTTrainer
47
  from peft import LoraConfig
48
  from transformers import AutoTokenizer, AutoModelForCausalLM, TrainingArguments
49
- tokenizer = AutoTokenizer.from_pretrained("state-spaces/mamba-370m-hf", pad_token ="<s>")
50
  model = AutoModelForCausalLM.from_pretrained("state-spaces/mamba-370m-hf")
51
  dataset = load_dataset("Abirate/english_quotes", split="train")
52
  training_args = TrainingArguments(
 
46
  from trl import SFTTrainer
47
  from peft import LoraConfig
48
  from transformers import AutoTokenizer, AutoModelForCausalLM, TrainingArguments
49
+ tokenizer = AutoTokenizer.from_pretrained("state-spaces/mamba-370m-hf")
50
  model = AutoModelForCausalLM.from_pretrained("state-spaces/mamba-370m-hf")
51
  dataset = load_dataset("Abirate/english_quotes", split="train")
52
  training_args = TrainingArguments(