Giter Site home page Giter Site logo

ilogiceval's Introduction

ILogicEval construction

symdata folder contains predefined templates for transformation to natural language

Order of running the files:

  1. make_expression.py
  2. snli_preprocessing.py
  3. mnli_preprocessing.py
  4. dataset_formation_3c1e_3e1c.py
  5. dataset_formation_missing.py
  6. to_train_test_val.py (can create ILogicEval and s-ILogicEval)

As a Pre-training Corpus in Other Logic Reasoning Task

Result can be found in EvalAI ReClor Leaderboard

Run the file to create f-ILogicEval (only need to remove instance in train.json): f-ILogicEval.py

  1. git clone MERIt GitHub repo and download deberta-v2-xlarge in MERIt/pretrained-models/ git clone https://github.com/SparkJiao/MERIt.git
  2. put the two files: deberta_mynew.yaml and deberta_mynew2.yaml in putToMERItConf folder to MERIt/conf/deberta_v2/
  • extra pretraining (change the train_file, dev_file, test_file in deberta_mynew.yaml to run on f-ILogicEval and s-ILogicEval) python reclor_trainer_base_v2.py seed=4321 -cp conf/deberta_v2 -cn deberta_mynew.yaml
  • finetune on ReClor task python reclor_trainer_base_v2.py seed=4321 -cp conf/deberta_v2 -cn deberta_mynew2.yaml

Performance in Traditional LLMs

put the albert_mynew.yaml in putToMERItConf folder to MERIt/conf/albert/ and run

python reclor_trainer_base_v2.py seed=4321 -cp conf/albert -cn albert_mynew.yaml

put the mynew.yaml in putToMERItConf folder to MERIt/conf/roberta/ and run

python reclor_trainer_base_v2.py seed=4321 -cp conf/roberta -cn mynew.yaml

Performance in Top Performing LLMs

Run file: runtopllms.py

copy the print result to corresponding files, group the lines if one return is printed in multiple lines

Evaluation and metric computation: topllms_eval.py

ilogiceval's People

Contributors

cinttc avatar

Watchers

 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.