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

Using senteval on already generated embeddings #82

Open
deven367 opened this issue Feb 2, 2021 · 2 comments
Open

Using senteval on already generated embeddings #82

deven367 opened this issue Feb 2, 2021 · 2 comments

Comments

@deven367
Copy link

deven367 commented Feb 2, 2021

Hello,

I am trying to run senteval on embeddings I have generated already. I have the sentence embeddings in np arrays. Is there a way so that I can simply check how well do those embeddings work on the transfer tasks?

Thanks!

@BrunoKreiner
Copy link

i got the same problem

@JosephGatto
Copy link

@deven367 @BrunoKreiner sort of hacky but you could do a dictionary lookup inside of the batcher. So build some dictionary D where D[sentence] = embedding, then open that in your SentEval script and return those embeddings in the batcher.

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

3 participants