Spaces:
Runtime error
Runtime error
macadeliccc
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def predict(message, history):
|
|
30 |
model = AutoModelForCausalLM.from_pretrained(
|
31 |
"macadeliccc/SOLAR-math-2x10.7b",
|
32 |
torch_dtype="auto",
|
33 |
-
|
34 |
trust_remote_code=True
|
35 |
)
|
36 |
history_transformer_format = history + [[message, ""]]
|
|
|
30 |
model = AutoModelForCausalLM.from_pretrained(
|
31 |
"macadeliccc/SOLAR-math-2x10.7b",
|
32 |
torch_dtype="auto",
|
33 |
+
load_in_4bit=True,
|
34 |
trust_remote_code=True
|
35 |
)
|
36 |
history_transformer_format = history + [[message, ""]]
|