Add to config.json the id2label and label2id keys.

#3
by g8a9 - opened

The PR adds id2label and label2id to the model config, normally used to verbalize argmax-ed logits.

Changes

  • config.json: The keys above have been added;
  • README.md: The example on the model card has also been updated
FBK-MT org

Thank you for your contribution @g8a9 ! I’ve added a usage example of id2label to the README for clarity.
Could you update the title to something more descriptive, such as "Verbalize Labels", and include a note that the README has been updated?
Thanks!

g8a9 changed pull request title from Update config.json to Add to config.json the id2label and label2id keys.

Done :)

FBK-MT org

Thanks again :)

dfucci changed pull request status to merged

Sign up or log in to comment