Skip to content

Conversation

@debbywehner
Copy link

Fix typo in val_batch_size and remove unused imports

Issue #, if available:

N/A

Description of changes:

This pull request makes two changes:

  • updates a typo from train_batch_size to val_batch_size, which as an available arg
  • remove unused imports

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Fix typo in val_batch_size and remove unused imports
Copy link
Contributor

@KeitaW KeitaW left a comment

Choose a reason for hiding this comment

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

Leave minor comment

import torch.utils.data

import transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe that AutoModelForCausalLM is still required

model = AutoModelForCausalLM.from_config(model_config)
. Could you try to run the test case e2e and share the log file?

Copy link
Author

Choose a reason for hiding this comment

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

Thanks - addressed!

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