Datasets:
mteb
/

File size: 288 Bytes
46c0fca
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os
import glob


for folder in glob.glob("results/*"):
    if not os.path.isdir(folder):
        continue

    if "__" in folder:
        # remove the first part of the model name
        new_folder = folder.split("__")[1]
        os.system(f"mv {folder} results/{new_folder}-1")