Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ def test(base_model_id, dataset):
|
|
172 |
model_kwargs = dict(
|
173 |
use_cache=False,
|
174 |
trust_remote_code=True,
|
175 |
-
attn_implementation="flash_attention_2", # loading the model with flash-attenstion support
|
176 |
torch_dtype=torch.bfloat16,
|
177 |
device_map=None
|
178 |
)
|
|
|
172 |
model_kwargs = dict(
|
173 |
use_cache=False,
|
174 |
trust_remote_code=True,
|
175 |
+
#attn_implementation="flash_attention_2", # loading the model with flash-attenstion support
|
176 |
torch_dtype=torch.bfloat16,
|
177 |
device_map=None
|
178 |
)
|