Commit
·
ab2c71f
1
Parent(s):
d183b2f
checking if other model thigns are needed
Browse files- config.json +1 -5
- configuration_lang.py +0 -1
config.json
CHANGED
@@ -9,7 +9,6 @@
|
|
9 |
"AutoConfig": "configuration_lang.ImpressoConfig",
|
10 |
"AutoModelForTokenClassification": "modeling_lang.ExtendedMultitaskModelForTokenClassification"
|
11 |
},
|
12 |
-
"classifier_dropout": null,
|
13 |
"custom_pipelines": {
|
14 |
"lang-detect": {
|
15 |
"impl": "lang_detect.MultitaskTokenClassificationPipeline",
|
@@ -17,9 +16,6 @@
|
|
17 |
}
|
18 |
},
|
19 |
"model_type": "lang_detect",
|
20 |
-
"pad_token_id": 0,
|
21 |
"torch_dtype": "float32",
|
22 |
-
"transformers_version": "4.
|
23 |
-
"type_vocab_size": 2,
|
24 |
-
"use_cache": true
|
25 |
}
|
|
|
9 |
"AutoConfig": "configuration_lang.ImpressoConfig",
|
10 |
"AutoModelForTokenClassification": "modeling_lang.ExtendedMultitaskModelForTokenClassification"
|
11 |
},
|
|
|
12 |
"custom_pipelines": {
|
13 |
"lang-detect": {
|
14 |
"impl": "lang_detect.MultitaskTokenClassificationPipeline",
|
|
|
16 |
}
|
17 |
},
|
18 |
"model_type": "lang_detect",
|
|
|
19 |
"torch_dtype": "float32",
|
20 |
+
"transformers_version": "4.49.0"
|
|
|
|
|
21 |
}
|
configuration_lang.py
CHANGED
@@ -11,7 +11,6 @@ class ImpressoConfig(PretrainedConfig):
|
|
11 |
**kwargs,
|
12 |
):
|
13 |
super().__init__(**kwargs)
|
14 |
-
|
15 |
self.filename = filename
|
16 |
|
17 |
|
|
|
11 |
**kwargs,
|
12 |
):
|
13 |
super().__init__(**kwargs)
|
|
|
14 |
self.filename = filename
|
15 |
|
16 |
|