Skip to content

Commit

Permalink
Update CLI arguments doc following the code
Browse files Browse the repository at this point in the history
  • Loading branch information
amitport committed Jan 15, 2022
1 parent 0500c93 commit e2e6f27
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions optimization/docs/hyperparameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ used when running experiments in

**Cross-task hyperparameters**

Hyperparameter | Flag | Value
--------------------------- | ---------------------- | ---------------
Number of clients per round | `clients_per_round` | See table below
Number of client epochs | `client_epochs` | 1
Client sampling seed | `client_datasets_seed` | 1
Total rounds | `total_rounds` | See table below
Batch size | `client_batch_size` | See table below
Hyperparameter | Flag | Value
--------------------------- | ----------------------------- | ---------------
Number of clients per round | `clients_per_round` | See table below
Number of client epochs | `client_epochs_per_round` | 1
Client sampling seed | `client_datasets_random_seed` | 1
Total rounds | `total_rounds` | See table below
Batch size | `client_batch_size` | See table below

**Default values**

Expand All @@ -47,15 +47,16 @@ Next, we list task-specific hyperparameters, and the suggested starting values

**CIFAR-100 Image Classification**

Hyperparameter | Flag | Value
--------------- | -------------------------- | -----
Image crop size | `cifar100_image_crop_size` | 24
Hyperparameter | Flag | Value
----------------- | ---------------------------- | -----
Image crop width | `cifar100_image_crop_width` | 24
Image crop height | `cifar100_image_crop_height` | 24

**EMNIST Character Recognition**

Hyperparameter | Flag | Value
-------------- | ------------------------ | -----
Model type | `emnist_character_model` | cnn
Hyperparameter | Flag | Value
-------------- | --------------------------- | -----
Model type | `emnist_character_model_id` | cnn

**Shakespeare Character Prediction**

Expand All @@ -70,7 +71,7 @@ Hyperparameter | Flag | Value
Vocabulary size | `stackoverflow_word_vocab_size` | 10000
Sequence length | `stackoverflow_word_sequence_length` | 20
Validation set size | `num_validation_examples` | 10000
Max examples per client | `max_elements_per_user` | 1000
Max examples per client | `max_elements_per_client` | 1000

**Stack Overflow TP**

Expand All @@ -79,7 +80,7 @@ Hyperparameter | Flag | Value
Vocabulary size | `stackoverflow_tag_word_vocab_size` | 10000
Number of labels | `stackoverflow_tag_tag_vocab_size` | 500
Validation set size | `num_validation_examples` | 10000
Max examples per client | `max_elements_per_user` | 1000
Max examples per client | `max_elements_per_client` | 1000

## Configuring optimizers

Expand Down

0 comments on commit e2e6f27

Please sign in to comment.