-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 a few small typos #361
Conversation
Btw there is a typo in a kwarg name: https://github.com/thomasahle/dspy/blob/719a8d1805b4a59780ed9cda6840e782be39c013/dspy/teleprompt/bootstrap.py#L99 But I intentionally didn’t fix it, because that could break code and would need to be versioned up. |
Ah thanks for the note. Actually please do feel free to fix |
@@ -81,7 +81,7 @@ class ObservationSummarizer(dspy.Signature): | |||
|
|||
class DatasetDescriptor(dspy.Signature): | |||
("""Given several examples from a dataset please write observations about trends that hold for most or all of the samples. """ | |||
"""Some areas you may consider in your observations: topics, content, syntax, conciceness, etc. """ | |||
"""Some areas you may consider in your observations: topics, content, syntax, conciseness, etc. """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm this is a good fix but it may affect runs :/ so we probably will only want to merge this one at a later version cc: @XenonMolecule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, whoops, good catch here, svilupp! I'm checking with Krista, but we may both have a version of the Bayesian optimizer running off a branch for the current experiments, so merging may not be a concern for ongoing runs. I will double-check with her and confirm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I remove this fix from the PR to merge the rest or let's keep it open for a few days for you to check?
Added to the PR + refreshed with the latest main |
…tency, before merging PR
Ok added back the typo cc: @XenonMolecule let's fix this in our own refactors soon. Merging now @svilupp ! Thank you so much. |
Thank you for the package!
When reading through the code, I noticed a few typos, so I took the liberty to fix them.
Only one of them is relevant for performance (it's in the prompt for Bayesian teleprompter).