File size: 170 Bytes
8b69a2a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import json

with open("data/labels.json", "r") as f:
    labels = json.load(f)

for k, v in labels.items():
    k = k.replace("__label__", "")

    print(f"'{v}': {k}")