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

How to get the Input embedding? #224

Open
wwzll123 opened this issue Dec 8, 2024 · 6 comments
Open

How to get the Input embedding? #224

wwzll123 opened this issue Dec 8, 2024 · 6 comments

Comments

@wwzll123
Copy link

wwzll123 commented Dec 8, 2024

Thanks for the great work!

I wonder if it is possible to extract the input embeddings before they are fed into the diffusion model.

As highlighted in the red box below.

Thanks!
17a3fc2162a4df7c01f9741be704c5c

@arogozhnikov
Copy link
Contributor

Hi @wwzll123

Clone project locally, use local install (pip install -e ), and modify necessary part (e.g by saving these tensors or making any other adjustments).

@wwzll123
Copy link
Author

wwzll123 commented Dec 9, 2024

Hi @wwzll123

Clone project locally, use local install (pip install -e ), and modify necessary part (e.g by saving these tensors or making any other adjustments).

Thanks for your reply! I will try.

@navvye
Copy link

navvye commented Dec 16, 2024

Just wanted to ask if these were different from the ESM embeddings that Chai-Discovery uses.

@wwzll123
Copy link
Author

wwzll123 commented Dec 16, 2024 via email

@Garhorne0813
Copy link

Will Chai provide an interface similar to AlphaFold3? https://github.com/google-deepmind/alphafold3/commit/e3683222ce05c93479144890da65847406bad6b9

@arogozhnikov
Copy link
Contributor

arogozhnikov commented Dec 24, 2024

Will Chai provide an interface similar to AlphaFold3? https://github.com/google-deepmind/alphafold3/commit/e3683222ce05c93479144890da65847406bad6b9

it is output embeddings, not input embeddings

The code is straightforward, and all it takes is just one np.savez to store what you want - so I'm confused why this should be exposed.

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

4 participants