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

Fix quantized example #237

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Conversation

lucasavila00
Copy link
Contributor

@lucasavila00 lucasavila00 commented Apr 28, 2024

I found it while testing #236

Copy link

Code Metrics Report
  ───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
Rust                        70     23339     1550       508    21281       1281
───────────────────────────────────────────────────────────────────────────────
Total                       70     23339     1550       508    21281       1281
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop 69,864
Estimated Schedule Effort 11.811066 months
Estimated People Required 5.038645
───────────────────────────────────────────────────────────────────────────────
Processed 768517 bytes, 0.769 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────
  

stop_toks: None,
max_len: None,
logits_bias: None,
n_choices: 1,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was defaulting to 0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this should use the Completion Request best_of instead. These 2 sources of truth are confusing

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucasavila00 the best_of parameter sets the number of seqs to consider when they are done by cumulative logprob. It should be <= n_choices.

stop_toks: None,
max_len: None,
logits_bias: None,
n_choices: 1,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucasavila00 the best_of parameter sets the number of seqs to consider when they are done by cumulative logprob. It should be <= n_choices.

@EricLBuehler EricLBuehler merged commit ae2fdaa into EricLBuehler:master Apr 28, 2024
8 of 11 checks passed
@EricLBuehler
Copy link
Owner

Thank you

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

Successfully merging this pull request may close these issues.

None yet

2 participants