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

Question about pretrained models w.r.t InferSent and ESIM #47

Open
adorable-mx opened this issue Oct 27, 2021 · 5 comments
Open

Question about pretrained models w.r.t InferSent and ESIM #47

adorable-mx opened this issue Oct 27, 2021 · 5 comments

Comments

@adorable-mx
Copy link

Hi, thanks for your code. Since I haven't found pretrained models for InferSent and ESIM, I trained both models by myself. However, I cannot reproduce the accuracy same as the data you provided. Could you provide details of training and validation? Or share the pretrained models?

@jind11
Copy link
Owner

jind11 commented Oct 29, 2021

I am so sorry that this project was done two years ago and I have moved from my school to my company now so it is not possible to retrieve the trained models any more. You may use the trained models from other sources, such as this one: https://github.com/facebookresearch/InferSent, https://github.com/coetaur0/ESIM.

@sunersheng
Copy link

Hello,is the argument "target-model-path" in attack_nli.py where the pretrained bertmodel exists? I can't load the model?

@jind11
Copy link
Owner

jind11 commented Dec 8, 2021

Yes, target-model-path should be the path to the model that has been fine-tuned on the corresponding dataset.

@sunersheng
Copy link

Please tell me do you have the pretrained model that you have finetuned? I just want to use the tool to generate some adversary sentences.

@jind11
Copy link
Owner

jind11 commented Dec 10, 2021

Screen Shot 2021-12-10 at 9 54 41 AM
As shown in this screenshot, we did provide the fine-tuned models in the links.

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

3 participants