Skip to content

Commit

Permalink
Fix spacing in FederatedDataset docs (#2587)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak authored Nov 10, 2023
1 parent f442cbc commit 91e3262
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datasets/flwr_datasets/federated_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
class FederatedDataset:
"""Representation of a dataset for federated learning/evaluation/analytics.
Download, partition data among clients (edge devices), or load full dataset.
Download, partition data among clients (edge devices), or load full dataset.
Partitions are created using IidPartitioner. Support for different partitioners
specification and types will come in future releases.
Partitions are created using IidPartitioner. Support for different partitioners
specification and types will come in future releases.
Parameters
----------
dataset: str
The name of the dataset in the Hugging Face Hub.
subset: str
Secondary information regarding the dataset, most often subset or version
(that is passed to the name in datasets.load_dataset).
(that is passed to the name in datasets.load_dataset).
resplitter: Optional[Union[Resplitter, Dict[str, Tuple[str, ...]]]]
`Callable` that transforms `DatasetDict` splits, or configuration dict for
`MergeResplitter`.
Expand Down

0 comments on commit 91e3262

Please sign in to comment.