Skip to content

Why doesn't Mamba take in sequence length input? #178

@fionalluo

Description

@fionalluo

When initializing a Mamba block, why is it that we don't need to pass in a sequence length input?

For example, I want to do next-step prediction by mapping timesteps [s ... t] to [s + 1 ... t + 1]. Does this mean that I can train mamba on any arbitrary sequence length, and it will accurately do next-step prediction for any arbitrary sequence length input? I'm wondering if I can do autoregressive prediction this way; or are we expected to pass in a constant sequence length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions