Skip to content

Commit

Permalink
QC Plugin: Remove handling of empty transcripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudra Raina authored and Rudra Raina committed Jul 2, 2024
1 parent e5b8e34 commit 016e5e3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dialogy/plugins/text/qc_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ def identify_conflicting_labels(training_data: pd.DataFrame) -> pd.DataFrame:

logger.debug(f"Finding data points with conflicting labels...")

training_data["alternatives"] = training_data["alternatives"].apply(
lambda x: x.replace("""\"\"""", """\"""") if isinstance(x, str) else x
)
training_data["frozen_set_hash"] = training_data["alternatives"].apply(
lambda x: hashlib.md5(
pickle.dumps(
Expand Down

0 comments on commit 016e5e3

Please sign in to comment.