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.