Spaces:
Runtime error
Runtime error
Commit
·
abef18b
1
Parent(s):
e5a60a4
Changed float type to float.32
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ tokenizer = AutoTokenizer.from_pretrained(model)
|
|
8 |
pipeline = transformers.pipeline(
|
9 |
"text-generation",
|
10 |
model=model,
|
11 |
-
torch_dtype=torch.
|
12 |
device_map="auto",
|
13 |
)
|
14 |
|
|
|
8 |
pipeline = transformers.pipeline(
|
9 |
"text-generation",
|
10 |
model=model,
|
11 |
+
torch_dtype=torch.float32,
|
12 |
device_map="auto",
|
13 |
)
|
14 |
|