Commit efeb75b8 authored by Lysandre's avatar Lysandre
Browse files

Remove misleading comment

closes #4958
parent bb154ac5
...@@ -319,7 +319,6 @@ def evaluate(args, model, tokenizer, prefix=""): ...@@ -319,7 +319,6 @@ def evaluate(args, model, tokenizer, prefix=""):
outputs = model(**inputs) outputs = model(**inputs)
for i, feature_index in enumerate(feature_indices): for i, feature_index in enumerate(feature_indices):
# TODO: i and feature_index are the same number! Simplify by removing enumerate?
eval_feature = features[feature_index.item()] eval_feature = features[feature_index.item()]
unique_id = int(eval_feature.unique_id) unique_id = int(eval_feature.unique_id)
......
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