TypeError: Phi3RotaryEmbedding.forward() missing 1 required positional argument: 'position_ids'
#12
by
leelandzhang
- opened
Result of :
trainer = SFTTrainer(
model=model,
args=training_args,
peft_config=peft_config,
train_dataset = ready_train,
eval_dataset = ready_test,
packing=False,
dataset_text_field="text",
tokenizer=tokenizer,
max_seq_length=4000
)
trainer.train()