Skip to content

Refactor latents and prompt creation #124

Open
@luciaquirke

Description

@luciaquirke

The latents code and the prompt creation explainer code could be significantly simplified.

Simplifying the code would facilitate prototyping and adding new features.

E.g.: reshaping the input tokens to be of sequence length window_size before caching the latents would allow us to remove most or all of the window handling logic in constructors.

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