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

Extracting learnt embeddings for analysis #182

Open
rohanbanerjee opened this issue Dec 20, 2024 · 0 comments
Open

Extracting learnt embeddings for analysis #182

rohanbanerjee opened this issue Dec 20, 2024 · 0 comments

Comments

@rohanbanerjee
Copy link

Hi @lucidrains,
Amazing work on this package, it is really helpful!
I am using my the QINCo (ResVQ + implicit_neural_codebook = True) for my work. I have trained my model on the data with 8 quantizers. I would now like to assess the quality of my embeddings by linear probing. I am a little confused with what to use as my embeddings for the same. I could either use raw_embeddings=res_vq_layer.codebook or embeddings=residual_vq_layer.get_codes_from_indices(indices) (as per issue #44). Could you guide me with the same?

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