Hugging Face Forums
How to set useful id2label and label2id in config.json using Trainer
Beginners
xshubhamx
April 7, 2024, 4:54pm
2
I am facing the same issue. Pleasse let me know if you find a solution
How to separate predictions map to create id2label.json
show post in topic
Related topics
Topic
Replies
Views
Activity
Get label to id / id to label mapping
Beginners
2
3509
November 8, 2021
Problems in deployment when I configure my own labels
Amazon SageMaker
6
2674
July 12, 2023
Does a tokenizer keep the mapping between my labels to their encoding?
🤗Tokenizers
3
2209
April 4, 2022
Creating label2idx dictionary
🤗Datasets
1
1212
December 6, 2021
Creating Trainer object is deleting my 'labels' feature
Beginners
3
1465
January 21, 2021