Skip to content

[gguf types] Add missing types & make existing types stronger #566

Closed
@mishig25

Description

@mishig25

#562 adds initial typing to @huggingface/gguf package.

However, not all architectures are added in #562. (see here & here). For example, one can add mamba & type mamba specific fields (i.e. mamba.ssm.inner_size. See RWKV-specific typing for inspiration

export type RWKV = ModelBase<"rwkv"> & { "rwkv.architecture_version": number };

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions