Skip to content

[feature] need API for vocab mapping computation and loading. #18

Closed

Description

@FrankLeeeee

We need to have an API to compute the d2t and t2d mapping based on the training dataset. An example API might look like this.

vocab_mapping_file_path = create_eagle_vocab_mapping(dataset)

Correspondingly, we also need an API to load the vocab mapping file for draft model.

draft_model.load_vocab_mapping(path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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