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

List of supported atoms nowhere to be seen in the documentation [documentation enhancement] #636

Open
UnixJunkie opened this issue Sep 28, 2023 · 4 comments

Comments

@UnixJunkie
Copy link

Or, I did not find it?

I'll have a look in the scientific article then.

@UnixJunkie UnixJunkie changed the title List of supported atoms nowhere to be seen in the documentation List of supported atoms nowhere to be seen in the documentation [documentation] Sep 28, 2023
@UnixJunkie
Copy link
Author

From the code (torchani/data/init.py), I suspect this:
CHNOSFCl

@UnixJunkie
Copy link
Author

From the paper, also CHNOSFCl.

@yueyericardo
Copy link
Contributor

Hi, it is [H,C,N,O,S,F,Cl], defined at https://github.com/aiqm/ani-model-zoo/blob/master/resources/ani-2x_8x/rHCNOSFCl-5.1R_16-3.5A_a8-4.params#L14

or from code

>>> import torchani
>>> model = torchani.models.ANI2x()
>>> model
BuiltinModel(
  (aev_computer): AEVComputer(
    (angular_terms): StandardAngular(
      (cutoff_fn): CutoffCosine()
    )
    (radial_terms): StandardRadial(
      (cutoff_fn): CutoffCosine()
    )
    (neighborlist): FullPairwise()
  )
  (neural_networks): Ensemble(
    (0): ANIModel(
      (H): Sequential(
        (0): Linear(in_features=1008, out_features=256, bias=True)
        (1): CELU(alpha=0.1)
        (2): Linear(in_features=256, out_features=192, bias=True)
        (3): CELU(alpha=0.1)
        (4): Linear(in_features=192, out_features=160, bias=True)
        (5): CELU(alpha=0.1)
        (6): Linear(in_features=160, out_features=1, bias=True)
      )
      (C): Sequential(
        (0): Linear(in_features=1008, out_features=224, bias=True)
        (1): CELU(alpha=0.1)
        (2): Linear(in_features=224, out_features=192, bias=True)
        (3): CELU(alpha=0.1)
        (4): Linear(in_features=192, out_features=160, bias=True)
        (5): CELU(alpha=0.1)
        (6): Linear(in_features=160, out_features=1, bias=True)
      )
      (N): Sequential(
        (0): Linear(in_features=1008, out_features=192, bias=True)
        (1): CELU(alpha=0.1)
        (2): Linear(in_features=192, out_features=160, bias=True)
        (3): CELU(alpha=0.1)
        (4): Linear(in_features=160, out_features=128, bias=True)
        (5): CELU(alpha=0.1)
        (6): Linear(in_features=128, out_features=1, bias=True)
      )
      (O): Sequential(
        (0): Linear(in_features=1008, out_features=192, bias=True)
        (1): CELU(alpha=0.1)
        (2): Linear(in_features=192, out_features=160, bias=True)
        (3): CELU(alpha=0.1)
        (4): Linear(in_features=160, out_features=128, bias=True)
        (5): CELU(alpha=0.1)
        (6): Linear(in_features=128, out_features=1, bias=True)
      )
      (S): Sequential(
        (0): Linear(in_features=1008, out_features=160, bias=True)
        (1): CELU(alpha=0.1)
        (2): Linear(in_features=160, out_features=128, bias=True)
        (3): CELU(alpha=0.1)
        (4): Linear(in_features=128, out_features=96, bias=True)
        (5): CELU(alpha=0.1)
        (6): Linear(in_features=96, out_features=1, bias=True)
      )
      (F): Sequential(
        (0): Linear(in_features=1008, out_features=160, bias=True)
        (1): CELU(alpha=0.1)
        (2): Linear(in_features=160, out_features=128, bias=True)
        (3): CELU(alpha=0.1)
        (4): Linear(in_features=128, out_features=96, bias=True)
        (5): CELU(alpha=0.1)
        (6): Linear(in_features=96, out_features=1, bias=True)
      )
      (Cl): Sequential(
        (0): Linear(in_features=1008, out_features=160, bias=True)
        (1): CELU(alpha=0.1)
        (2): Linear(in_features=160, out_features=128, bias=True)
        (3): CELU(alpha=0.1)
        (4): Linear(in_features=128, out_features=96, bias=True)
        (5): CELU(alpha=0.1)
        (6): Linear(in_features=96, out_features=1, bias=True)
      )
    )

@UnixJunkie
Copy link
Author

Thanks, I was right then.
This is a key thing; it should be clearly stated in the documentation too.

@UnixJunkie UnixJunkie changed the title List of supported atoms nowhere to be seen in the documentation [documentation] List of supported atoms nowhere to be seen in the documentation [documentation enhancement] Oct 18, 2023
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

2 participants