Hey @Oigres,
Your configuration is vice-versa.
If you take a look at config.json · distilbert-base-uncased-finetuned-sst-2-english at main 2
So the id2label needs to have as key the id and as value the string.
And the label2id needs to have as key the string and as value the id .
id2label = {
        "0": "goodUser",
        "1": "badUserFraud"
    }

label2id = {
        "goodUser": 0,
        "badUserFraud": 1
    }

Easy to remember is the name is always key2Value.