Code Monkey home page Code Monkey logo

feversymmetric's Introduction

Towards Debiasing Fact Verification Models

  • Symmetric evaluation set based on the FEVER (fact verification) dataset
  • Regularization-based method

Symmetric dataset

To download the symmetric evaluation dataset from the EMNLP 2019 paper Towards Debiasing Fact Verification Models use this link.

Version 0.2

We release a version that includes new cases. This version is split to dev (708 pairs) and test (712 pairs) to allow models to use the dev set for hyperparameter tuning.

Version 0.1

The version used in "Towards Debiasing Fact Verification Models" paper.

We've implemented the baseline and the reweighted version on the latest version of the pytorch-transformers repository (link). Since the test set is small, there are some random variations across different runs using different servers/GPUs. Therefore, to allow better comparison across methods, we've run the training five times with different random seeds and report the average and std of the runs:

Symmetric (generated) Fever DEV delta
baseline 57.46 (+/-1.6) 85.85 (+/-0.5)
re-weighted 61.62 (+/-1.2) 85.95 (+/-0.5) 4.16

Dataset format

As described in the paper, the cases are based on the FEVER dataset.

Each line in the jsonlines file contains:

  • id - matches the FEVER id. For the new pairs, a suffix of 000000{2,3,4} is added.
  • label - SUPPORTS or REFUTES.
  • claim - the claim.
  • evidence_sentence - the evidence.

Training

Our processed FEVER training data is available here. It includes only cases that can be validated with a single evidence sentence. The evidence sentences for the NOT ENOUGH INFORMATION sampled from the NSMN retrieval model.

The processed FEVER evaluation data is available here.

In order to train the baseline model, use the run bash train_baseline.sh.

To use the re-weighted training, add the weighted_loss flag.

Citation

If you find this repo useful, please cite our paper.

@InProceedings{schuster2019towards,
  author = 	"Schuster, Tal and
  			Shah, Darsh J and
  			Yeo, Yun Jie Serene and
  			Filizzola, Daniel and
  			Santus, Enrico and
  			Barzilay, Regina", 			
  title = 	"Towards Debiasing Fact Verification Models",
  booktitle = 	"Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing (EMNLP)",
  year = 	"2019",
  publisher = 	"Association for Computational Linguistics",
  url = 	"https://arxiv.org/abs/1908.05267"
}

Related papers

feversymmetric's People

Contributors

darsh10 avatar talschuster 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.