Commit
•
14c11c4
1
Parent(s):
444fe8f
Update README.md (#2)
Browse files- Update README.md (29eb44e14fd8c2a09799930dc8703896340394fc)
Co-authored-by: GoForce5500 <goforce5500@users.noreply.huggingface.co>
README.md
CHANGED
@@ -135,7 +135,7 @@ def load_model_tokenizer(model_name_or_local_path):
|
|
135 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_local_path,
|
136 |
trust_remote_code=True,
|
137 |
use_fast=False,
|
138 |
-
|
139 |
tokenizer.padding_side = "left"
|
140 |
|
141 |
model = AutoGPTQForCausalLM.from_quantized(model_name_or_local_path,
|
@@ -338,7 +338,7 @@ def load_model_tokenizer(model_name_or_local_path):
|
|
338 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_local_path,
|
339 |
trust_remote_code=True,
|
340 |
use_fast=False,
|
341 |
-
|
342 |
tokenizer.padding_side = "left"
|
343 |
|
344 |
model = AutoGPTQForCausalLM.from_quantized(model_name_or_local_path,
|
|
|
135 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_local_path,
|
136 |
trust_remote_code=True,
|
137 |
use_fast=False,
|
138 |
+
legacy=False)
|
139 |
tokenizer.padding_side = "left"
|
140 |
|
141 |
model = AutoGPTQForCausalLM.from_quantized(model_name_or_local_path,
|
|
|
338 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_local_path,
|
339 |
trust_remote_code=True,
|
340 |
use_fast=False,
|
341 |
+
legacy=False)
|
342 |
tokenizer.padding_side = "left"
|
343 |
|
344 |
model = AutoGPTQForCausalLM.from_quantized(model_name_or_local_path,
|