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

feat(weave): Add xtra Scorers to Weave #3006

Open
wants to merge 233 commits into
base: master
Choose a base branch
from
Open

feat(weave): Add xtra Scorers to Weave #3006

wants to merge 233 commits into from

Conversation

tcapelle
Copy link
Contributor

@tcapelle tcapelle commented Nov 18, 2024

Adds

  • LlamaGuard (Toxicity/Harmful detection scorer)
  • ToxicScorer (Based on Celadon model)
  • GenderRaceBiaseScorer (Based on Celadon model)
  • CustomGenderRaceBiaseScorer (Trained from scratch)
  • Coherence Scorer (Coherence Detection Scorer)
  • Robustness Scorer (Measure the robustness of LLM system)
  • Relevance Scorer
  • BLEU
  • ROUGE
  • Accuracy
  • Perplexity

@tcapelle tcapelle requested a review from a team as a code owner November 18, 2024 14:10
@circle-job-mirror
Copy link

circle-job-mirror bot commented Nov 18, 2024

@tcapelle tcapelle changed the title Add xtra Scorers to Weave feat(weave) Add xtra Scorers to Weave Nov 18, 2024
@tcapelle tcapelle changed the title feat(weave) Add xtra Scorers to Weave feat(weave): Add xtra Scorers to Weave Nov 18, 2024
tcapelle and others added 12 commits November 18, 2024 16:19
* add robustness scorer

* add tests

* update init

* add eval test

* lint

* handle if ground truth is present+str/bool dtypes

* fix scorer - slight logic falacy

* cover more ground with tests

* lint

* update RobustnessScorer to support continuous values using cohen d

* chore(ui): lighten trace tree lines (#3037)

* feat(ui): object comparison (#2942)

* feat(weave): simple prompt classes (#3032)

* fix(weave): Fix issue where Evaluation can raise unexpectedly due to bad scorer (#3039)

* support cohen d for continuous values

* Remove highlight-next-line to fix indentation issue (#3021)

* chore(weave): Pull str limit magic numbers into const #3042

* chore(weave): Cleanup save object basic (#3015)

* chore(weave): Remove signature from Op (#2989)

* chore(weave): Better names for internal methods (#2982)

* fix(weave): Bump display name limit to 1024 chars (#3043)

* Release version: 0.51.22-dev0 → 0.51.22

* Release version: 0.51.22 → 0.51.23-dev0

* chore(weave): Rethrow useExpandedNode error for proper serialization (#3017)

* chore(ui): change dataset link (#3040)

* fix(weave): Elide display names that exceed the char limit (#3046)

* chore(weave): hide annotations button temporarily #3048

* add docstring with details

* lint

* update scorer-tests deps

* make robustness dataset

* add tests for dataset builder

---------

Co-authored-by: Jamie Rasmussen <[email protected]>
Co-authored-by: Andrew Truong <[email protected]>
Co-authored-by: J2-D2-3PO <[email protected]>
Co-authored-by: Weave Build Bot <[email protected]>
Co-authored-by: domphan-wandb <[email protected]>
Co-authored-by: Tim Sweeney <[email protected]>
@ayulockin ayulockin requested a review from a team as a code owner November 22, 2024 10:39
tcapelle and others added 30 commits February 5, 2025 16:01
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.

5 participants