Remove dataset_text_field from SFTConfig (#2609)

This commit is contained in:
Quentin Gallouédec 2025-05-25 04:20:16 -06:00 committed by GitHub
commit 216fb5cde9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -294,7 +294,6 @@ trainer = SFTTrainer(
train_dataset = dataset,
tokenizer = tokenizer,
args = SFTConfig(
dataset_text_field = "text",
max_seq_length = max_seq_length,
per_device_train_batch_size = 2,
gradient_accumulation_steps = 4,