How to Use a Nested Python Dictionary in Dataset.from_dict

great that it worked!

i’m not sure i understand the question (what exactly do you want to know?), but judging by your first comment it seems that you’re doing named entity recognition. you can see in the datasets library how ClassLabel is used for this task e.g. here https://github.com/huggingface/datasets/blob/8e903b5ef7c039cee79f0a2da3dd328d59c38588/datasets/conll2003/conll2003.py#L167