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

refactor setup trainer so we can add more hooks #773

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Conversation

winglian
Copy link
Collaborator

Moved the trainer setup to a separate core class. This should set us up to train model types other than CausalLM (like SequenceClassification). This also starts to add some functionality that calls pre and post hooks that we can use for our plugins.

@winglian winglian merged commit 6c81c61 into main Oct 23, 2023
4 checks passed
@winglian winglian deleted the trainer-builder branch October 23, 2023 21:38
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
* refactor setup trainer so we can add more hooks

* Remove stray comma
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.

None yet

1 participant