Skip to content

Warn About Token Type IDs for BERT vs RoBERTa #586

Open
@aryanator

Description

@aryanator

In the dataset to_tf_dataset, token_type_ids is passed — RoBERTa doesn't need it. Propose a warning to check model type before blindly passing.

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