Skip to content

figure out better way to pass token type ids to model #61

@jonathanbratt

Description

@jonathanbratt

currently, I attach tt_ids as an attribute to the tokenized input in tokenize_input. It feels like a misuse of attributes, but I also don't want to, say, pass the tt_ids as part of a list along with the tokenized input. We could just figure out the tt ids later, and calculate them when we need them to run the model?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions