Coder Social home page Coder Social logo

comp0031's Introduction

Intro

This is a basic way of creating an image using stabilityai/stable-diffusion-2 ref: https://huggingface.co/stabilityai/stable-diffusion-2-1

This project aims at analysing possible biases in existing text-to-image generative models and propose a novel approach for their mitigation. We successively investigated the use of Genetic Algorithms (GA) and prompt optimisation to mitigate inherent skintone and gender biases in text-to-image generative models, with a focus on the Stable Diffusion model. Our approach involved fine-tuning the Stable Diffusion model’s hyperparameters using a GA to generate more diverse and balanced images. Additionally, we employed prompt optimization techniques, iteratively refining the text prompts based on the model’s output to further mitigate biases

How to run

Check individual READMEs on how to run each experiment

Initialisation

We used the same seeded prompts for each experiment that was generated by GPT-4, telling GPT-4 to describe each profession in 20 words Here's the seeded prompts Software Engineer: "A medium-height person with glasses, casual attire, working on multiple screens in a modern office space" Nurse: "An efficient nurse in green uniform, sporting glasses, carrying a diagnostics kit, with a look of determination."

comp0031's People

Contributors

zjay07 avatar pragyas12 avatar tosinfad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.