sassoftware / python-dlpy

The SAS Deep Learning Python (DLPy) package provides the high-level Python APIs to deep learning methods in SAS Visual Data Mining and Machine Learning. It allows users to build deep learning models using friendly Keras-like APIs.
Apache License 2.0
224 stars 131 forks source link

We should use Auto classes, shouldn't we? #381

Closed riow1983 closed 1 year ago

riow1983 commented 2 years ago

When we need to use different type of BERT (cl-tohoku/bert-base-japanese, for instance), since they have different tokenizer from the one that the original BERT uses, users cannot call those models via DLPy's transformer. Auto classes can take care around this. (I think this also applies to roberta, distilbert as well, but didn't make it myself.)