Louis-udm / VGCN-BERT

MIT License
122 stars 35 forks source link

changing the model checkpoint #11

Open shainaraza opened 4 years ago

shainaraza commented 4 years ago

@Louis-udm If we want to have other model rather than the one listed in modeling.py, e.g., longformer or robertA from the huggingface, what changed I need to make. I tried to add the new one but its giving me json error image

any help? thanks

Louis-udm commented 3 years ago

Hi,

Thank you for your attention. If you need to apply to other bert variants, I think you need to modify the inheritance of the classes in model_vgcn_bert.py. These changes may not be small, but not too difficult. I haven't had time to do this adaptation recently. If you succeed, you are welcome to share your code.