great that it worked!



 GSA:

Also, as a follow up question, how can I use the datasets.ClassLabel feature to specify a predefined set of classes which can have labels associated to them and be stored as integers in the dataset.


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 datasets/conll2003.py at 8e903b5ef7c039cee79f0a2da3dd328d59c38588 · huggingface/datasets · GitHub 10