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
Hi, I am trying to use Jukebox to generate my own tokens.
The paper mentions that you pass all previously generated tokens to the model as input for generating the next token.
However, I was reading through the code to understand how it works, and I am confused about how it passes the previously generated tokens to the model.
Here is the code snippet from the ConditionalAutoregressive2D class in the sample method I am referring to:
Hi, I am trying to use Jukebox to generate my own tokens.
The paper mentions that you pass all previously generated tokens to the model as input for generating the next token.
However, I was reading through the code to understand how it works, and I am confused about how it passes the previously generated tokens to the model.
Here is the code snippet from the
ConditionalAutoregressive2D
class in thesample
method I am referring to:jukebox/jukebox/prior/autoregressive.py
Lines 222 to 237 in 08efbbc
Even the
self.get_emb(sample_t, n_samples, x, x_cond, y_cond)
line, doesn't retain the previous tokens, it just adds the updated positional embedding.jukebox/jukebox/prior/autoregressive.py
Lines 177 to 197 in 08efbbc
Could someone explain how Autoregressively generates and where the previous tokens are used as input?
Thanks!
The text was updated successfully, but these errors were encountered: