fix typo re model_path (#3)
Browse files- fix typo re model_path (5e63af0bc26c6d651705d2dd85d079baceff9ddb)
Co-authored-by: Asghar Ghorbani <aghorbani@users.noreply.huggingface.co>
README.md
CHANGED
@@ -55,7 +55,7 @@ model = AutoModel.from_pretrained(
|
|
55 |
torch_dtype=torch.bfloat16,
|
56 |
low_cpu_mem_usage=True,
|
57 |
trust_remote_code=True).eval().cuda()
|
58 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
59 |
generation_config = dict(max_new_tokens=1024, do_sample=True)
|
60 |
|
61 |
|
|
|
55 |
torch_dtype=torch.bfloat16,
|
56 |
low_cpu_mem_usage=True,
|
57 |
trust_remote_code=True).eval().cuda()
|
58 |
+
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True, use_fast=False)
|
59 |
generation_config = dict(max_new_tokens=1024, do_sample=True)
|
60 |
|
61 |
|