monologg / JointBERT

Pytorch implementation of JointBERT: "BERT for Joint Intent Classification and Slot Filling"
Apache License 2.0
662 stars 186 forks source link

How to calculate confidence score for intent and slots while predicting #6

Closed kowshik226 closed 4 years ago

kowshik226 commented 4 years ago

is there a way to calculate prediction/confidence score for intent and slot identification

i try to use intent_logits and slot_logits but i didnt succeed

can you help me here

Thanks

monologg commented 4 years ago

Quite lack of information what you want to do exactly, and the code you made:(

I'm not sure, but instead of using logits, you may use intent_preds, out_intent_label_ids, slot_preds_list, out_slot_label_lst.

monologg commented 4 years ago

Closing, feel free to reopen if I haven't fully answered your questions.