Skip to content

feat: add aligner fallback settings for difficult alignments#207

Merged
roedoejet merged 3 commits intomainfrom
dev.aligner-fallback
Jun 19, 2023
Merged

feat: add aligner fallback settings for difficult alignments#207
roedoejet merged 3 commits intomainfrom
dev.aligner-fallback

Conversation

@roedoejet
Copy link
Copy Markdown
Collaborator

@roedoejet roedoejet commented Jun 14, 2023

Here's a PR for implementing the same loosening of beam parameters as found in Studio cli. This is missing French and Spanish translations, and should be tested. I tested it locally with the Ende language files that were not working previously, but this ties in to the larger problems with testing for Studio-Web, and would also require test data that is open source (unlike the Ende example).

@roedoejet roedoejet requested review from dhdaines and joanise June 14, 2023 23:06
@roedoejet roedoejet force-pushed the dev.aligner-fallback branch from 7fd2557 to 29e60aa Compare June 14, 2023 23:21
@roedoejet roedoejet marked this pull request as draft June 14, 2023 23:23
@dhdaines
Copy link
Copy Markdown
Collaborator

Oh, cool, thank you! I just haven't had the time to look into this. The implementation seems clear and simple, I'll review it a bit more closely soon.

@roedoejet roedoejet force-pushed the dev.aligner-fallback branch from 29e60aa to 35de363 Compare June 15, 2023 19:13
@roedoejet roedoejet force-pushed the dev.aligner-fallback branch from 35de363 to 04943a2 Compare June 15, 2023 19:15
@roedoejet roedoejet marked this pull request as ready for review June 15, 2023 19:15
Copy link
Copy Markdown
Collaborator

@dhdaines dhdaines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I guess this is what the retry operator is for :)

@joanise
Copy link
Copy Markdown
Member

joanise commented Jun 19, 2023

Tested on my machine, finally. Nicely done, it works well. I would just change the setting back to strict each time the user clicks on "next step".

@joanise
Copy link
Copy Markdown
Member

joanise commented Jun 19, 2023

And it looks like you already did that, so good to merge.

Copy link
Copy Markdown
Member

@joanise joanise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done, except

reset alignment mode to strict after alignment
@roedoejet roedoejet force-pushed the dev.aligner-fallback branch from 40fcbe0 to d3defb7 Compare June 19, 2023 21:43
@roedoejet roedoejet merged commit d7a613d into main Jun 19, 2023
@roedoejet roedoejet deleted the dev.aligner-fallback branch June 19, 2023 21:46
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.

3 participants