DeepQA icon indicating copy to clipboard operation
DeepQA copied to clipboard

After adding the ubuntu dataset, and training it for every question the answer is I'm not sure.

Open troublemagnet opened this issue 7 years ago • 3 comments

For every question the answer is I'm not sure. Can someone look into this?

troublemagnet avatar Oct 11 '17 18:10 troublemagnet

have you trained it 100%? if not than try that.

PoojaPatel05 avatar Oct 14 '17 10:10 PoojaPatel05

@PoojaPatel05 the command that i am running and the output that i am getting are:

arsi$ python main.py --modelTag pretrainedv2 --test interactive Welcome to DeepQA v0.1 !

TensorFlow detected: v1.0.0 Loading dataset from /Users/arsi/git/data/samples/dataset-cornell-length10-filter1-vocabSize40000.pkl Loaded cornell: 24643 words, 159657 QA Model creation... W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. Initialize variables... No previous model found, starting from clean directory: /Users/arsi/git/save/model-pretrainedv2 Testing: Launch interactive mode:

Welcome to the interactive mode, here you can ask to Deep Q&A the sentence you want. Don't have high expectation. Type 'exit' or just press ENTER to quit the program. Have fun. Q: hi A: Stooly negroes negroes negroes negroes negroes negroes oasis oasis oasis oasis intelligent

Q: hello A: Paso paso negroes negroes negroes negroes pronounced pronounced penicillin penicillin penicillin penicillin

Q: My name is David. What is my name ? A: 'was abnormal abnormal abnormal abnormal abnormal abnormal cloaking cloaking cloaking cloaking cloaking

Facing the similar issue, where while using the pre-trained model, the output is repetitive words, which seem irrelevant TF is 1.0.0

nltk (3.2.5) numpy (1.13.3) pip (9.0.1) protobuf (3.5.0) setuptools (36.8.0) six (1.11.0) tensorflow (1.0.0) textdata (1.7.3) tqdm (4.19.4) wheel (0.30.0)

Python 3.6.3

arsi-shiva avatar Nov 20 '17 07:11 arsi-shiva

you can try with cp DeepQA/save/model/* DeepQA/save/model-server/

PoojaPatel05 avatar Nov 20 '17 09:11 PoojaPatel05