Commit
•
599bdd9
1
Parent(s):
9d35e5c
Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
36 |
model_name = 'VMware/open-llama-7B-open-instruct-v1.1'
|
37 |
|
38 |
|
39 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
40 |
|
41 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype= torch.float16, device_map = 'sequential')
|
42 |
|
|
|
36 |
model_name = 'VMware/open-llama-7B-open-instruct-v1.1'
|
37 |
|
38 |
|
39 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=False)
|
40 |
|
41 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype= torch.float16, device_map = 'sequential')
|
42 |
|