|
25 | 25 | from keras_nlp.src.models.albert.albert_text_classifier import ( |
26 | 26 | AlbertTextClassifier, |
27 | 27 | ) |
| 28 | +from keras_nlp.src.models.albert.albert_text_classifier import ( |
| 29 | + AlbertTextClassifier as AlbertClassifier, |
| 30 | +) |
28 | 31 | from keras_nlp.src.models.albert.albert_text_classifier_preprocessor import ( |
29 | 32 | AlbertTextClassifierPreprocessor, |
30 | 33 | ) |
|
45 | 48 | BertMaskedLMPreprocessor, |
46 | 49 | ) |
47 | 50 | from keras_nlp.src.models.bert.bert_text_classifier import BertTextClassifier |
| 51 | +from keras_nlp.src.models.bert.bert_text_classifier import ( |
| 52 | + BertTextClassifier as BertClassifier, |
| 53 | +) |
48 | 54 | from keras_nlp.src.models.bert.bert_text_classifier_preprocessor import ( |
49 | 55 | BertTextClassifierPreprocessor, |
50 | 56 | ) |
|
72 | 78 | from keras_nlp.src.models.deberta_v3.deberta_v3_text_classifier import ( |
73 | 79 | DebertaV3TextClassifier, |
74 | 80 | ) |
| 81 | +from keras_nlp.src.models.deberta_v3.deberta_v3_text_classifier import ( |
| 82 | + DebertaV3TextClassifier as DebertaV3Classifier, |
| 83 | +) |
75 | 84 | from keras_nlp.src.models.deberta_v3.deberta_v3_text_classifier_preprocessor import ( |
76 | 85 | DebertaV3TextClassifierPreprocessor, |
77 | 86 | ) |
|
93 | 102 | from keras_nlp.src.models.distil_bert.distil_bert_text_classifier import ( |
94 | 103 | DistilBertTextClassifier, |
95 | 104 | ) |
| 105 | +from keras_nlp.src.models.distil_bert.distil_bert_text_classifier import ( |
| 106 | + DistilBertTextClassifier as DistilBertClassifier, |
| 107 | +) |
96 | 108 | from keras_nlp.src.models.distil_bert.distil_bert_text_classifier_preprocessor import ( |
97 | 109 | DistilBertTextClassifierPreprocessor, |
98 | 110 | ) |
|
110 | 122 | FNetMaskedLMPreprocessor, |
111 | 123 | ) |
112 | 124 | from keras_nlp.src.models.f_net.f_net_text_classifier import FNetTextClassifier |
| 125 | +from keras_nlp.src.models.f_net.f_net_text_classifier import ( |
| 126 | + FNetTextClassifier as FNetClassifier, |
| 127 | +) |
113 | 128 | from keras_nlp.src.models.f_net.f_net_text_classifier_preprocessor import ( |
114 | 129 | FNetTextClassifierPreprocessor, |
115 | 130 | ) |
|
195 | 210 | from keras_nlp.src.models.roberta.roberta_text_classifier import ( |
196 | 211 | RobertaTextClassifier, |
197 | 212 | ) |
| 213 | +from keras_nlp.src.models.roberta.roberta_text_classifier import ( |
| 214 | + RobertaTextClassifier as RobertaClassifier, |
| 215 | +) |
198 | 216 | from keras_nlp.src.models.roberta.roberta_text_classifier_preprocessor import ( |
199 | 217 | RobertaTextClassifierPreprocessor, |
200 | 218 | ) |
|
208 | 226 | from keras_nlp.src.models.t5.t5_tokenizer import T5Tokenizer |
209 | 227 | from keras_nlp.src.models.task import Task |
210 | 228 | from keras_nlp.src.models.text_classifier import TextClassifier |
| 229 | +from keras_nlp.src.models.text_classifier import TextClassifier as Classifier |
211 | 230 | from keras_nlp.src.models.text_classifier_preprocessor import ( |
212 | 231 | TextClassifierPreprocessor, |
213 | 232 | ) |
|
225 | 244 | from keras_nlp.src.models.xlm_roberta.xlm_roberta_text_classifier import ( |
226 | 245 | XLMRobertaTextClassifier, |
227 | 246 | ) |
| 247 | +from keras_nlp.src.models.xlm_roberta.xlm_roberta_text_classifier import ( |
| 248 | + XLMRobertaTextClassifier as XLMRobertaClassifier, |
| 249 | +) |
228 | 250 | from keras_nlp.src.models.xlm_roberta.xlm_roberta_text_classifier_preprocessor import ( |
229 | 251 | XLMRobertaTextClassifierPreprocessor, |
230 | 252 | ) |
|
0 commit comments