Jiahuita
commited on
Commit
•
1833f3a
1
Parent(s):
bb8ddb0
same issue diff place
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -26,7 +26,7 @@ class NewsClassifierConfig(PretrainedConfig):
|
|
26 |
|
27 |
class NewsClassifier(PreTrainedModel):
|
28 |
config_class = NewsClassifierConfig
|
29 |
-
base_model_prefix = "
|
30 |
|
31 |
def __init__(self, config):
|
32 |
super().__init__(config)
|
|
|
26 |
|
27 |
class NewsClassifier(PreTrainedModel):
|
28 |
config_class = NewsClassifierConfig
|
29 |
+
base_model_prefix = "text_classifier"
|
30 |
|
31 |
def __init__(self, config):
|
32 |
super().__init__(config)
|