Giter Site home page Giter Site logo

nli_legal_test_coliee_ovgu's Introduction

Textual Entailment on English Legal Text using LSTM network.

Team Project under Sabine Wehnert (PhD student, OVGU).

User is given 2 options - to Train or to Test existing models In order to execute the program, one needs to figure out the environment variable for python executable.

This program runs in the same format as how main.py can be executed from the command-line. Consider the variable for python.exe is 'python'

Then you run main.py as 'python main.py'

Training

For training any of the 8 models, one needs to run the program in the following way:

> python main.py
By default, the program takes 'python' as the python launcher or the python.exe variable. If the python variable on your system is python3 or py or py3 or py2 etc., you need to go for the next option

    OR

> {python3} main.py {python3}
Here you provide your system defined python launcher as an extra argument. The arguments in both the curly braces will exactly be the same. Here, python3 is taken as an example. 

Testing

For testing any of the 8 models, one needs to run the program in the following way:

> python main.py
By default, the program takes 'python' as the python launcher or the python.exe variable. If the python variable on your system is python3 or py or py3 or py2 etc., you need to go for the next option

    OR

> {python3} main.py {python3}
Here you provide your system defined python launcher as an extra argument. The arguments in both the curly braces will exactly be the same. Here, python3 is taken as an example. 

This is same as that in training. But one should take care of the model which they are interested in testing. For this, one should navigate to the model's folder and copy+paste the name of META_FILE (.meta file) of the model and then enter it once prompted on command-line.

nli_legal_test_coliee_ovgu's People

Contributors

sachn1 avatar sahaanirbannew 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.