ual-topics / print_labels.py
Yehor Smoliakov
Fixes
8b69a2a
raw
history blame contribute delete
170 Bytes
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}")