Fal7acy commited on
Commit
fc99f44
1 Parent(s): 5cfa59c

Upload model

Browse files
Files changed (2) hide show
  1. language.py +1 -1
  2. 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:c547697b1f4cc69295875fd3afc1679df421333ef53026d3f1f50cbc6b1dd5a3
3
  size 774713018
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bc2647de306177bc7c1e1266bb7a6a98f8aee907e18e2b8d0d4457f4c1806d1
3
  size 774713018