Skip to content

remove legacy TokenTrie #67

Open
Open
@Saibo-creator

Description

@Saibo-creator

Currently there is ByteTrie at https://github.com/epfl-dlab/transformers-CFG/blob/main/transformers_cfg/tokenization/trie.py#L21
and also a TokenTrie at https://github.com/epfl-dlab/transformers-CFG/blob/main/transformers_cfg/tokenization/vocab_struct.py#L13

TokenTrie is the legacy code from previous implementation and it should be completely removed and replaced by ByteTrie.

There is still dependency on it in the parsing, so may need to treat it carefully

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