Corey Morris
commited on
Commit
•
7622af3
1
Parent(s):
38d88f9
shortened file name
Browse files
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 =
|
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"
|