Is this realy a list or a Dict[str, int]? I think the docstring might be wrong because in the model json file it is stored as a dict.
https://github.com/huggingface/transformers/blob/9bdce3a4f91c6d53873582b0210e61c92bba8fd3/src/transformers/configuration_utils.py#L117

See here for example: https://s3.amazonaws.com/models.huggingface.co/bert/oliverguhr/german-sentiment-bert/config.json