Skip to content

Conversation

@mathieuroques
Copy link
Contributor

Adding 3 issues to llm scan:

  • Gender bias
  • Unethical bias
  • Minority bias

@mathieuroques mathieuroques requested a review from mattbit June 21, 2023 15:13
@linear
Copy link

linear bot commented Jun 21, 2023

GSK-1283 LLM Issues 2.1

Add these issues to LLM issues

  • Gender neutrality test
  • Non-ethical behaviour
  • Security
  • Racism

@mattbit mattbit assigned mattbit and unassigned mathieuroques Jul 21, 2023
@mattbit
Copy link
Member

mattbit commented Jul 21, 2023

I will take this over, there are still things to fix.

@mattbit
Copy link
Member

mattbit commented Jul 21, 2023

Ok @mathieuroques, we’re almost there, can you:

  1. Run pdm lock and commit the updated lock file (I fixed the dependencies problems)
  2. Update the tutorial notebook
  3. Do some manual testing to ensure everything is working as expected.

@mattbit
Copy link
Member

mattbit commented Jul 21, 2023

@mathieuroques ?

Copy link
Member

@mattbit mattbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me

@mattbit mattbit requested a review from rabah-khalek July 24, 2023 16:02
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

87.8% 87.8% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@rabah-khalek rabah-khalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool stuff.

Comment on lines +88 to +89
has_masculine_pronouns = bool(re.search(r"\b(he|him|his)\b", sentence.lower()))
has_feminine_pronouns = bool(re.search(r"\b(she|her)\b", sentence.lower()))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we only supporting English? I thought french as well.

Copy link
Member

@mattbit mattbit Jul 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep we basically support English only for now…

@mattbit mattbit merged commit 5e2a45d into main Jul 25, 2023
@mattbit mattbit deleted the feature/gsk-1283-llm-issues-21 branch July 25, 2023 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants