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

Added finetuning support for BERT based models on IMDB dataset. #292

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

quic-meetkuma
Copy link

  • Added support for SequenceClassification task for BERT based models.
  • Added support for IMDB dataset.

Note: It is under testing.

@vbaddi vbaddi marked this pull request as draft February 28, 2025 10:43
@quic-meetkuma quic-meetkuma marked this pull request as ready for review March 28, 2025 09:10
@@ -175,18 +184,27 @@ def train(
ref_device="cpu",
ref_dtype=torch.float32,
# adjust atol & rtol this as required
atol=1e-1,
atol=1,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this value to 1e-1

Copy link
Author

@quic-meetkuma quic-meetkuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Address minor comments along with the other reviewers' comments.

@quic-meetkuma quic-meetkuma force-pushed the bert_ft branch 3 times, most recently from 66914a2 to dac9c97 Compare April 7, 2025 10:58
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.

1 participant