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

Chapter 2- Trainer code runs for hours on end on Kaggle without any output #152

Open
Emmanuel-Ibekwe opened this issue Jan 28, 2025 · 0 comments

Comments

@Emmanuel-Ibekwe
Copy link

Emmanuel-Ibekwe commented Jan 28, 2025

from transformers import Trainer

trainer = Trainer(model=model, args=training_args,
compute_metrics=compute_metrics, train_dataset=emotions_encoded['train'],
eval_dataset=emotions_encoded['validation'], tokenizer=tokenizer)

trainer.train()

The code seems to run hours on end without giving an output. Also the GPU's and CPU's don't seem to be utilized why running this code. The percentage of them being used is zero.

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

No branches or pull requests

1 participant