Skip to content

meta

allennlp.common.meta

[SOURCE]


META_NAME

META_NAME = "meta.json"

Meta

@dataclass
class Meta

Defines the meta data that's saved in a serialization directory and archive when training an AllenNLP model.

version

class Meta:
 | ...
 | version: str = None

new

class Meta:
 | ...
 | @classmethod
 | def new(cls) -> "Meta"

to_file

class Meta:
 | ...
 | def to_file(self, path: Union[PathLike, str]) -> None

from_path

class Meta:
 | ...
 | @classmethod
 | def from_path(cls, path: Union[PathLike, str]) -> "Meta"