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

How can I get parameters for using ScstRewardCriterion()? #26

Open
vinevix opened this issue Mar 4, 2023 · 1 comment
Open

How can I get parameters for using ScstRewardCriterion()? #26

vinevix opened this issue Mar 4, 2023 · 1 comment

Comments

@vinevix
Copy link

vinevix commented Mar 4, 2023

I want to know how to get "gt_res, greedy_res, sample_res, sample_logprobs", thank you in advance

@buxiangzhiren
Copy link
Owner

We don't use the ScstRewardCriterion(). But I think "gt_res" denotes the ground truth (sentence or list of sentences); "greedy_res" denotes the greedy search results (sentence or list of sentences); "sample_res" denotes your predicted results (sentence or list of sentences); "sample_logprobs" denotes the probabilities of "sample_res" .

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