Closed Abhinay1997 closed 6 months ago
Added a couple CI fixes here FYI @Abhinay1997 should be in a working state now
Thanks for the feedback ! Yes, let me add tests for Spanish and Japanese. Will need to look into the filtering time !
@ZachNagengast, for comparing the detection with and without logits filter, I'll add a applyFilter
param to detectLanguage
then ? To toggle it on and off.
The filter adds only 2.9802322387695312e-06
seconds. Negligible imo
PR for the issue #29.
LanguageLogitsFilter
that suppresses non-language logitsdetectLanguage
inTextDecoder
that does a single forward pass from<startoftranscript>
to get the language tokenLanguageLogitsFilter