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

Force decode timestamp after speaker turn #11

Merged
merged 6 commits into from
Jun 13, 2023
Merged

Conversation

akashmjn
Copy link
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