Commit ·
8c47d48
1
Parent(s): c98421c
Debug
Browse files- inference_lstm.py +1 -1
inference_lstm.py
CHANGED
|
@@ -78,7 +78,7 @@ if __name__ == "__main__":
|
|
| 78 |
outputs = model(input_ids)
|
| 79 |
|
| 80 |
if batch_count == 0 or batch_count == 1:
|
| 81 |
-
print(f"
|
| 82 |
print(f"Outputs: {outputs}")
|
| 83 |
|
| 84 |
predictions = torch.argmax(outputs, dim=1)
|
|
|
|
| 78 |
outputs = model(input_ids)
|
| 79 |
|
| 80 |
if batch_count == 0 or batch_count == 1:
|
| 81 |
+
print(f"Labels: {labels}")
|
| 82 |
print(f"Outputs: {outputs}")
|
| 83 |
|
| 84 |
predictions = torch.argmax(outputs, dim=1)
|