Closed freesunshine0316 closed 3 years ago
Sorry that I haven't been monitoring this GitHub repo in a long long time. The transformers library has come a long ways since I released benepar (the first benepar release actually came before BERT was even published). As of v0.2.0a0, benepar can use almost any model provided by huggingface with a simple hyperparameter change. I'm closing this PR to reflect that.
Dear all,
I added additional code to support the facebook XLM model. After initial experiments, the model with XLM shows comparable performances with BERT-Chinese on CTB. I guess XLM can be better than BERT after a comprehensive hyperparameter search.