ArneBinder / pie-datasets

Building scripts for Pytorch-IE datasets.
MIT License
1 stars 0 forks source link

add parameter `set_batch_size_to_split_size` to `DatasetDict.map` #155

Closed ArneBinder closed 1 month ago

ArneBinder commented 1 month ago

from the docstring:

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 using it in
    combination with batched=True.
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.35%. Comparing base (ef8f2d7) to head (8690c7b). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #155 +/- ## ========================================== + Coverage 92.34% 92.35% +0.01% ========================================== Files 10 10 Lines 901 903 +2 ========================================== + Hits 832 834 +2 Misses 69 69 ``` | [Flag](https://app.codecov.io/gh/ArneBinder/pie-datasets/pull/155/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [](https://app.codecov.io/gh/ArneBinder/pie-datasets/pull/155/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `92.35% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.