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

Added metrics for genai text #2514

Merged
merged 19 commits into from
Jan 29, 2024

Conversation

kartik727
Copy link
Contributor

Added AI-assisted metrics like coherence, fluency, etc. for generative text task types.

@kartik727 kartik727 marked this pull request as draft January 26, 2024 21:28
Signed-off-by: Kartik Choudhary <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jan 26, 2024

Codecov Report

Attention: 35 lines in your changes are missing coverage. Please review.

Comparison is base (66e33cb) 88.98% compared to head (9173474) 80.88%.

Files Patch % Lines
...leai_text/utils/genai_metrics/scripts/coherence.py 75.00% 6 Missing ⚠️
...ai_text/utils/genai_metrics/scripts/equivalence.py 75.00% 6 Missing ⚠️
...ibleai_text/utils/genai_metrics/scripts/fluency.py 75.00% 6 Missing ⚠️
...i_text/utils/genai_metrics/scripts/groundedness.py 75.00% 6 Missing ⚠️
...leai_text/utils/genai_metrics/scripts/relevance.py 75.00% 6 Missing ⚠️
...bleai_text/utils/genai_metrics/scripts/_compute.py 86.95% 3 Missing ⚠️
.../responsibleai_text/utils/genai_metrics/metrics.py 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2514      +/-   ##
==========================================
- Coverage   88.98%   80.88%   -8.10%     
==========================================
  Files         134       34     -100     
  Lines        7745     2480    -5265     
==========================================
- Hits         6892     2006    -4886     
+ Misses        853      474     -379     
Flag Coverage Δ
unittests 80.88% <77.98%> (-8.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kartik727 kartik727 marked this pull request as ready for review January 26, 2024 22:07
@imatiach-msft imatiach-msft merged commit 13e1782 into microsoft:main Jan 29, 2024
101 checks passed
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.

3 participants