Commit
·
9f9cd7a
1
Parent(s):
612c78d
bug fix
Browse files- config.json +5 -6
- tokenizer_config.json +1 -1
config.json
CHANGED
@@ -1,16 +1,15 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "KoichiYasuoka/modernbert-base-japanese-aozora",
|
3 |
"architectures": [
|
4 |
"ModernBertForMaskedLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"auto_map": {
|
9 |
-
"AutoConfig": "
|
10 |
-
"AutoModel": "
|
11 |
-
"AutoModelForMaskedLM": "
|
12 |
-
"AutoModelForSequenceClassification": "
|
13 |
-
"AutoModelForTokenClassification": "
|
14 |
},
|
15 |
"bos_token_id": 0,
|
16 |
"classifier_activation": "gelu",
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"ModernBertForMaskedLM"
|
4 |
],
|
5 |
"attention_bias": false,
|
6 |
"attention_dropout": 0.0,
|
7 |
"auto_map": {
|
8 |
+
"AutoConfig": "configuration_modernbert.ModernBertConfig",
|
9 |
+
"AutoModel": "modeling_modernbert.ModernBertModel",
|
10 |
+
"AutoModelForMaskedLM": "modeling_modernbert.ModernBertForMaskedLM",
|
11 |
+
"AutoModelForSequenceClassification": "modeling_modernbert.ModernBertForSequenceClassification",
|
12 |
+
"AutoModelForTokenClassification": "modeling_modernbert.ModernBertForTokenClassification"
|
13 |
},
|
14 |
"bos_token_id": 0,
|
15 |
"classifier_activation": "gelu",
|
tokenizer_config.json
CHANGED
@@ -54,6 +54,6 @@
|
|
54 |
"pad_token": "[PAD]",
|
55 |
"sep_token": "[SEP]",
|
56 |
"split_by_punct": true,
|
57 |
-
"tokenizer_class": "
|
58 |
"unk_token": "[UNK]"
|
59 |
}
|
|
|
54 |
"pad_token": "[PAD]",
|
55 |
"sep_token": "[SEP]",
|
56 |
"split_by_punct": true,
|
57 |
+
"tokenizer_class": "DebertaV2TokenizerFast",
|
58 |
"unk_token": "[UNK]"
|
59 |
}
|