lsj2408 / Transformer-M

[ICLR 2023] One Transformer Can Understand Both 2D & 3D Molecular Data (official implementation)

Home Page:https://arxiv.org/abs/2210.01765

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to obtain the embedding of molecular conformation

1121091694 opened this issue · comments

commented

Great Work!
Input:atom_type + xyz
How can we get the embedding of atom and xyz?

The embedding of atom:

class AtomFeature(nn.Module):

The attention bias of 3D position:

class Molecule3DBias(nn.Module):