Skip to content

RayWangWR/Fair-Text-Generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fair-Text-Generation

This repository constains code for our paper for fairness in text generation (AISTATS 2023).

The code is programmed with python3.8 and pytorch1.7.0. After installing transformers, please replace this file in the original repository with the provided modeling_gpt2.py.

To run code, you can

pip install requirements
bash run.sh

About

Code for Fair Text Generation (AISTATS 2023)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published