Skip to content

Baseline Incompatible with other pretrained models #5

@AtharvanDogra

Description

@AtharvanDogra

I would request the organizers to look into the matter that the baseline predictions are not compatible with other pretrained models.
For instance, the condition shown in the snippet below
elif token.startswith(start_token_pattern) and token != '▁́':
is not applicable to other models as only xlm-roberta is producing tokens in such a way that they have an '_' (underscore) at the beginning while other models are not.
It is present here in the code:

elif token.startswith(start_token_pattern) and token != '▁́':

Also, running the prediction module on other models requires us to add a separate parameter of encoder_model so that it can run on those models, otherwise gives this error.
image

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