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

Can't find a valid checkpoint at tmp #240

Open
FarnazZeidi opened this issue Aug 22, 2022 · 0 comments
Open

Can't find a valid checkpoint at tmp #240

FarnazZeidi opened this issue Aug 22, 2022 · 0 comments

Comments

@FarnazZeidi
Copy link

Hi,
I want to pretrain roberta-base-4096,

  1. When i wanted to run the "pretrain_and_evaluate(training_args, model, tokenizer, eval_only=False, model_path=training_args.output_dir) "
  2. I had an error in "takes from 2 to 7 positional arguments but 8 were given"
  3. That I solved with TypeError: forward() takes from 2 to 7 positional arguments but 8 were given #215
  4. Now I have another error
    Error is :
    ValueError: Can't find a valid checkpoint at tmp

in "tmp/roberta-base-4096" there are:

  • config.json
  • merges.txt
  • pythorch_model.bin
  • special_tokens_map.json
  • tokenizer.json
  • tokenizer_config.json
  • vocab.json

Should I add another file ? how can I solve this problem?

Thank you so much in advance.

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

1 participant