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

Evaluation output uncorrectly #4

Open
shacker101 opened this issue Aug 7, 2024 · 0 comments
Open

Evaluation output uncorrectly #4

shacker101 opened this issue Aug 7, 2024 · 0 comments

Comments

@shacker101
Copy link

shacker101 commented Aug 7, 2024

Hello,

I followed the README to train the model, but during evaluation, I encountered the following warning:

Some weights of Prot2TextModel were not initialized from the model checkpoint at ./models/prot2text_base/model and are newly initialized: ['decoder.lm_head.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

Additionally, the evaluation model only output: "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!".

Could this indicate that the weights were not loaded correctly?

However, evaluating your pretrained model (Prot2Text SMALL) works fine.

The main difference in my setup is that I downloaded GPT2 and ESM2 weights for offline training.

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