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

Fix embeddings from sentence-transformers (type cast & gpu flags) #121

Merged
merged 1 commit into from
May 26, 2020

Conversation

tholor
Copy link
Member

@tholor tholor commented May 26, 2020

To avoid serialization issues when indexing to elasticsearch we are casting now from numpy.float32 to float64. In addition we are using the GPU arg now to init the model on the correct device.

Related to #116

@tholor tholor added type:bug Something isn't working topic:DPR labels May 26, 2020
@tholor tholor merged commit df554fc into master May 26, 2020
@julian-risch julian-risch deleted the fix_sentence_transformer branch November 15, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:DPR type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants