ClosedCharacter commited on
Commit
a2afed0
1 Parent(s): 4e5972d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -38,7 +38,7 @@ import torch
38
  from transformers import AutoModelForCausalLM, AutoTokenizer
39
 
40
  model_name_or_path = "ClosedCharacter/Peach-9B-8k-Roleplay"
41
- tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
42
  model = AutoModelForCausalLM.from_pretrained(
43
  model_name_or_path, torch_dtype=torch.bfloat16,
44
  trust_remote_code=True, device_map="auto")
 
38
  from transformers import AutoModelForCausalLM, AutoTokenizer
39
 
40
  model_name_or_path = "ClosedCharacter/Peach-9B-8k-Roleplay"
41
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=False)
42
  model = AutoModelForCausalLM.from_pretrained(
43
  model_name_or_path, torch_dtype=torch.bfloat16,
44
  trust_remote_code=True, device_map="auto")