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

Error while loading pre-trained model for PAWSX and XNLI #44

Open
wasiahmad opened this issue Aug 21, 2020 · 1 comment
Open

Error while loading pre-trained model for PAWSX and XNLI #44

wasiahmad opened this issue Aug 21, 2020 · 1 comment

Comments

@wasiahmad
Copy link

wasiahmad commented Aug 21, 2020

When we try to load pre-trained model from model_name_or_path in this line for run_classify.py, it throws error (as expected).

I think we should instead use args.init_checkpoint as:

if args.init_checkpoint and os.path.exists(args.init_checkpoint):
    # set global_step to gobal_step of last saved checkpoint from model path
    global_step = int(args.init_checkpoint.split("-")[-1].split("/")[0])

Am I missing anything?

@wasiahmad wasiahmad changed the title Error while loading pre-trained model PAWSX and XNLI Error while loading pre-trained model for PAWSX and XNLI Aug 21, 2020
@melvinjosej
Copy link
Collaborator

Hi Wasi,

Sorry for the delay in getting back. We're looking into this now and will have a response in a few days.

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