Skip to content
Snippets Groups Projects
Commit 62879b27 authored by kreuzer's avatar kreuzer
Browse files

Aktualisieren models.py

parent ae04fee2
No related branches found
No related tags found
No related merge requests found
......@@ -298,7 +298,7 @@ class Critic(nn.Module):
continue # handle len(sent_vecs) < 3
score = self.__call__(sample, datapoint.gold_sent_vecs)
score_diff = score - utils.rouge(datapoint.raw_document[narray], datapoint.raw_summary))
score_diff = score - utils.rouge(datapoint.raw_document[narray], datapoint.raw_summary)
# rouge score berechnen für negative sample => besser wäre externes berechnen und speichern?
running_diff += abs(score_diff.item())
......
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