Coder Social home page Coder Social logo

Comments (5)

Tomiinek avatar Tomiinek commented on May 27, 2024

Hello ๐Ÿ™‚

The figure tries to show a training batch with two examples, one is in Latin and the other in Chinese. So the model is given also a vector of two language IDs (like [0,1]) which are converted into an embedding with a higher dimension.

During inference, when a single code-switched input such as "Hello ็Ž‹" is pushed into the model, it is converted into a batch of the same two textual inputs and with different languages, i.e. [0,1]. The two outputs of the encoder are then mixed together, as we know from the input which characters are from which language and then this mixed vector of encoder outputs are passed into the decoder.

from multilingual_text_to_speech.

Tomiinek avatar Tomiinek commented on May 27, 2024

I hope I remember it correctly ๐Ÿ˜„

There is no separate language identification module, we expect that the information about languages is provided besides the input texts.

from multilingual_text_to_speech.

sooftware avatar sooftware commented on May 27, 2024

You mean, Language ID 0 generate parameter to Conv group 1, Language ID 1 generate parameter to Conv group 2 right??

from multilingual_text_to_speech.

Tomiinek avatar Tomiinek commented on May 27, 2024

Exactly ๐Ÿ™‚

And the parameters are not generated for each example in the batch, but just for each unique language ID in the batch.

from multilingual_text_to_speech.

sooftware avatar sooftware commented on May 27, 2024

Thank You Tomminek!!

from multilingual_text_to_speech.

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.