Giter Club home page Giter Club logo

gendermag's Introduction

Installation

  1. Run the following command to install the dependencies:

    pip install -r requirements.txt
  2. Copy .env.example to .env

  3. Add your OPENAI_API_KEY and PROMPTLAYER_API_KEY.

How to Run

  1. Navigate to the src folder:

    cd src
  2. Run the project:

    python3 main.py

Steps to Reproduce

  1. All the sessions are saved in the inputs folder, structured and named with their tag.

  2. Copy the desired session to subgoals_actions.py

  3. Run the main.py:

    python3 main.py
  4. It will reproduce the result and the output can be found in your Promptlayer Dashboard.

Accessibility of the Images

The images required for the GenderMag sessions are saved in the html/images folder. These images must be public so that the LLM can access them.

You can make the repository public while running the sessions. While making your repository public temporarily can be a quick solution, it poses security risks.

Alternative Solution:

  1. Copy all the image files to a permanent hosting location (e.g., another public GitHub repository only with those images or a different hosting service).
  2. Update the BASE_IMAGE_PATH variable in constant.py to reflect the new image folder link.

Resources

Result XL - https://docs.google.com/spreadsheets/d/1hRoyaPaoqoCaH0JDBWv00CCwxAmU-pmOJyZKkSEU210/edit?gid=0#gid=0

Slide - https://docs.google.com/presentation/d/1ISuwWdVfwqZqI1MiZBbwLw2rIn0YPgYDd89Z2qEpA7M/edit#slide=id.g2eb90b2baed_0_18


gendermag's People

Contributors

uchswas avatar amreeta-18 avatar

Watchers

Emerson Murphy-Hill avatar  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.