mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
parent
bb154ac50c
commit
efeb75b805
1 changed files with 0 additions and 1 deletions
|
|
@ -319,7 +319,6 @@ def evaluate(args, model, tokenizer, prefix=""):
|
|||
outputs = model(**inputs)
|
||||
|
||||
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()]
|
||||
unique_id = int(eval_feature.unique_id)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue