Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ gen_kwargs = {
|
|
17 |
"num_return_sequences": 1
|
18 |
}
|
19 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
20 |
-
ft = '
|
21 |
tokenizer = AutoTokenizer.from_pretrained(ft)
|
22 |
model = AutoModelForCausalLM.from_pretrained(ft, torch_dtype=torch.float16, low_cpu_mem_usage=True)
|
23 |
model.to(device)
|
|
|
17 |
"num_return_sequences": 1
|
18 |
}
|
19 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
20 |
+
ft = 'zjkarina/ChatGPTJ_6B'
|
21 |
tokenizer = AutoTokenizer.from_pretrained(ft)
|
22 |
model = AutoModelForCausalLM.from_pretrained(ft, torch_dtype=torch.float16, low_cpu_mem_usage=True)
|
23 |
model.to(device)
|