georgwiese / biomedical-qa

Neural Biomedical Question Answering
https://arxiv.org/abs/1706.03610
21 stars 6 forks source link

Unable to reproduce results from the paper #15

Open dheerajrajagopal opened 6 years ago

dheerajrajagopal commented 6 years ago

Hi, I wanted to reproduce results from table 1 from the paper (BioASQ only, Experiment (1) ). I have been using the default settings from the README file. This is my setting

python biomedical_qa/training/train_qa.py \ --with_question_type_features \ --size 100 \ --max_epochs 40 \ --model_type simple_pointer \ --is_bioasq True \ --data data/bioasq_v2_cv_4 \ # 4th cross-validation set --trainset_prefix train \ --validset_prefix dev \ --start_output_unit sigmoid \ --ckpt_its 10 \ --batch_size 64 \ --save_dir saved_models_v3_cv_4 \ # directory for cross validation set 4 --dropout 0.5 \ --dataset squad \ --transfer_model_config model_checkpoints/glove_pubmed_embedder/config.pickle \ --transfer_model_path model_checkpoints/glove_pubmed_embedder/model.tf \ --composition LSTM

I am unable to reproduce the numbers from the paper. I was wondering if I am doing something wrong in the settings.

Could you help me figure out ?

Chunlinx commented 6 years ago

Hi, When I try to train your project , I got an error: ModuleNotFoundError: No module named 'web.embeddings'

could you tell me why this happend?

Ali-Xain commented 6 years ago

@Chunlinx if you are using Python 3+ just replace import web.embeddings with import web but first install web module in your python environment.

lbda1 commented 4 years ago

pip install web but there is no such this package