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: train_on_inputs: true ignored for sharegpt #1045

Merged

Conversation

NanoCode012
Copy link
Collaborator

Following this discussion here: https://discord.com/channels/1104757954588196865/1192621815172964522

Sharegpt conversation masks all the time and does not respect train_on_inputs. This PR fixes it.

@winglian
Copy link
Collaborator

winglian commented Jan 5, 2024

It would be good to have unit tests that verify this functionality. I can help with this over the weekend.

@NanoCode012 NanoCode012 marked this pull request as draft January 6, 2024 01:04
@winglian winglian force-pushed the fix/train_on_inputs_sharegpt branch from dd8dc4d to 5ad17c7 Compare January 6, 2024 04:34
@winglian
Copy link
Collaborator

winglian commented Jan 6, 2024

@NanoCode012 I added a test for this to #1054 , but it's commented out for now since it's failing until this is rebased over that

@NanoCode012
Copy link
Collaborator Author

You can merge that first then. This can come after

@winglian winglian force-pushed the fix/train_on_inputs_sharegpt branch from 5ad17c7 to 9b75ae0 Compare January 9, 2024 14:34
@winglian winglian marked this pull request as ready for review January 9, 2024 14:37
@NanoCode012
Copy link
Collaborator Author

Looks good!

@winglian winglian merged commit 043c386 into axolotl-ai-cloud:main Jan 10, 2024
6 checks passed
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.

2 participants