Skip to content
Discussion options

You must be logged in to vote

Hi @david-waterworth

Both BERT and GPT models predict intent and slots (in BERT, see this metric unified_slot_precision in the table).

The metrics for intent are called by the same names in both GPT and BERT while for slots, the metrics are reported slightly different because of how each model does the prediction.

In BERT, given this utterance below, it predicts something like

Intent 15 | slot0 | slot0 | slot0 | slot0 | slot0 | slot0 | slot24 | slot24 | slot24
[CLS] what is the energy consumption for 1 George St

Where Intent 15 is "energy consumption" and 1 out of say 50 intents and slot24 is the slot name for "site" out of say 40 different slots (with slot0 being the name for empty slot)…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Zhilin123
Comment options

Answer selected by david-waterworth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants