iterative / gto

🏷️ Git Tag Ops. Turn your Git repository into Artifact Registry or Model Registry.
https://dvc.org/doc/gto
Apache License 2.0
142 stars 16 forks source link

Add a field for arbitrary metadata in annotation #313

Closed aguschin closed 1 year ago

aguschin commented 1 year ago

For some, it can be useful to keep arbitrary metadata. Since artifacts.yaml is a yaml file, it could be yaml or anything that works. Something like:

mymodel:
  path: path/to/model
  extra: <.......arbitrary metadata.....>
aguschin commented 1 year ago

Some options for the name: extra, custom, info, notes, meta, details. Example with custom:

$ cat example-gto/artifacts.yaml
awesome:
  description: This model is very cool
  labels:
  - ml
  - cool
  path: models/awesome.pkl
  type: model
  custom: 1