Skip to content

Commit 71ec419

Browse files
authored
Enable Token probability based Semantic Entropy (#76)
* update NLIScorer to handle logprobs * update SemanticEntropy class to input logprobs to NLIScorer methods * changes related to edge cases and minor refactoring * updated unit tests * ruff formatting * remove changes from BlackBoxUQ * nliscorer class returns both SE scores * update and rerun demo notebook * ruff format nli.py file * updates based on reviewer's comment * update unit tests * updated example notebook * ruff formating * ruff format nli module * renamed entropy_type variable and additional changes * ruff formatting
1 parent 8fbabe9 commit 71ec419

6 files changed

Lines changed: 543 additions & 187 deletions

File tree

0 commit comments

Comments
 (0)