Git Product home page Git Product logo

seqmatchseq's People

Contributors

pcgreat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

seqmatchseq's Issues

code error

when i run main.py in directory "main", data files are loaded successfully, but it arise the error: " assert (map_idx != 0) " AssertionError. I don't know why it happened?

MAP value is really low compared to 0.727 (MAP) in the README

Hello!

I tried to run the wikiqa here and I used the default settings as like it is present in the main.py
However, my MAP and MRR is really low compared to what appears in the README. Could you please share how can I get the 0.727 (MAP)?

This is my output.

Building vocab dict ...
41985
Building wikiqa all data ...
Loading glove ...
Number of words not appear in glove: 5692
Vocal size: 41985
loading data ..
Loading data train...
Size of training data: 873
Loading data dev...
Size of dev data: 126
Loading embedding ...
100%|██████████| 88/88 [01:12<00:00,  1.21it/s]
Dev: MAP: 0.5656880523944017, MRR: 0.5696300612967281
100%|██████████| 88/88 [01:09<00:00,  1.27it/s]
Dev: MAP: 0.5698974342823551, MRR: 0.5726599899218948
100%|██████████| 88/88 [01:08<00:00,  1.28it/s]
Dev: MAP: 0.5589818727715553, MRR: 0.5617063492063491
100%|██████████| 88/88 [01:08<00:00,  1.28it/s]
Dev: MAP: 0.5333682080705892, MRR: 0.5356217525860384
100%|██████████| 88/88 [01:08<00:00,  1.28it/s]
Dev: MAP: 0.556504808389729, MRR: 0.5590680043060994
100%|██████████| 88/88 [01:08<00:00,  1.28it/s]
Dev: MAP: 0.596566708570677, MRR: 0.6045730283825524
100%|██████████| 88/88 [01:08<00:00,  1.28it/s]
Dev: MAP: 0.5831342378961426, MRR: 0.5913074359502931
100%|██████████| 88/88 [01:08<00:00,  1.28it/s]
  0%|          | 0/88 [00:00<?, ?it/s]Dev: MAP: 0.5700577508910841, MRR: 0.5774248458772269
100%|██████████| 88/88 [01:08<00:00,  1.28it/s]
Dev: MAP: 0.5925723121547828, MRR: 0.6021286033190795
100%|██████████| 88/88 [01:09<00:00,  1.27it/s]
Dev: MAP: 0.5701876569932125, MRR: 0.5777376944043611

MAP performance on Dev

Hi,

I am not sure if I am running the codes correctly, but I am just getting atmost 62% MAP on dev set after 10 epochs.

Can you suggest me the required changes to reach ~72% MAP performance...

Thanks...

AttributeError : flag_values_dict in QA-Transfer

Sorry for creating an issue in this repo. but I had to since your qa-transfer repo is a branch and doesn't have options for issues.

I am able to run
./download.sh and
./preprocess.sh

However on running
./pretrain.sh span I get the following errors:

./pretrain.sh span
Traceback (most recent call last):
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 141, in <module>
    tf.app.run()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 133, in main
    config_dic = flags.FLAGS.flag_values_dict()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 55, in __getattr__
    raise AttributeError(name)
AttributeError: flag_values_dict
Traceback (most recent call last):
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/aneeshj/miniconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 141, in <module>
    tf.app.run()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/home/aneeshj/Projects/qa-transfer/basic/cli.py", line 133, in main
    config_dic = flags.FLAGS.flag_values_dict()
  File "/home/aneeshj/miniconda3/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 55, in __getattr__
    raise AttributeError(name)
AttributeError: flag_values_dict

Could you please check it for errors.
Thanks!

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.