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(auto-edit): fix temperature value to be low for output consistency #6853

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

hitesh-1997
Copy link
Contributor

@hitesh-1997 hitesh-1997 commented Jan 28, 2025

context

  1. fix the temperature value to be low for output consistency. 0.1 temperature value still leads to inconsistency sometimes. Having more deterministic outputs would help repro and debug the model quality better.
  2. Refer for more context: https://github.com/sourcegraph/cody/pull/6848/files

Test plan

  1. Fixed the test cases and CI.
  2. Local testing on the prompt to ensure the output is consistent.

@hitesh-1997 hitesh-1997 merged commit 792a954 into main Jan 28, 2025
25 of 26 checks passed
@hitesh-1997 hitesh-1997 deleted the hitesh/auto-edit-fix-temperature-inconsistency branch January 28, 2025 20:30
umpox pushed a commit that referenced this pull request Jan 28, 2025
… low for output consistency (#6854)

## context
1. fix the temperature value to be low for output consistency. `0.1`
temperature value still leads to inconsistency sometimes. Having more
deterministic outputs would help repro and debug the model quality
better.
2. Refer for more context:
https://github.com/sourcegraph/cody/pull/6848/files

## Test plan
1. Fixed the test cases and CI.
3. Local testing on the prompt to ensure the output is consistent.
 <br> Backport 792a954 from #6853

Co-authored-by: Hitesh Sagtani <sagtanih@gmail.com>
hitesh-1997 added a commit that referenced this pull request Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants