Skip to content

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Sep 17, 2024
1 parent 9f888e6 commit 5859d92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pie_datasets/core/dataset_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ def map( # type: ignore
function signature. If this is not possible, the document type of the input dataset
is used.
set_batch_size_to_split_size: If enabled, set the batch_size to the size of the respective split
when calling map() on it. This is useful to transform whole splits.
when calling map() on it. This is useful to transform whole splits when using it in
combination with batched=True.
**kwargs: additional keyword arguments for `datasets.Dataset.map()`
"""

Expand Down

0 comments on commit 5859d92

Please sign in to comment.