Coder Social home page Coder Social logo

Comments (6)

peteriz avatar peteriz commented on May 9, 2024 1

You are correct. Seq2SeqIntentModel model only tags for intent slots (entities).

from nlp-architect.

peteriz avatar peteriz commented on May 9, 2024

The SNIPS NLU benchmark can be used as an intent dataset since it contains annotations of intent type and entities for each intent type.

from nlp-architect.

hkvision avatar hkvision commented on May 9, 2024

So my question is that if I use another dataset with entities only, can I use Seq2SeqIntentModel?

from nlp-architect.

peteriz avatar peteriz commented on May 9, 2024

It is possible, but you will still have to provide intent labels as the model expects to see 2 annotations (outputs). You can mark the label of the intent the same label for all samples and the network should learn it pretty quickly.
Another options would be to replicate the model (own your own) without the intent prediction part of the network.

from nlp-architect.

hkvision avatar hkvision commented on May 9, 2024

But in the model definition here: https://github.com/NervanaSystems/nlp-architect/blob/master/nlp_architect/models/intent_extraction.py#L337 , there is only one output, namely tags, and also in your SNIPS example here: https://github.com/NervanaSystems/nlp-architect/blob/master/examples/intent_extraction/train_seq2seq_model.py#L83 , train_i is never used. Thus I suppose intent is not needed at all?
I understand that for the MultiTaskIntentModel if I only have entities, I can follow your way to use the model. I'm asking about the Seq2SeqIntentModel.

from nlp-architect.

github-actions avatar github-actions commented on May 9, 2024

Issue marked as stale, closing.

from nlp-architect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.