Download label_mapping.json from DuaMehmood22/text-emotion-model: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/DuaMehmood22/text-emotion-model/resolve/main/label_mapping.json
- Command line
-
hf download hf://DuaMehmood22/text-emotion-model/label_mapping.json
-
curl -L -o label_mapping.json https://huggingface.co/DuaMehmood22/text-emotion-model/resolve/main/label_mapping.json
314 Bytes
| { | |
| "label2emotion": { | |
| "0": "sadness", | |
| "1": "joy", | |
| "2": "love", | |
| "3": "anger", | |
| "4": "fear", | |
| "5": "surprise" | |
| }, | |
| "emotion2label": { | |
| "sadness": 0, | |
| "joy": 1, | |
| "love": 2, | |
| "anger": 3, | |
| "fear": 4, | |
| "surprise": 5 | |
| } | |
| } |