Giter Site home page Giter Site logo

Comments (4)

albertz avatar albertz commented on June 4, 2024

Are you using LmDataset? Check the documentation and also the code to understand all the options. For debugging / understanding how you configured the dataset, you can use tools/dump-dataset.py, which will just dump parts of the dataset. Then you see if the data is as you intended it to be.

from returnn-experiments.

kazuki-irie avatar kazuki-irie commented on June 4, 2024

How to add space in the vocab

With the current version of the code, you can only do that by pre-processing the data (split words to space separated characters), explicitly add end-of-word <eow> tokens, and use "word_based": True.

Also, after first epoch it shows dev_score_output:exp': 2.9312321849827905 which doesn't seem reasonable.

Why do you think so? I do not know how large your epoch is in terms of number of updates but given the character vocabulary size of 39, it looks rather reasonable.

from returnn-experiments.

deep-speech avatar deep-speech commented on June 4, 2024

Thanks for the reply.
I am training it on LibriSpeech LM corpus with epoch split of 4, "word_based": False. I replaced space in the corpus with '_' and added it to the vocab.

from returnn-experiments.

kazuki-irie avatar kazuki-irie commented on June 4, 2024

I see. That should also work as '_' does not appear in the original LibriSpeech texts.
Closing.

from returnn-experiments.

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.