GithubHelp home page GithubHelp logo

Comments (8)

freewym avatar freewym commented on July 16, 2024

Are you using external LM shallow fusion for decoding? Shallow fusion tends to have such problem. See if the deletion error is reduced without shallow fusion.

Anyways I think the length mismatch between training / decoding is the cause. There are several work in literature trying to mitigate this, e.g.:

https://arxiv.org/pdf/1911.02242.pdf
https://arxiv.org/pdf/1910.11455.pdf

from espresso.

picheny-nyu avatar picheny-nyu commented on July 16, 2024

Ok will turn it off. Thanks for the pointers. Do you have any plans to implement? Or if you point me to the appropriate modules and give me some high level instructions, maybe I will try myself. I assume the second paper (on streaming RNN-Ts) is less relevant?

from espresso.

freewym avatar freewym commented on July 16, 2024

In order to implement the first paper, I think you might need to modify espresso/data/asr_dataset.py or add a new dataset class to chop utterances into overlapping segments, and then modify espresso/speech_recognize.py to merge hyps from all the segments within a long utterance.

from espresso.

picheny-nyu avatar picheny-nyu commented on July 16, 2024

Thanks. How about the attention aspects? (forcing monotonic attention).

from espresso.

freewym avatar freewym commented on July 16, 2024

Maybe you can get some reference from https://github.com/freewym/espresso/tree/master/examples/simultaneous_translation/modules

from espresso.

picheny-nyu avatar picheny-nyu commented on July 16, 2024

OK, I turned off shallow fusion but it still stops decoding after about 8-10 seconds for the longer utterances. WER is about 60%. Note the Kaldi decoding with the TDNN Hybrid for this corpus is about 24%. Any other parameters to work with before I have to resort to more extreme measures?

from espresso.

picheny-nyu avatar picheny-nyu commented on July 16, 2024

Typical long utterance attention plot, if this suggests something.

00103202-0137567.pdf

from espresso.

freewym avatar freewym commented on July 16, 2024

OK, I think so there is no obvious way to avoid such issue without specially designed algorithms

from espresso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.