Skip to content

embedding layer in nequip #360

Discussion options

You must be logged in to vote

Hi @mesonepigreco ,

Thanks for your interest in our code!

My understanding of embedding is that you use a new trained layer or network to transform this atomic species space into something that has chemical meaning

Exactly. At a code level, nequip has modules that make up the pieces of the model, and model builders, which put them together. You can see the module that does the one hot embedding as the node features here:
https://github.com/mir-group/nequip/blob/main/nequip/nn/embedding/_one_hot.py#L12. And the model builder for the NequIP model that uses that module here:
https://github.com/mir-group/nequip/blob/main/nequip/model/_eng.py#L103. You can see later that is followed by an At…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mesonepigreco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants