Skip to content

Commit

Permalink
SetFit: When logging probs, log them not as logits (#612)
Browse files Browse the repository at this point in the history
This is a proposed fixed that might resolve quirks around the DEP
reported for setfit
  • Loading branch information
franz101 authored May 18, 2023
1 parent 40b908d commit 0945629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dataquality/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
dataquality.get_insights()
"""

__version__ = "v0.8.42"
__version__ = "v0.8.43"

import sys
from typing import Any, List, Optional
Expand Down
4 changes: 2 additions & 2 deletions dataquality/integrations/setfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def __call__(self, *args: Any, **kwds: Any) -> Any:
# 🔭🌕 Galileo logging
dq.log_model_outputs(
ids=batch["id"],
logits=dq_store["output"],
probs=dq_store["output"],
embs=dq_store["input_args"][0],
split=split,
epoch=0,
Expand Down Expand Up @@ -362,7 +362,7 @@ def dq_evaluate(
# 🔭🌕 Galileo logging
dq.log_model_outputs(
ids=batch[id_col],
logits=dq_store["output"],
probs=dq_store["output"],
embs=dq_store["input_args"][0],
split=split,
epoch=0,
Expand Down

0 comments on commit 0945629

Please sign in to comment.