Skip to content

RoBERTa used for question embedding #134

@Fragile-hue

Description

@Fragile-hue

When I run RoBERTa/main.py to train the model, When I use RoBERTa for question embedding, after running the following code, the values in the roberta_last_hidden_states are all nan. Why is this?
roberta_last_hidden_states = self.roberta_model(question_tokenized, attention_mask=attention_mask)[0]

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