Corey Morris commited on
Commit
7622af3
1 Parent(s): 38d88f9

shortened file name

Browse files
Files changed (1) hide show
  1. details_data_processor.py +1 -1
details_data_processor.py CHANGED
@@ -72,7 +72,7 @@ class DetailsDataProcessor:
72
  segments = url.split('/')
73
  organization = segments[-3]
74
  model_name = segments[-2]
75
- task = segments[-1].split('_')[0] # Assuming task is part of the last segment
76
 
77
  # Construct the filename
78
  safe_file_name = f"{organization}_{model_name}_{task}.json"
 
72
  segments = url.split('/')
73
  organization = segments[-3]
74
  model_name = segments[-2]
75
+ task = url.split('%7ChendrycksTest-')[1].split('%7C')[0]
76
 
77
  # Construct the filename
78
  safe_file_name = f"{organization}_{model_name}_{task}.json"