Skip to content
Snippets Groups Projects
Commit bc8008b6 authored by friebolin's avatar friebolin
Browse files

Change print

parent c691bc2a
No related branches found
No related tags found
No related merge requests found
......@@ -99,8 +99,8 @@ for batch in train_dataloader:
prediction = torch.argmax(outputs[0])
print(prediction)
if prediction == 1:
print("metonymy")
print("Metonymy! The target word has metonymic meaning in this context.")
elif prediction == 0:
print("literal")
print("Literal! The target word has literal meaning in this context.")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment