Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate this with MuRIL? #7

Closed
BarahFazili opened this issue Jan 6, 2021 · 2 comments
Closed

How to integrate this with MuRIL? #7

BarahFazili opened this issue Jan 6, 2021 · 2 comments

Comments

@BarahFazili
Copy link

I wanted to use this library for computing the scores for MuRIL which is based on BERT MLM.Its not there in huggingface as yet.How to bridge the gap?

@davisliang
Copy link

There are two ways to go about this:

  1. Perhaps check out the model zoo in huggingface. From a cursory search, there seems to be a model uploaded for MuRIL cased: https://huggingface.co/simran-kh/muril-cased-temp/tree/main
  2. You can convert Tensorflow parameters to Torch and directly load them into your instantiated BERT encoder: https://huggingface.co/transformers/v1.0.0/converting_tensorflow_models.html

@BarahFazili
Copy link
Author

Yes,, I was able to merge the MuRIL model here using https://huggingface.co/monsoon-nlp/muril-adapted-local)Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants