Hi, Thanks for the great work!
I am interested in constructing a custom model based on DreaMS, but some details are confusing to me. For example, for the input of the DreaMS encoder, do we need to involve the pre-cursor peaks for the input? Because I noticed that you use the pre-cursor token in the ssl model:
class CustomModel(nn.Module):
...
def forward(self, x):
**x = self.spec_encoder(x)[:, 0, :] # [:, 0, :] to get the precursor peak token embedding**
x = F.sigmoid(self.lin_out(x)) # Example forward pass through the head
return x
If the precursor peaks are needed, how can I provide them in the right way?
Thanks in advance for your help!
Hi, Thanks for the great work!
I am interested in constructing a custom model based on DreaMS, but some details are confusing to me. For example, for the input of the DreaMS encoder, do we need to involve the pre-cursor peaks for the input? Because I noticed that you use the pre-cursor token in the ssl model:
If the precursor peaks are needed, how can I provide them in the right way?
Thanks in advance for your help!