New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relation between Entities and Intents #503
Comments
|
Thanks for the reply. Do you know about mitie ? |
MITIE is an option for both intent and entity recognition in the Rasa pipeline. https://rasa-nlu.readthedocs.io/en/latest/pipeline.html#pre-configured-pipelines |
For classification we need vector for each sentence. So in the mitie pipeline, after getting spectral word embeddings for each word, what did you do to obtain a single vector for sentence. Is it just an average of all the word embeddings present in the sentence ? |
@PHLF or @tmbo may know the answer to that off the top of their head. I would have to dig through code. Here's the Rasa MITIE classifier component code if you want to look yourself. https://github.com/RasaHQ/rasa_nlu/blob/master/rasa_nlu/classifiers/mitie_intent_classifier.py |
From what i understood from mitie_featurizer.py, it's just an average of all spectral word embeddings present in the sentence.(https://github.com/RasaHQ/rasa_nlu/blob/76fe1e38c49cac158a3fae55d17eb72af4ef6745/rasa_nlu/featurizers/mitie_featurizer.py#L71) |
Looks like you're right. |
I'm closing, but let us know if you have more questions. |
…HQ#503) This fixes RasaHQ#499, where a matrix strategy with only include keys ends up causing multiple builds. This bugs appears to have been introduced in RasaHQ#415, when extra include keys are added in the matrix strategy. The cause seems to be because the CartesianProduct function returns an item with empty keys, instead of return an empty set. Co-authored-by: Ed Tan <edtan@users.noreply.github.com>
Hi,
Q1) Is there any relation between entity and intent classification in the pipeline (or) does both of them function separately in the pipeline? For example training classifier without any entity data will it affect the intent classification ?
Q2) I have read the medium article Alan where he explains even average of word2vec's of a sentence give decent performance. My question is what exactly are you doing to represent a sentence for classification after getting word embeddings for each word ?
Thank you.
The text was updated successfully, but these errors were encountered: