-
Notifications
You must be signed in to change notification settings - Fork 12
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
pretrain.sh #12
Comments
If this parameter is set while training a generator, its usage is to save model. So you can just try mkdir to create such folder. |
( also the same in training retriever |
RuntimeError: Output 0 of SplitBackward0 is a view and is being modified inplace. This view is the output of a function that returns multiple views. Such functions do not allow the output views to be modified inplace. You should replace the inplace operation by an out-of-place one. |
I use Chatgpt &then I got the measure to fix the issue, the problem exits in transformer.py line 131 q *= self.scaling This error indicates that there is an inplace operation in your code that modifies Tensors referenced by multiple views.The solution is add q = q.clone() before q *= self.scaling |
what is the ckpt.exp.pretrain4 ?
I run the code and get FileNotFoundError: [Errno 2] No such file or directory: './data/mt.ckpts/esen/ckpt.exp.pretrain4'
The text was updated successfully, but these errors were encountered: