imvladikon commited on
Commit
9ad9c83
1 Parent(s): e270e7e

Update modeling_enc_t5.py

Browse files
Files changed (1) hide show
  1. modeling_enc_t5.py +0 -4
modeling_enc_t5.py CHANGED
@@ -223,7 +223,3 @@ class EncT5ForTokenClassification(T5PreTrainedModel):
223
  attentions=outputs.attentions,
224
  )
225
 
226
-
227
- T5Config.register_for_auto_class()
228
- EncT5Tokenizer.register_for_auto_class("AutoTokenizer")
229
- EncT5ForTokenClassification.register_for_auto_class("AutoModelForTokenClassification")
 
223
  attentions=outputs.attentions,
224
  )
225