Update README.md
Browse files
README.md
CHANGED
@@ -21,8 +21,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
21 |
import torch
|
22 |
from peft import PeftModel
|
23 |
device = 'auto'
|
24 |
-
tokenizer = AutoTokenizer.from_pretrained("w8ay/
|
25 |
-
model = AutoModelForCausalLM.from_pretrained("w8ay/
|
26 |
trust_remote_code=True,
|
27 |
device_map=device,
|
28 |
torch_dtype=torch.float16)
|
|
|
21 |
import torch
|
22 |
from peft import PeftModel
|
23 |
device = 'auto'
|
24 |
+
tokenizer = AutoTokenizer.from_pretrained("w8ay/secgpt1_5", trust_remote_code=True)
|
25 |
+
model = AutoModelForCausalLM.from_pretrained("w8ay/secgpt1_5",
|
26 |
trust_remote_code=True,
|
27 |
device_map=device,
|
28 |
torch_dtype=torch.float16)
|