Skip to content

Commit

Permalink
clean up typing
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobfulano committed Aug 17, 2023
1 parent a61af04 commit 56aa68c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llmfoundry/models/mosaicbert/configuration_mosaicbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# SPDX-License-Identifier: Apache-2.0

from transformers import BertConfig as TransformersBertConfig
from typing import Any


class BertConfig(TransformersBertConfig):
Expand All @@ -14,7 +15,7 @@ def __init__(
self,
alibi_starting_size: int = 512,
attention_probs_dropout_prob: float = 0.0,
**kwargs,
**kwargs: Any,
):
"""Configuration class for MosaicBert.
Expand Down

0 comments on commit 56aa68c

Please sign in to comment.