-
Notifications
You must be signed in to change notification settings - Fork 0
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
Increase temperature on retries of test file and code file searches #87
Comments
Title: Implement Temperature Adjustment for Retries in Test and Code File Searches Problem: The current implementation of the Analysis: The problem arises from the deterministic nature of repeated search attempts using identical parameters. These searches are likely based on some form of heuristic or probabilistic matching, for which introducing a "temperature" parameter could modulate the randomness or exploration factor involved. The goal of a temperature parameter is to allow for more exploratory searches on retries, rather than optimizing for precision. This is a common technique in probabilistic models to increase the variety of outputs. Incorporating a temperature parameter in retry attempts necessitates a systematic approach to increase the variability of the search results. The The likely components needing modification are the search methods in the Proposed Changes:
By implementing these changes, the enhanced search logic will vary with retries, leading to a broader exploration of potential results, thus increasing the potential of obtaining different, possibly more suitable files upon retries. |
Why would the log files be different? AFAICT they only show the input, not the output. Presumably the input will always be the same. (BTW, are we not passing the project tree to choose files? Seems like it would be very useful.) |
You're right, the search logs are not that helpful in this case. However, the issue remains - the LLM tends to repeat the same proposed solutions over and over with little variation. Fixing #88 may help. Do you think a bit of temperature would be useful on retries? Why would the project tree be useful to choose files? The LLM is getting RAG results of snippets, these have an implied file hierarchy that it can see. |
Yes, I think it's a good idea.
I don't know, I'm just thinking on how I would approach a problem like that: I'd definitely look at |
Consider the two search logs for retries of
choose-test-files
. They are essentially identical.search.log
search.log
Therefore, there is not much likelihood of obtaining a different result on retry.
Introduce a temperature change on retry, to increase the likelihood of getting different results.
astropy__astropy-8872.zip
The text was updated successfully, but these errors were encountered: