esm icon indicating copy to clipboard operation
esm copied to clipboard

Inverse folding samples from all tokens instead of just amino acids

Open spenceforce opened this issue 1 year ago • 0 comments

NOTE: if this is not a bug report, please use the GitHub Discussions for support questions (How do I do X?), feature requests, ideas, showcasing new applications, etc.

Bug description GVPTransformerModel.sample samples from all tokens including <eos>, <mask>, etc.

Reproduction steps Run the example inverse folding script for sequence sampling with a high temperature. I've seen these tokens appear with a temperature as low as 3, but try 10.

Expected behavior I expect the tokens sampled to be only for amino acids since only amino acids make sense as outputs for structure residues.

spenceforce avatar Nov 01 '23 11:11 spenceforce