This repository contains the data and code introduced in the paper "CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Models" (EMNLP 2020).
102
stars
24
forks
source link
Update metric.py: FutureWarning: The frame.append method is deprecated #12
Solve the warnings by creating a list with your dictionaries and creating a new data frame with df = pd.DataFrame.from_records(your_list):
FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version.