congyingxia / ZeroShotCapsule

Code for Paper "Zero-shot User Intent Detection via Capsule Neural Networks".
51 stars 6 forks source link

Intent definition #2

Closed Julietnj closed 5 years ago

Julietnj commented 5 years ago

Hi, I wonder if the seen intents can be listed in unseen_intent array, I mean if I can test and predict some utterances of seen intents besides unseen ones. and is the number of intents limited? thanks very much.

congyingxia commented 5 years ago

Sure, you can also add seen intents in the unseen_intent array. There's a setting named Generalized zero-shot learning, which needs to predict all the seen and unseen classes together. The number of intents is not limited.

abubakar-ucr commented 4 years ago

@congyingxia, can you point me where this setting is in the code? Thanks

congyingxia commented 4 years ago

It's in the input_data.py. You can set the unseen_intent as you like.