Error trying to load MarkupLMForPretraining
I’m new to HF and just got this error,  I’m using transformers version 4.2.0.dev0 and pytorch version 1.11.0 with python3.8.ImportError                               Traceback (most recent call last)
Input In [3], in <cell line: 1>()
----> 1 from transformers import MarkupLMForPretraining
      3 model = LayoutLMv2Model.from_pretrained("microsoft/layoutxlm-base")

ImportError: cannot import name 'MarkupLMForPretraining' from 'transformers' (/home/user/miniconda3/envs/fastai6/lib/python3.8/site-packages/transformers/__init__.py)Is this model restricted? Is it because of my transformers version?
2022-06-16T19:41:15Z
It’s been a while since I posted this, does anyone know why I can’t load this model?
2022-06-17T03:47:37Z
hiis there ‘MarkupLMForPretraining’ in transformer?i can’t find at HF docs.also in the code, you load LayoutLMv2Model but import MarkupLMForPretraining.regards.