Skip to content

Commit

Permalink
BertConfig typing in modeling_mosaicbert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobfulano committed Aug 17, 2023
1 parent 56aa68c commit 1cd7c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/models/mosaicbert/modeling_mosaicbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class BertModel(BertPreTrainedModel):
```
"""

def __init__(self, config, add_pooling_layer=True):
def __init__(self, config: BertConfig, add_pooling_layer=True):
super(BertModel, self).__init__(config)
self.embeddings = BertEmbeddings(config)
self.encoder = BertEncoder(config)
Expand Down

0 comments on commit 1cd7c2e

Please sign in to comment.