xnn.hybnn.models.byteff_foundation#
The released ByteFF and ByteFF-Pol networks in xnn.
The authors publish five independently trained ByteFF networks (ByteFF-26, whose parameters are averaged) and one ByteFF-Pol network (ByteFF-Pol-25). They are distributed under the Creative Commons Attribution-NonCommercial 4.0 license (CC BY-NC 4.0): xnn does not ship them, the model hub downloads them on first use and states the terms when they load.
from_foundation()builds a bound or unbound model from a released name ("byteff-26","byteff-26-member-1", …,"byteff-pol-25");the hub format
"byteff2"converts one released checkpoint (a state dict saved under"model_state_dict") into aByteFForByteFFPol, sofrom_pretrainedloads every single network;convert_state_dict()andarchitecture()map such a state dict onto one ensemble member of the xnn model.
Module Attributes
name -> the hub cards of their members. |
Functions
|
The xnn class and options of a released state dict, read from its shapes. |
|
Map a released state dict onto one ensemble member of the xnn model. |
|
Build an xnn model from released checkpoint files, one per ensemble member. |
|
Load a released ByteFF or ByteFF-Pol model through the model hub. |