Skip to content
nikitadhawanPublic

About

No description, website, or topics provided.

Resources

Stars

40 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

NATURAL

This repository is an implementation of the original NATURAL experiments in End-To-End Causal Effect Estimation from Unstructured Natural Language Data. See naturalv2 for an improved version that is faster, configurable, and extensible.


Set-up

git clone https://github.com/nikitadhawan/natural.git
cd natural
conda create --name natural_env --file requirements.txt
conda activate natural_env
python setup.py install

Open AI models

To use Open AI models, request a key to use the API and copy it into natural/key.txt.

LLAMA models

Follow instructions in the LLAMA2 and LLAMA3 repositories to download model weights.


Generate synthetic posts or filter real data

See post_generation/scripts.

The resulting datasets are also available for download in data/.

Extract samples and/or conditionals using LLMs

See llm_extraction/scripts.

Evaluate ATE and other metrics

See causal_inf/scripts.

About

No description, website, or topics provided.

Resources

Stars

40 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages