Skip to content

Conversation

@Pringled
Copy link
Member

@Pringled Pringled commented Feb 14, 2025

This PR exposes min_epochs and max_epochs for fit. This is a bit more flexible (e.g. when you want to train a test model for 1 epoch, this is currently not possible). max_epochs defaults to -1, meaning it will run until early stopping is triggered.

@Pringled Pringled requested a review from stephantul February 14, 2025 08:39
@codecov
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
model2vec/train/classifier.py 97.40% <ø> (ø)

@Pringled Pringled merged commit 4502448 into main Feb 14, 2025
6 checks passed
@Pringled Pringled deleted the add-max-epochs branch February 14, 2025 09:08
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.

3 participants