xnn.ffnn.models.gfnfflib.parameter_file#

xnn.ffnn.models.gfnfflib.parameter_file(cache_dir=None)[source]#

The GFN-FF parameter file of xtb, downloaded into the model cache if needed.

A LICENSE.txt beside the cached file records its source and license, and the download itself is announced by a warning.

Parameters:

cache_dir (str or Path, optional) – Model cache; defaults to the xnn model cache.

Returns:

The cached file.

Return type:

Path

Raises:

FileNotFoundError – When the file is not cached and XNN_OFFLINE forbids downloading.