Other Pretrained Models with Seq-Labeling Task.
I am using (LayoutLM): I want to use pre trained bert-base-multilingual-cased in layout lm. But i am not getting any success. Is there any thing i need to modify, other than is-decoder=false?
Closing the issue, since i have found solution to integrate this model.
@SibtainRazaJamali how do you do it ? thanks
This model simply extends bertPreTrainedModel class
- BertConfig.from_pretrained('bert-base-multilingual-cased',num_labels=len(labels))
- --pre_trained_model_path= 'bert-base-multilingual-cased'
- Initilize remaining embedding layers with kaiming-init
- For faster generalization initialize remaining layers with released pre trained versions.
You might need more data.
@SibtainRazaJamali Is it possible to open source the code for pretraining? I want to learn how to implement this? Thanks
@kwokwangliu We may release the pre-training code in the future, but no bandwidth for that right now.