Skip to content

Fact-checking with Iterative Retrieval and Verification

Notifications You must be signed in to change notification settings

mbzuai-nlp/fire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIRE Logo

Fact-checking with Iterative Retrieval and Evaluation


OverviewDatasets

Overview

FIRE is a simple yet effective interactive agent-based framework for claim verification through web searches. The framework consists of three key components: verification with uncertainty estimation, web search, and must make a final decision.

Datasets

datasets/ directory contains four separate data folders, each representing a different fact-checking dataset. All datasets share the same structure, and the label is a binary indicator of whether the claim is true or false.

  1. bingcheck
  2. factcheckbench
  3. factool_qa
  4. felm_wk

Each directory contains a data.jsonl file, which holds the data in the following format:

Format

Each .jsonl file (JSON Lines format) contains multiple lines where each line is a JSON object with two keys:

  • claim: A string representing the claim to be verified.
  • label: A binary label indicating the veracity of the claim. This can be:
    • true: The claim is factual.
    • false: The claim is not factual.

Example Entry

{
    "claim": "The Eiffel Tower is located in Berlin.",
    "label": "false"
}

Usage

To use this dataset, you can load each .jsonl file using a JSON library in Python, such as:

import json

# Example: Loading data from bingcheck/data.jsonl
with open('bingcheck/data.jsonl', 'r') as file:
    for line in file:
        data = json.loads(line)
        claim = data['claim']
        label = data['label']
        print(f"Claim: {claim} | Label: {label}")

Releases

No releases published

Packages

No packages published