-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add fine tuning experiment #88
Conversation
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.
Looks good to me! Thank you for adding this. Just small comments:
- Might need to ask users to install
datasets
from HuggingFace up top - Is
file-name
on this lineopenai.FineTuningJob.create(training_file="file-name", model="gpt-3.5-turbo")
correct? I guess that may be the default name? - How long does the fine-tuning job take? We can mention that as well so they know what to expect.
I think adding a SQL syntax validator (as an eval function) in the future can be cool.
dfs_to_concat = [df[columns_with_multiple_unique_values], df[unhashable_columns]] | ||
if 'prompt' in df: | ||
dfs_to_concat.append(df['prompt']) | ||
if 'messages' in df: | ||
dfs_to_concat.append(df['messages']) |
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.
Might need to check if it already exists in dfs_to_concat
. Otherwise, you might get duplicate? Unless pd.concat
handles duplication
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.
Good catch! I updated the logic to avoid duplicates
b05d7a8
to
9497015
Compare
Totally agree that validating SQL is a good one, added an issue here: #89 |
No description provided.