Causal Inference NLP NLP Tools

Tools and datasets for applying causal inference methods to NLP tasks, including counterfactual generation, causal effect estimation, and causal discovery from text. Does NOT include general NLP tasks without explicit causal reasoning components, or non-NLP causal inference frameworks.

There are 19 causal inference nlp tools tracked. The highest-rated is amaiya/causalnlp at 45/100 with 157 stars and 92 monthly downloads.

Get all 19 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=nlp&subcategory=causal-inference-nlp&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 amaiya/causalnlp

CausalNLP is a practical toolkit for causal inference with text as...

45
Emerging
2 prateekguptaiiitk/Causal_Relation_Extraction

Causal Relation Extraction and Identification using Conditional Random Fields

33
Emerging
3 causaltext/causal-text-papers

Curated research at the intersection of causal inference and natural...

31
Emerging
4 zzz47zzz/CFNER

[EMNLP2022] Released code for paper "Distilling Causal Effect from...

30
Emerging
5 tanfiona/CausalNewsCorpus

Repository for Causal News Corpus (LREC 2022) and RECESS (IJCNLP-AACL 2023)

30
Emerging
6 debjitpaul/Causal_CoT

About The corresponding code from our paper " Making Reasoning Matter:...

30
Emerging
7 zhijing-jin/icm4nlp

Codes for the EMNLP 2021 paper "Causal Direction of Data Collection Matters:...

27
Experimental
8 xijiz/cfgen

Implementation of the EMNLP 2020 paper "Counterfactual Generator: A...

26
Experimental
9 hrlics/SemDI

[EMNLP 2024] Advancing Event Causality Identification via Heuristic Semantic...

26
Experimental
10 dykang/cgraph

dataset for Detecting and Explaining Causes From Text For a Time Series...

21
Experimental
11 JulianFrattini/cira

Python package for functions around the causality in requirements artifacts...

20
Experimental
12 phosseini/causal-reasoning

Knowledge-Augmented Language Models for Cause-Effect Relation Classification...

20
Experimental
13 lijiazheng99/Counterfactuals-for-Sentiment-Analysis

ACL-21 Exploring the Efficacy of Automatically Generated Counterfactuals for...

20
Experimental
14 phosseini/causal_relations_in_text

Causal Relation Extraction in Natural Language Text

16
Experimental
15 Qrange-group/CEM

EMNLP'22, CEM improves MHCH performance by correcting prediction bias and...

14
Experimental
16 IlyaGusev/HeadlineCause

A dataset of news headlines for detecting causalities

14
Experimental
17 ntunlplab/SEEN

SEEN: Structured Event Enhancement Network for Explainable Need Detection of...

12
Experimental
18 emeyer-hansen/synthetic-causal-framework

This repository is part of the Synthetic Causal Framework (SCF) project and...

11
Experimental
19 emeyer-hansen/synthetic_causal_framework

The Synthetic Causal Framework (SCF) is a novel methodological framework for...

11
Experimental