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

Some Problem about PRM model #22

Open
Alex-Dou123 opened this issue Jan 19, 2025 · 0 comments
Open

Some Problem about PRM model #22

Alex-Dou123 opened this issue Jan 19, 2025 · 0 comments

Comments

@Alex-Dou123
Copy link

Thanks for your good work. I have a questions about coding. I find that for initial PRM (Mistral-7B without finetuning, I have following question.)

obtainscore fail!
Error:'CausalLMOutputWithPast' object has no attribute 'item'

There is no correct values and I find that tensor in "CausalLMOutputWithPast" is a 3D tensor (shape is [1, 2048, 4096]). Therefore, I want to know how I can get the real values?

Thanks

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