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

REWARD_CHECKPOINT_PATH ( How I solve following issue?) #7

Open
nadimkaysar opened this issue May 30, 2024 · 0 comments
Open

REWARD_CHECKPOINT_PATH ( How I solve following issue?) #7

nadimkaysar opened this issue May 30, 2024 · 0 comments

Comments

@nadimkaysar
Copy link

nadimkaysar commented May 30, 2024

Where did I find this 'REWARD_CHECKPOINT_PATH' as a bin file?
`
3 rw_tokenizer.pad_token = rw_tokenizer.eos_token

4 rw_model = GPTRewardModel(SFT_MODEL_PATH)

----> 5 rw_model.load_state_dict(REWARD_CHECKPOINT_PATH)

6 rw_model.half()

7 rw_model.eval()
`

@nadimkaysar nadimkaysar changed the title REWARD_CHECKPOINT_PATH ( How I sovlve following issue?) REWARD_CHECKPOINT_PATH ( How I solve following issue?) May 30, 2024
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