Hello, when I run this cell ( trainer.train() ), I got an error:
ValueError: You have to specify either input_ids or inputs_embeds
“”"
output_dir = f’./dialogue-summary-training-{str(int(time.time()))}’
training_args = TrainingArguments(
output_dir=output_dir,
learning_rate=1e-5,
num_train_epochs=1,
weight_decay=0.01,
logging_steps=1,
max_steps=1
)
trainer = Trainer(
model=original_model,
args=training_args,
train_dataset=tokenized_datasets[‘train’],
eval_dataset=tokenized_datasets[‘validation’]
)
trainer.train()
“”"
I don’t know what the problem is. Can you help me, please?
Many thanks.
Pelin