Spaces:
Sleeping
Sleeping
Varun Wadhwa
commited on
Logs
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def evaluate_model(model, dataloader, device):
|
|
147 |
|
148 |
# Get predictions
|
149 |
preds = torch.argmax(logits, dim=-1).cpu().numpy()
|
150 |
-
mask = attention_mask
|
151 |
|
152 |
# Process each sequence in the batch
|
153 |
for i in range(current_batch_size):
|
|
|
147 |
|
148 |
# Get predictions
|
149 |
preds = torch.argmax(logits, dim=-1).cpu().numpy()
|
150 |
+
mask = attention_mask
|
151 |
|
152 |
# Process each sequence in the batch
|
153 |
for i in range(current_batch_size):
|