"llama/vscode:/vscode.git/clone" did not exist on "e3936d4fb37cc0cd3a7cd9ffb58f357c5f417fff"
Commit e3c74cc0 authored by Jonathan Tow's avatar Jonathan Tow
Browse files

Add newline to EOF

parent 9e336866
...@@ -405,4 +405,4 @@ class TruthfulQAGeneration(Task): ...@@ -405,4 +405,4 @@ class TruthfulQAGeneration(Task):
for ref, pred in zip(refs, preds): for ref, pred in zip(refs, preds):
aggregator.add_scores(scorer.score(ref, pred)) aggregator.add_scores(scorer.score(ref, pred))
result = aggregator.aggregate() result = aggregator.aggregate()
return {type: result[type].mid.fmeasure*100 for type in rouge_types} return {type: result[type].mid.fmeasure*100 for type in rouge_types}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment