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 Pairformer as a Standalone Module for MSA Embedding #77

Open
real-junjiezhang opened this issue Mar 1, 2025 · 1 comment
Open

Comments

@real-junjiezhang
Copy link

Hello,

Thanks for your great work in advance!

I'm interested in using the Pairformer component independently from the full Protenix pipeline. Specifically, I would like to know if it's possible to utilize only the Pairformer part where:

Input: An MSA (a3m file)
Output: The embedding of the MSA produced by Pairformer

My plan is to integrate Pairformer as an independent module in my code and retrain just this part. Could you please advise if this approach is feasible? Are there any inherent dependencies or modifications required to decouple Pairformer from the rest of the system?

Thank you for your help and looking forward to your guidance!

Bests

@zhangyuxuann
Copy link
Collaborator

@real-junjiezhang Pairformer is independent from the rest of the system. In this repo, you can use the get_pairformer_output to get the embedding of pairformer.

def get_pairformer_output(

However, if you only input an a3m file, you need to do some development to convert some features to adapt to the args of pairformer.

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

2 participants