You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
Hi experts,
I was wondering if the build_ctc_topo interface can be used for blankid is not equal to 0?
What's the correct way to build the ctc_topo in this situation? My model has a blankid=1024.
I believe the root cause of this question is I don't understand how we map the logits/probabilities of vocabulary to the arcs in T.fst. If you can help explain, I would be really grateful.
Thank you!!
The text was updated successfully, but these errors were encountered:
Can you use k2.ctc_topo() or k2.ctc_graph() for this?
Even if the doc says that token ID 0 is the blank, you can treat 0 as a normal token and use a non-zero ID for the blank by modifying the generated CTC graph to swap their IDs.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi experts,
I was wondering if the build_ctc_topo interface can be used for blankid is not equal to 0?
What's the correct way to build the ctc_topo in this situation? My model has a blankid=1024.
I believe the root cause of this question is I don't understand how we map the logits/probabilities of vocabulary to the arcs in T.fst. If you can help explain, I would be really grateful.
Thank you!!
The text was updated successfully, but these errors were encountered: