huggingface / rasa_hmtl

RASA wrapper for HMTL: Hierarchical Multi-Task Learning
30 stars 8 forks source link

ModuleNotFoundError: No module named 'overrides' #1

Open studiocardo opened 5 years ago

studiocardo commented 5 years ago

Hi guys

Thank you for continually producing and sharing these fantastic components!

I'm trying to incorporate HMTL in the Rasa NLU pipeline.

I downloaded and installed AllenNLP in a dedicated virtual environment, installed the latest Rasa 1.0, followed by installation of HMTL.

I modified the scripts/machine_setup.sh to install HMTL (minus the python 3.6 and the virtual env, since python 3.6.7 is already installed and accessible from the current virtual env). I also commented out boto* in the requirements.txt since I don't intend to interact w/ AWS.

I also modified a few lines because some of the AllenNLP modules have either been moved or removed in the latest release. Right now, the following statement in rasa_hmtl.py:

from hmtl.hmtlPredictor import HMTLPredictor

errors out with msg:

ModuleNotFoundError: No module named 'hmtl'

Since this a user supplied module, I assume I should manually specify the path, but it's not obvious to me what I need to add.

Thank you for your advice.

Best, H

julien-c commented 5 years ago

Hi @studiocardo

This was really a super quick'n'dirty demo of how to use HMTL as a nlu source in rasa, that we wrote for a presentation at NeurIPS last december.

You'd be better off rewriting the integration yourself, given that rasa has probably evolved since then.

Let us know how it goes.

GraphGrailAi commented 5 years ago

@julien-c Hi, could you point link to demo NeurIPS ? And a question: as i understand, if HMTL component wiil be added to RASA it brings all 4 features to chatbot: including NER, neuralcoref, etc? I saw RASA's forum and people ask for this, parying that with these bots are stupid

anushkmittal commented 5 years ago

bump same. HMTL is super cool!!

any hint on how this super quick and dirty solution is supposed to work?