Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RoBERTa used for question embedding #134

Open
Fragile-hue opened this issue Oct 21, 2023 · 0 comments
Open

RoBERTa used for question embedding #134

Fragile-hue opened this issue Oct 21, 2023 · 0 comments

Comments

@Fragile-hue
Copy link

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant