FairLMs: A Turnkey Library for Fairness in Language Models
Not on the map. Why?
Abstract (arXiv)
Fairness research on language models involves measuring bias, applying mitigation methods, and examining the evidence on which an evaluation rests. Existing tools offer complementary functionality through different interfaces, so combining them requires reconciling model interfaces, evidence formats, access constraints, and result types before applicability can be checked or methods compared. We introduce FairLMs, a Python library that connects these activities through explicit declarations of model capabilities and input requirements. It provides 33 intrinsic and extrinsic metrics, 14 mitigation components spanning four intervention categories, 14 dataset and scoring-instrument diagnostics, adapters for the three Transformer architectures and supported hosted completion APIs, and benchmark loaders. Declarations are checked before execution and results carry the configuration under which they were obtained, so that compatible components can be combined, methods compared under a common protocol, and workflows extended to new models and datasets. The source code is available at: https://github.com/FairLMs/FairLMs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 18 Sep 2026.
Builds on
18 of 28 references.
References · 18
- 2016Equality of Opportunity in Supervised Learningcited by 2,007
- 2018Datasheets for Datasetscited by 1,386
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 659
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2019On Measuring Social Biases in Sentence Encoderscited by 398
- 2019Measurement and Fairnesscited by 308
- 2018Adversarial Removal of Demographic Attributes from Text Datacited by 170
- 2021An Empirical Survey of the Effectiveness of Debiasing Techniques for Pre-trained Language Modelscited by 97
- 2023Fairlearn: Assessing and Improving Fairness of AI Systemscited by 74
6 more
- 2024Fairness in Large Language Models: A Taxonomic Surveycited by 58
- 2024History, Development, and Principles of Large Language Models-An Introductory Surveycited by 30
- 2025CLASH: Evaluating Language Models on Judging High-Stakes Dilemmas from Multiple Perspectivescited by 10
- 2023GPT has become financially literate: Insights from financial literacy tests of GPT and a preliminary test of how people use it as a source of advicecited by 7
- 2025Datasets for Fairness in Language Models: An In-Depth Surveycited by 7
- 2025LangFair: A Python Package for Assessing Bias and Fairness in Large Language Model Use Casescited by 5
Built on by
Not cited yet.