sujitpal / dl-models-for-qa Goto Github PK
View Code? Open in Web Editor NEWKeras DL models to answer 8th grade science multiple choice questions (Kaggle AllenAI competition).
License: Apache License 2.0
Keras DL models to answer 8th grade science multiple choice questions (Kaggle AllenAI competition).
License: Apache License 2.0
thank you~
Where can I find the dataset for this project
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
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" }])
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.