remg1997 commited on
Commit
4bd23a4
·
verified ·
1 Parent(s): 9c897b5

Add missing AutoModel auto_map entry (needed for babylm-eval finetune.run's AutoModel.from_pretrained)

Browse files
Files changed (1) hide show
  1. config.json +3 -2
config.json CHANGED
@@ -6,7 +6,8 @@
6
  "attention_pattern": "alternating",
7
  "auto_map": {
8
  "AutoConfig": "configuration_modernbert_small.ModernBertSmallConfig",
9
- "AutoModelForMaskedLM": "modeling_modernbert_small.ModernBertSmallForMaskedLM"
 
10
  },
11
  "dtype": "float32",
12
  "embedding_dropout": 0.0,
@@ -30,4 +31,4 @@
30
  "tie_word_embeddings": false,
31
  "transformers_version": "4.57.6",
32
  "vocab_size": 30522
33
- }
 
6
  "attention_pattern": "alternating",
7
  "auto_map": {
8
  "AutoConfig": "configuration_modernbert_small.ModernBertSmallConfig",
9
+ "AutoModelForMaskedLM": "modeling_modernbert_small.ModernBertSmallForMaskedLM",
10
+ "AutoModel": "modeling_modernbert_small.ModernBertSmallModel"
11
  },
12
  "dtype": "float32",
13
  "embedding_dropout": 0.0,
 
31
  "tie_word_embeddings": false,
32
  "transformers_version": "4.57.6",
33
  "vocab_size": 30522
34
+ }