def load_ablation_file():
    filename = (('Importance-' + data.model_dir) + '.txt').replace('/', '-')
    ablate_lists = {}
    ' B-ORG\t[4, 24, 14, 15, 19, 46, 36, 22, 27, 9, 13, 20, 25, 33, 45, 0, 35, 40, 48, 42, 44, 18, 37, 21, 32, 29, 16, 26, 11, 7, 23, 49, 12, 5, 8, 38, 2, 47, 1, 43, 31, 30, 41, 6, 28, 3, 34, 39, 10, 17]'
    with open(filename, 'r+') as file:
        lines = file.readlines()
        for line in lines:
            line = line.strip()
            if (len(line) > 0):
                (tag, list) = (line.split('[')[0].strip(), line.split('[')[1].strip().replace(']', ''))
                list = list.split(',')
                ablate_lists[tag] = [int(i) for i in list]
    return ablate_lists
def load_ablation_file():
    filename = (('Importance-' + data.model_dir) + '.txt').replace('/', '-')
    ablate_lists = {}
    ' B-ORG\t[4, 24, 14, 15, 19, 46, 36, 22, 27, 9, 13, 20, 25, 33, 45, 0, 35, 40, 48, 42, 44, 18, 37, 21, 32, 29, 16, 26, 11, 7, 23, 49, 12, 5, 8, 38, 2, 47, 1, 43, 31, 30, 41, 6, 28, 3, 34, 39, 10, 17]'
    with open(filename, 'r+') as file:
        lines = file.readlines()
        for line in lines:
            line = line.strip()
            if (len(line) > 0):
                (tag, list) = (line.split('[')[0].strip(), line.split('[')[1].strip().replace(']', ))
                list = list.split(',')
                ablate_lists[tag] = [int(i) for i in list]
    return ablate_lists