Spaces:
Runtime error
Runtime error
Add application file
Browse files
app.py
CHANGED
@@ -213,7 +213,7 @@ def QA_model():
|
|
213 |
task="text-generation",
|
214 |
model_kwargs={
|
215 |
"torch_dtype" : torch.float32,
|
216 |
-
"low_cpu_mem_usage" :
|
217 |
"temperature": 0.2,
|
218 |
"max_length": 2048,
|
219 |
#"device_map": "auto",
|
|
|
213 |
task="text-generation",
|
214 |
model_kwargs={
|
215 |
"torch_dtype" : torch.float32,
|
216 |
+
"low_cpu_mem_usage" : False,
|
217 |
"temperature": 0.2,
|
218 |
"max_length": 2048,
|
219 |
#"device_map": "auto",
|