parth parekh
commited on
Commit
β’
678ca1e
1
Parent(s):
72ff94c
using what worked the first time
Browse files
main.py
CHANGED
@@ -33,7 +33,7 @@ tokenizer = AutoTokenizer.from_pretrained(MODEL, token=HF_TOKEN, use_fast=True)
|
|
33 |
model = AutoModelForCausalLM.from_pretrained(
|
34 |
MODEL,
|
35 |
token=HF_TOKEN,
|
36 |
-
torch_dtype=torch.
|
37 |
device_map="auto"
|
38 |
)
|
39 |
|
|
|
33 |
model = AutoModelForCausalLM.from_pretrained(
|
34 |
MODEL,
|
35 |
token=HF_TOKEN,
|
36 |
+
torch_dtype=torch.float16,
|
37 |
device_map="auto"
|
38 |
)
|
39 |
|