GithubHelp home page GithubHelp logo

zsw_ai_model's Introduction

baseline是基于pytorch实现的论文《Multiway Attention Networks for Modeling Sentence Pairs》

python 2.7
需要 pytorch 0.4.1 以及jieba分词

1.预处理并训练

首先将数据保存在data文件夹下面 并解压

然后运行

python train.py --cuda

2. 测试

python inference.py --data data/ai_challenger_oqmrc_testa_20180816/ai_challenger_oqmrc_testa.json --output prediction.txt


3. 在testa集合上的一次测试结果accuracy为0.682,对应测试文件为prediction.a.txt

zsw_ai_model's People

Contributors

zsweet avatar

Stargazers

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

Watchers

 avatar

zsw_ai_model's Issues

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.