Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ pipeline = transformers.pipeline(
|
|
30 |
"text-generation",
|
31 |
model=model,
|
32 |
tokenizer=tokenizer,
|
33 |
-
|
34 |
# torch_dtype=torch.bfloat16,
|
35 |
# trust_remote_code=True,
|
36 |
device_map="auto",
|
|
|
30 |
"text-generation",
|
31 |
model=model,
|
32 |
tokenizer=tokenizer,
|
33 |
+
use_safetensors=True,
|
34 |
# torch_dtype=torch.bfloat16,
|
35 |
# trust_remote_code=True,
|
36 |
device_map="auto",
|