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

Motivation for using blank between all labels is not clear #46

Open
jotix16 opened this issue Feb 26, 2021 · 2 comments
Open

Motivation for using blank between all labels is not clear #46

jotix16 opened this issue Feb 26, 2021 · 2 comments

Comments

@jotix16
Copy link

jotix16 commented Feb 26, 2021

Since we can have an ϵ before or after any token in Y, it’s easier to describe the algorithm using a sequence which includes them. We’ll work with the sequence Z =[ϵ, y_1, ϵ, y_2, ..., ϵ, y_U, ϵ]

If seems like you are using blanks in between all output labels and at the beginning and end with the motivation that it is an example sequence which makes the algorithm easier to understand.

Isn't this the approach we use on all output sequences? It is kind of confusing to say that we put the blanks because it is easier to describe the algorithm.

Am I having a misconception somewhere?

Edit:
Link to the place in the post

@awni
Copy link
Contributor

awni commented Feb 26, 2021

CTC assigns a score to the sequence Y = [y_1, y_2, ..., y_U], namely p(Y | X). This is different than the sequence Z with the blanks inserted. We just use Z to describe the algorithm but the blanks are optional.

@jotix16
Copy link
Author

jotix16 commented Feb 27, 2021

Here you say that alpha is the score of the subsequence Z and alpha is calculated assuming that exact Z as sequence. Wouldn't the calculation of alpha change if we would assume another Z sequence, for example using always 2 blanks in between each label?

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

No branches or pull requests

2 participants