Update gcp_run.py
Browse files- gcp_run.py +1 -1
gcp_run.py
CHANGED
@@ -61,7 +61,7 @@ def load_quant(model = "Wizard-Vicuna-13B-Uncensored-GPTQ",
|
|
61 |
|
62 |
return model
|
63 |
|
64 |
-
|
65 |
model.to(DEV)
|
66 |
tokenizer = AutoTokenizer.from_pretrained("Wizard-Vicuna-13B-Uncensored-GPTQ", use_fast=False)
|
67 |
input_ids = tokenizer.encode("TEXT PROMPT GOES HERE", return_tensors="pt").to(DEV)
|
|
|
61 |
|
62 |
return model
|
63 |
|
64 |
+
model = load_quant()
|
65 |
model.to(DEV)
|
66 |
tokenizer = AutoTokenizer.from_pretrained("Wizard-Vicuna-13B-Uncensored-GPTQ", use_fast=False)
|
67 |
input_ids = tokenizer.encode("TEXT PROMPT GOES HERE", return_tensors="pt").to(DEV)
|