Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BiasMonkey Example: Initial Jupyter Notebook #44

Merged
merged 10 commits into from
Apr 24, 2024
Merged

Conversation

zaidsheikh
Copy link
Contributor

@zaidsheikh zaidsheikh commented Apr 14, 2024

Description

This is a replication of the experiments from BiasMonkey (Tjuatja et al. 2023), which investigates whether LLMs exhibit human-like response biases in survey questionnaires. It is based on the original repo.

Status:

  • Generation using HuggingFace models (Llama 2 etc.)
  • Generation using GPT-3.5 models
  • Add analysis code:
    • Plot heatmap comparing LLMs’ behavior on bias types with their respective behavior on the set of perturbations
    • Compute human and model distributions for all relevant questions and wasserstein distance between the two distributions.
    • Generate uncertainty measures for all models across response biases and non-bias perturbations.

References

@zaidsheikh zaidsheikh self-assigned this Apr 14, 2024
@zaidsheikh zaidsheikh requested a review from neubig April 22, 2024 05:57
@zaidsheikh
Copy link
Contributor Author

Blocked by #54

@zaidsheikh zaidsheikh marked this pull request as ready for review April 22, 2024 14:06
zaidsheikh and others added 2 commits April 24, 2024 15:04
Co-authored-by: Graham Neubig <neubig@gmail.com>
@zaidsheikh zaidsheikh merged commit 3eca0f5 into main Apr 24, 2024
5 checks passed
@zaidsheikh zaidsheikh deleted the zaidsheikh/bias_monkey branch April 24, 2024 19:12
@neubig neubig mentioned this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants