prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  ResNet56 default num_classes argument
  ## 🚀 Feature Request
  The `num_classes` argument for [ResNet56_cifar10](https://github.com/mosaicml/composer/blob/main/composer/models/resnet56_cifar10/model.py) should have a default value `num_classes=10`.
  
  ## Motivation
  
  It felt silly when writing a demo notebook to have to specify `num_classes=10` when calling `composer.models.CIFAR10_ResNet56(num_classes=10)`. The model has "cifar10" in its name, and even if it didn't, it's most common use is for cifar10.
  
  ## Implementation
  
  Does it require any changes beyond the `__init__()` signature?
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `composer/models/resnet56_cifar10/model.py`
  Content:
  ```
  1 # Copyright 2021 MosaicML. All Rights Reserved.
  2 
  3 from typing import List, Optional
  4 
  5 from composer.models.base import MosaicClassifier
  6 from composer.models.model_hparams import Initializer
  7 from composer.models.resnets import CIFAR_ResNet
  8 
  9 
  10 class CIFAR10_ResNet56(MosaicClassifier):
  11     """A ResNet-56 model extending :class:`MosaicClassifier`.
  12 
  13     See this `paper <https://arxiv.org/abs/1512.03385>`_ for details
  14     on the residual network architecture.
  15 
  16     Args:
  17         num_classes (int): The number of classes for the model.
  18         initializers (List[Initializer], optional): Initializers
  19             for the model. ``None`` for no initialization.
  20             (default: ``None``)
  21     """
  22 
  23     def __init__(
  24         self,
  25         num_classes: int,
  26         initializers: Optional[List[Initializer]] = None,
  27     ) -> None:
  28         if initializers is None:
  29             initializers = []
  30 
  31         model = CIFAR_ResNet.get_model_from_name(
  32             "cifar_resnet_56",
  33             initializers,
  34             num_classes,
  35         )
  36         super().__init__(module=model)
  37
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/composer/models/resnet56_cifar10/model.py b/composer/models/resnet56_cifar10/model.py
  --- a/composer/models/resnet56_cifar10/model.py
  +++ b/composer/models/resnet56_cifar10/model.py
  @@ -22,7 +22,7 @@
   
       def __init__(
           self,
  -        num_classes: int,
  +        num_classes: int = 10,
           initializers: Optional[List[Initializer]] = None,
       ) -> None:
           if initializers is None:
  
verification_info: {"golden_diff": "diff --git a/composer/models/resnet56_cifar10/model.py b/composer/models/resnet56_cifar10/model.py\n--- a/composer/models/resnet56_cifar10/model.py\n+++ b/composer/models/resnet56_cifar10/model.py\n@@ -22,7 +22,7 @@\n \n     def __init__(\n         self,\n-        num_classes: int,\n+        num_classes: int = 10,\n         initializers: Optional[List[Initializer]] = None,\n     ) -> None:\n         if initializers is None:\n", "issue": "ResNet56 default num_classes argument\n## \ud83d\ude80 Feature Request\r\nThe `num_classes` argument for [ResNet56_cifar10](https://github.com/mosaicml/composer/blob/main/composer/models/resnet56_cifar10/model.py) should have a default value `num_classes=10`.\r\n\r\n## Motivation\r\n\r\nIt felt silly when writing a demo notebook to have to specify `num_classes=10` when calling `composer.models.CIFAR10_ResNet56(num_classes=10)`. The model has \"cifar10\" in its name, and even if it didn't, it's most common use is for cifar10.\r\n\r\n## Implementation\r\n\r\nDoes it require any changes beyond the `__init__()` signature?\n", "before_files": [{"content": "# Copyright 2021 MosaicML. All Rights Reserved.\n\nfrom typing import List, Optional\n\nfrom composer.models.base import MosaicClassifier\nfrom composer.models.model_hparams import Initializer\nfrom composer.models.resnets import CIFAR_ResNet\n\n\nclass CIFAR10_ResNet56(MosaicClassifier):\n    \"\"\"A ResNet-56 model extending :class:`MosaicClassifier`.\n\n    See this `paper <https://arxiv.org/abs/1512.03385>`_ for details\n    on the residual network architecture.\n\n    Args:\n        num_classes (int): The number of classes for the model.\n        initializers (List[Initializer], optional): Initializers\n            for the model. ``None`` for no initialization.\n            (default: ``None``)\n    \"\"\"\n\n    def __init__(\n        self,\n        num_classes: int,\n        initializers: Optional[List[Initializer]] = None,\n    ) -> None:\n        if initializers is None:\n            initializers = []\n\n        model = CIFAR_ResNet.get_model_from_name(\n            \"cifar_resnet_56\",\n            initializers,\n            num_classes,\n        )\n        super().__init__(module=model)\n", "path": "composer/models/resnet56_cifar10/model.py"}], "after_files": [{"content": "# Copyright 2021 MosaicML. All Rights Reserved.\n\nfrom typing import List, Optional\n\nfrom composer.models.base import MosaicClassifier\nfrom composer.models.model_hparams import Initializer\nfrom composer.models.resnets import CIFAR_ResNet\n\n\nclass CIFAR10_ResNet56(MosaicClassifier):\n    \"\"\"A ResNet-56 model extending :class:`MosaicClassifier`.\n\n    See this `paper <https://arxiv.org/abs/1512.03385>`_ for details\n    on the residual network architecture.\n\n    Args:\n        num_classes (int): The number of classes for the model.\n        initializers (List[Initializer], optional): Initializers\n            for the model. ``None`` for no initialization.\n            (default: ``None``)\n    \"\"\"\n\n    def __init__(\n        self,\n        num_classes: int = 10,\n        initializers: Optional[List[Initializer]] = None,\n    ) -> None:\n        if initializers is None:\n            initializers = []\n\n        model = CIFAR_ResNet.get_model_from_name(\n            \"cifar_resnet_56\",\n            initializers,\n            num_classes,\n        )\n        super().__init__(module=model)\n", "path": "composer/models/resnet56_cifar10/model.py"}]}