GithubHelp home page GithubHelp logo

prdwb / bert_hae Goto Github PK

View Code? Open in Web Editor NEW
117.0 117.0 25.0 65 KB

BERT with History Answer Embedding for Conversational Question Answering

License: Other

Python 85.42% Jupyter Notebook 14.58%

bert_hae's People

Contributors

prdwb 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bert_hae's Issues

Can't reproduce paper results

Hi, I ran the script and got evaluation results like this:

epoch finished!
evaluation: 24000, total_loss: 1.491316556930542, f1: 59.33490221751538, followup: 0.0, yesno: 19.3518941122775, heq: 55.84968811805872, dheq: 4.5

Model saved in path OUTPUT_DIR/model_24000.ckpt

The paper shows F1=63.1/62.4

Errow when running

When I ran the hae.py file, after about 20 mins, I got this:
Traceback (most recent call last):
File "hae.py", line 104, in
with open(features_fname, 'wb') as handle:
FileNotFoundError: [Errno 2] No such file or directory: '/home/lef/Desktop/bert_output/cache/quac/train_features_False_11.pkl'.

There was no genration of pkl files in the cache folder. I have checked the dir, and there was nothing wrong. Wondering why this happened.

I am running this with python3.7, cuda 10 and tf-gpu 1.13.

Early stopping

Hi !
First, thank you for this great model! i'am wondering how can i add early stopping support in your model? I have a training set, a validation set and a test set, I want to train on the training set, do early stopping with the validation set and get predictions on the test set.

Error can not find train_summay

ๆ“ทๅ–

When I run the code hae.py in line 263 to 270. Why it always run to except block? So when it in the line 272 "train_summary_writer.add_summary(train_summary, step)" it can not find "train_summary"

How can I fix it? thanks a lot

about FLAGS.history

why you comment out FLAGS.history, and what's the different between FLAGS.history and FLAGS.max_considered_history_turns

# start_index = 0 if i - int(FLAGS.history) < 0 else i - int(FLAGS.history)

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.