Skip to content

ChicagoHAI/hans-explanations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hans-explanations

This repository contains code to generate HANS explanation data and some generated datasets.

To generate HANS explanation data:

python generate_examples.py SPLIT_TYPE

SPLIT_TYPE can be take different values, corresponding to different ways to split the original dataset to in-domain and out-of-domain datasets.

Some generated datasets can be found in the split_abundant_words_templates folder. There are 118 templates in HANS, so it is split into 5 partitions. Each partition contains 4/5th training/dev templates and 1/5th test templates. The number of examples per template are reflected in the file names.

The code allows generation of more examples.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages