Upload model
Browse files- language.py +1 -1
- pytorch_model.bin +1 -1
language.py
CHANGED
@@ -134,7 +134,7 @@ class BigBrainLanguageModel(PreTrainedModel):
|
|
134 |
config_class = BigBrainConfig
|
135 |
base_model_prefix = 'big-brain-lm'
|
136 |
|
137 |
-
def __init__(self, config: BigBrainConfig):
|
138 |
super().__init__(config)
|
139 |
self.config = config
|
140 |
self.tok_embed = nn.Embedding(config.vocab_size, config.hidden_size, config.pad_token_id)
|
|
|
134 |
config_class = BigBrainConfig
|
135 |
base_model_prefix = 'big-brain-lm'
|
136 |
|
137 |
+
def __init__(self, config: BigBrainConfig = BigBrainConfig()):
|
138 |
super().__init__(config)
|
139 |
self.config = config
|
140 |
self.tok_embed = nn.Embedding(config.vocab_size, config.hidden_size, config.pad_token_id)
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 774713018
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4bc2647de306177bc7c1e1266bb7a6a98f8aee907e18e2b8d0d4457f4c1806d1
|
3 |
size 774713018
|