Giter Club home page Giter Club logo

qacnn's Introduction

QACNN: Query-based Attention CNN

Implementation of my research:
Query-based Attention CNN for Text Similarity Map (https://arxiv.org/abs/1709.05036)

6 folders and 1 main script should be included :

  • preprocess

    • plot2vec.py
    • qa2vec.py
  • word_vec

    • register.json
    • glove.42B.300d.json
  • raw_data

    • plot
      • IMDB_KEY.split.wiki
    • question
      • qa.json
  • output_data

    • plot
    • question
  • utility

    • utility.py
  • model

    • MODEL.py
  • main.py

usage

  1. put the data given by MovieQA into raw_data folder (including IMDB_KEY.split.wiki and qa.json)
  2. download GloVe word2vec and put it into word_vec folder (GloVe: https://drive.google.com/file/d/0B3UsyrHYzsTzekMtbndMZXB1Ync/view?usp=sharing)
  3. run 2 scripts (plot2vec.py & qa2vec.py), and all the preprocessed data will automatically be saved to output_data folder
  4. run main.py

qacnn's People

Contributors

steven0818 avatar

Watchers

 avatar  avatar  avatar

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.