Skip to main content

OpenFF NAGL Models

Project description

OpenFF NAGL Models

Latest release Last release tag GitHub commits since latest release (by date) for a branch Documentation Status
Status GH Actions Status
Community License: CC-BY 4.0 DOI

This repository contains NAGL models released by the Open Force Field Initiative. They are intended to be used by OpenFF NAGL.

Models

Model name Introduced in openff-nagl-models version Release state Further notes
openff-gnn-am1bcc-1.0.0.pt v2025.09.0 Production Link
openff-gnn-am1bcc-0.1.0-rc.3.pt v0.3.0 pre-production Link
openff-gnn-am1bcc-0.1.0-rc.1.pt v0.2.0 pre-production Link
openff-gnn-am1bcc-0.1.0-rc.1.pt v0.1.0 pre-production Link
openff-gnn-am1bcc-0.0.1-alpha.1.pt $^1$ v0.0.1 pre-production/experimental $^1$ Link

$^1$ We do not recommend using this model to assign charges in scientific work.

Usage

Installing this package exposes an entry point that makes it easy to access models installed in this package.

A convenience function is provided to wrap this for you:

>>> from openff.nagl_models import load_nagl_model_directory_entry_points
>>> load_nagl_model_directory_entry_points()
[PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc')]

You can also list all available models from all entry points:

>>> from openff.nagl_models import list_available_nagl_models
>>> list_available_nagl_models()
[PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.0.1-alpha.1.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.1.pt')]

Or validate if a model name is found in the local directory, or an entry point directory:

>>> from openff.nagl_models import validate_nagl_model_path
>>> validate_nagl_model_path("openff-gnn-am1bcc-0.0.1-alpha.1.pt")
PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.0.1-alpha.1.pt')

Finally, if you want to find all models for a particular type, use get_models_by type. These will come sorted according to semantic versioning, where the latest release is last:

>>> from openff.nagl_models import get_models_by_type
>>> get_models_by_type("am1bcc")
[PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.0.1-alpha.1.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.1.pt')]

Acknowledgements

Project based on the Computational Molecular Science Python Cookiecutter version 1.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acellera_openff_nagl_models-2025.9.0.tar.gz (54.5 MB view details)

Uploaded Source

File details

Details for the file acellera_openff_nagl_models-2025.9.0.tar.gz.

File metadata

File hashes

Hashes for acellera_openff_nagl_models-2025.9.0.tar.gz
Algorithm Hash digest
SHA256 6f222fed34f3d384e0420ba3ef5ea6826fa8ef17ece26ee6aaca05e0e99d5871
MD5 026d4345f1236ca0d6240c3143e15553
BLAKE2b-256 ddc2a4f3a95558e0d3fbd3edc420faff368d32f512a121b6aa093b18283420a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page