Coder Social home page Coder Social logo

qajudge's Introduction

QAJudge

Code and dataset of AAAI2020 Paper Iteratively Questioning and Answering for Interpretable Legal Judgment Prediction. paper

Fork from & See frame doc at https://github.com/haoxizhong/pytorch-worker.

Citation

Please cite our paper if you find it helpful.

@inproceedings{zhong2020iteratively,
    title={Iteratively Questioning and Answering for Interpretable Legal Judgment Prediction},
    author={Zhong, Haoxi and Wang, Yuzhong and Tu, Cunchao and Zhang, Tianyang and Liu, Zhiyuan and Sun, Maosong},
    booktitle = "Proceedings of AAAI",
    year = "2020"
}

Specific params for QAJudge

config/sample_qajudge.config is a sample config file for QAJudge.

Notice that some general parameters may be missing in this config.

[data]:

  • train_formatter_type,valid_formatter_type,test_formatter_type: Use ZMDqn for crime prediction; Use FTDqn for article prediction.
  • task: Use ft for article prediction (unrequired for others).

[model]:

  • model_name: Use ZMDqn.

[rl]:

  • batch_size: Required. Size of mini-batch.
  • epsilone: Required. Param epsilon for greedy strategy.
  • gamma: Required. Discount factor.
  • target_update: Required. Period to update the target.
  • memory_capacity: Required. Capacity of memory.
  • n_actions: Required. Number of actions, that is, the size of question list.
  • n_questions: Required. Chance to question, mentioned as K in the paper.

[ml]:

  • lgb_path: The path of Predict Net model. You should put your Predict Net model named predict_net.pkl here.

qajudge's People

Contributors

wyzthu avatar wangyurzee7 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.