felix commited on
Commit
06ee306
1 Parent(s): 8fcd96c

add placeholder

Browse files
Files changed (28) hide show
  1. .idea/.gitignore +3 -0
  2. data/20230820_0354/hf_llm_diagramv2.json +1 -0
  3. data/20230820_0354/hf_llm_diagramv2_other_permissive.json +1 -0
  4. data/20230820_0354/hf_llm_diagramv2_other_permissive.png +0 -0
  5. data/20230820_0354/hf_llm_diagramv2_permissive.json +1 -0
  6. data/20230820_0354/hf_llm_diagramv2_permissive.png +0 -0
  7. data/20230820_0354/hf_llm_diagramv2_rescore.json +1 -0
  8. data/20230820_0354/hf_llm_diagramv2_rescore.png +0 -0
  9. data/20230823_0545/hf_llm_diagramv2.json +1 -0
  10. data/20230823_0545/hf_llm_diagramv2_other_permissive.json +1 -0
  11. data/20230823_0545/hf_llm_diagramv2_other_permissive.png +0 -0
  12. data/20230823_0545/hf_llm_diagramv2_permissive.json +1 -0
  13. data/20230823_0545/hf_llm_diagramv2_permissive.png +0 -0
  14. data/20230823_0545/hf_llm_diagramv2_rescore.json +1 -0
  15. data/20230823_0545/hf_llm_diagramv2_rescore.png +0 -0
  16. data/20230824_0626/hf_llm_diagramv2.json +1 -0
  17. data/20230824_0626/hf_llm_diagramv2_other_permissive.json +1 -0
  18. data/20230824_0626/hf_llm_diagramv2_other_permissive.png +0 -0
  19. data/20230824_0626/hf_llm_diagramv2_permissive.json +1 -0
  20. data/20230824_0626/hf_llm_diagramv2_permissive.png +0 -0
  21. data/20230824_0626/hf_llm_diagramv2_rescore.json +1 -0
  22. data/20230824_0626/hf_llm_diagramv2_rescore.png +0 -0
  23. data/20230825_0828/hf_llm_diagramv2.json +1 -0
  24. data/20230825_0828/hf_llm_diagramv2_other_permissive.json +1 -0
  25. data/20230825_0828/hf_llm_diagramv2_permissive.json +1 -0
  26. data/20230825_0828/hf_llm_diagramv2_rescore.json +1 -0
  27. fix_old_data.py +40 -0
  28. no_generated_image.png +0 -0
.idea/.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
data/20230820_0354/hf_llm_diagramv2.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230820_0354/hf_llm_diagramv2_other_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230820_0354/hf_llm_diagramv2_other_permissive.png ADDED
data/20230820_0354/hf_llm_diagramv2_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230820_0354/hf_llm_diagramv2_permissive.png ADDED
data/20230820_0354/hf_llm_diagramv2_rescore.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230820_0354/hf_llm_diagramv2_rescore.png ADDED
data/20230823_0545/hf_llm_diagramv2.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230823_0545/hf_llm_diagramv2_other_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230823_0545/hf_llm_diagramv2_other_permissive.png ADDED
data/20230823_0545/hf_llm_diagramv2_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230823_0545/hf_llm_diagramv2_permissive.png ADDED
data/20230823_0545/hf_llm_diagramv2_rescore.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230823_0545/hf_llm_diagramv2_rescore.png ADDED
data/20230824_0626/hf_llm_diagramv2.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230824_0626/hf_llm_diagramv2_other_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230824_0626/hf_llm_diagramv2_other_permissive.png ADDED
data/20230824_0626/hf_llm_diagramv2_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230824_0626/hf_llm_diagramv2_permissive.png ADDED
data/20230824_0626/hf_llm_diagramv2_rescore.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230824_0626/hf_llm_diagramv2_rescore.png ADDED
data/20230825_0828/hf_llm_diagramv2.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230825_0828/hf_llm_diagramv2_other_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230825_0828/hf_llm_diagramv2_permissive.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
data/20230825_0828/hf_llm_diagramv2_rescore.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
fix_old_data.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import json
3
+ import shutil
4
+
5
+ data_path = './data/'
6
+ no_generated_image_path = './no_generated_image.png' # Update this path to the location of no_generated_image.png
7
+
8
+ expected_files = [
9
+ 'hf_llm_diagramv2.json',
10
+ 'hf_llm_diagramv2.png',
11
+ 'hf_llm_diagramv2_other_permissive.json',
12
+ 'hf_llm_diagramv2_other_permissive.png',
13
+ 'hf_llm_diagramv2_permissive.json',
14
+ 'hf_llm_diagramv2_permissive.png',
15
+ 'hf_llm_diagramv2_rescore.json',
16
+ 'hf_llm_diagramv2_rescore.png',
17
+ 'hg_average_to_agentbench_compare.png',
18
+ 'hg_average_to_alpacaeval_compare.png',
19
+ 'hg_average_to_mosaic_compare.png',
20
+ 'hg_average_to_mt_bench_compare.png',
21
+ 'hg_average_to_opencompass_compare.png'
22
+ ]
23
+
24
+ # Traverse the directories under /data/ that match the date format
25
+ for dir_name in os.listdir(data_path):
26
+ if os.path.isdir(os.path.join(data_path, dir_name)):
27
+ for expected_file in expected_files:
28
+ file_path = os.path.join(data_path, dir_name, expected_file)
29
+
30
+ # Check if the file is missing
31
+ if not os.path.exists(file_path):
32
+ # If it's a PNG file, copy the no_generated_image.png
33
+ if expected_file.endswith('.png'):
34
+ shutil.copy(no_generated_image_path, file_path)
35
+ # If it's a JSON file, create it with [] as its content
36
+ elif expected_file.endswith('.json'):
37
+ with open(file_path, 'w') as f:
38
+ json.dump([], f)
39
+
40
+ print("Process completed!")
no_generated_image.png ADDED