Is albert lm finetuning with SOP in Pytorch supported?
# ❓ Questions & Help


Hello, 

I am trying to use transfer learning on the albert language model. Before i train it on Squad. 

Does run_language_modeling.py support albert models and SOP ?

Thank you 

<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
     new models and benchmarks, and migration questions. For all other questions,
     we direct you to Stack Overflow (SO) where a whole community of PyTorch and
     Tensorflow enthusiast can help you out. Make sure to tag your question with the
     right deep learning framework as well as the huggingface-transformers tag: 
     https://stackoverflow.com/questions/tagged/huggingface-transformers 
     
     If your question wasn't answered after a period of time on Stack Overflow, you
     can always open a question on GitHub. You should then link to the SO question 
     that you posted.
     -->

## Details
<!-- Description of your issue -->

<!-- You should first ask your question on SO, and only if
     you didn't get an answer ask it here on GitHub. -->
**A link to original question on Stack Overflow**:

Hi, `run_language_modeling.py` does support the Albert model. It only does MLM though, no SOP.<|||||>I see, am i correct in assuming that pretraining/finetuning the albert model with run_language_modeling.py which only supports MLM task,   would result in lower performance, vs training with a script from another library (such as the original Albert repo from google) which supports SOP? 

Thank you <|||||>It might result in lower performance, indeed. Adding the SOP task shouldn't be too hard, as the layer used for SOP are implemented. You can check this issue for more information https://github.com/huggingface/transformers/issues/2671.