Skip to content

Commit

Permalink
DOC: simplify subgroup example in publish()
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Dec 11, 2024
1 parent 7d2a6af commit ce5acec
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions audmodel/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def publish(
| | the model | |
+--------------+---------------------+--------------------------------------+
| ``subgroup`` | - project | - ser.dimensions.wav2vec2 |
| | - task the model | - projectsmile.sex.cnn |
| | - task the model | - age.cnn |
| | was trained for | |
| | - model architecture| |
+--------------+---------------------+--------------------------------------+
Expand Down Expand Up @@ -502,14 +502,10 @@ def publish(
date: date, defaults to current timestamp
meta: dictionary with meta information
repository: repository where the model will be published
subgroup: extend group ID to
``com.audeering.models.<subgroup>``.
You can increase the depth
by using dot-notation,
e.g. setting
``subgroup=foo.bar``
will result in
``com.audeering.models.foo.bar``
subgroup: subgroup under which
the model is stored on backend.
``.`` are replaced by ``/``
on the backend
verbose: show debug messages
Returns:
Expand Down

0 comments on commit ce5acec

Please sign in to comment.