serdarcaglar commited on
Commit
9b2bcfd
1 Parent(s): a70c063

Update config.json

Browse files

When I tried to load model, I got "ValueError: Unrecognized model in hazal/BioBERTurkcased-con-trM-trR."
To fix the issue, I added "model_type": "bert" .

Files changed (1) hide show
  1. config.json +1 -0
config.json CHANGED
@@ -5,6 +5,7 @@
5
  "hidden_size": 768,
6
  "initializer_range": 0.02,
7
  "intermediate_size": 3072,
 
8
  "max_position_embeddings": 512,
9
  "num_attention_heads": 12,
10
  "num_hidden_layers": 12,
 
5
  "hidden_size": 768,
6
  "initializer_range": 0.02,
7
  "intermediate_size": 3072,
8
+ "model_type": "bert",
9
  "max_position_embeddings": 512,
10
  "num_attention_heads": 12,
11
  "num_hidden_layers": 12,