Update README.md
Browse files
README.md
CHANGED
@@ -43,7 +43,7 @@ base_model = AutoModelForCausalLM.from_pretrained(
|
|
43 |
load_in_8bit=True,
|
44 |
torch_dtype=torch.float16,
|
45 |
)
|
46 |
-
|
47 |
eval_tokenizer = AutoTokenizer.from_pretrained(base_model_id, add_bos_token=True, trust_remote_code=True, use_fast=False)
|
48 |
eval_tokenizer.pad_token = tokenizer.eos_token
|
49 |
|
|
|
43 |
load_in_8bit=True,
|
44 |
torch_dtype=torch.float16,
|
45 |
)
|
46 |
+
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
47 |
eval_tokenizer = AutoTokenizer.from_pretrained(base_model_id, add_bos_token=True, trust_remote_code=True, use_fast=False)
|
48 |
eval_tokenizer.pad_token = tokenizer.eos_token
|
49 |
|