Update README.md
Browse files
README.md
CHANGED
@@ -41,8 +41,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
41 |
|
42 |
torch.set_default_device("cuda")
|
43 |
|
44 |
-
model = AutoModelForCausalLM.from_pretrained("
|
45 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
46 |
|
47 |
inputs = tokenizer('''Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
48 |
|
|
|
41 |
|
42 |
torch.set_default_device("cuda")
|
43 |
|
44 |
+
model = AutoModelForCausalLM.from_pretrained("field2437/phi-2-test", torch_dtype="auto", trust_remote_code=True)
|
45 |
+
tokenizer = AutoTokenizer.from_pretrained("field2437/phi-2-test", trust_remote_code=True)
|
46 |
|
47 |
inputs = tokenizer('''Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
48 |
|