Coder Social home page Coder Social logo

dl-models-for-qa's People

Contributors

sujitpal avatar ynuwm 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dl-models-for-qa's Issues

hello,I want to know how can I train the flashcards-idx file

when I run the script es-load-flashcards.py get this error:

ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x000001974503DC50>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x000001974503DC50>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。)

can you give me the flashcards-idx you have trained. Or can you give me some suggestions about how should I set the host and port in code:

python es = elasticsearch.Elasticsearch(hosts=[{ "host": "localhost", "port": "9200" }])

QA-LSTM and cosine similarity

Thanks for the qa models. The paper you are referring to

https://arxiv.org/pdf/1511.04108.pdf

implements cosine similarity for QA and pairs. In your case, you are actual creating a sum of both question and answer vector

model.add(Merge([qenc, aenc], mode="sum"))

Does this affect the accuracy?

The paper also states that the accuracy drops on concatenating q and a pairs

Finally, we replace the cosine similarity with a MLP structure, whose input (282x2-dimension) is
the concatenation of question and answer embeddings, and the output is a single similarity score
and test the modified models by a variety of hidden layer size (100,500,1000). We observe that the
modified models not only get >10% accuracy decrease, but also converge much slower

Dataset

Where can I find the dataset for this project

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.