Skip to content

Force decode timestamp after speaker turn#11

Merged
akashmjn merged 6 commits intomainfrom
decode-spkturn-2
Jun 13, 2023
Merged

Force decode timestamp after speaker turn#11
akashmjn merged 6 commits intomainfrom
decode-spkturn-2

Conversation

@akashmjn
Copy link
Copy Markdown
Owner

@akashmjn akashmjn commented Jun 7, 2023

Fix for #10 by updating the logit filter ApplyTimestampRules in decoding.py.

Re-ran the run_pipelines.py and updated the analysis notebook & metrics. Numbers for tdrz didn't really change much.

Also includes the following minor improvements:

  • Fix a small bug in run_pipelines.py
  • Decoding of <|speakerturn|> tokens is also now also configurable via an added DecodingOption e.g. whisper.transcribe(with_speaker_turns=False).
  • Speaker turns are better formatted in verbose output, and also included in written JSON segments in field before_speaker_turn

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.

1 participant