Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ checkpoint = "rasyosef/phi-2-instruct-v0.1"
|
|
14 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
15 |
model = AutoModelForCausalLM.from_pretrained(
|
16 |
checkpoint,
|
17 |
-
torch_dtype=torch.
|
18 |
device_map=DEVICE
|
19 |
)
|
20 |
|
|
|
14 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
15 |
model = AutoModelForCausalLM.from_pretrained(
|
16 |
checkpoint,
|
17 |
+
torch_dtype=torch.float32,
|
18 |
device_map=DEVICE
|
19 |
)
|
20 |
|