hacky extract_results_script fix
@@ -35,6 +35,8 @@ for path in sys.argv[1:]:
found_eval = True
else:
if found_eval:
+ # safe number to prune out lines we don't care about. we usually have at least 10 fields in those lines
+ if len(line.strip().split()) > 10:
if results_line is not None:
print("WARNING: Multiple GLUE evals found. Skipping all but last.")
results_line = line.strip()
