Wandb for Huggingface Trainer saves only first model
I am finetuning multiple models using for loop as follows.for file in os.listdir(args.data_dir):
    finetune(args, file)BUTwandbshows logs only for the first file indata_diralthough it is training and saving models for other files. It feels very strange behavior.wandb: Synced bertweet-base-finetuned-file1: https://wandb.ai/***/huggingface/runs/***This is a small snippet offinetuningcode with Huggingface:def finetune(args, file):
    training_args = TrainingArguments(
        output_dir=f'{model_name}-finetuned-{file}',
        overwrite_output_dir=True,
        evaluation_strategy='no',
        num_train_epochs=args.epochs,
        learning_rate=args.lr,
        weight_decay=args.decay,
        per_device_train_batch_size=args.batch_size,
        per_device_eval_batch_size=args.batch_size,
        fp16=True, # mixed-precision training to boost speed
        save_strategy='no',
        seed=args.seed,
        dataloader_num_workers=4,
    )

    trainer = Trainer(
        model=model,
        args=training_args,
        train_dataset=tokenized_dataset['train'],
        eval_dataset=None,
        data_collator=data_collator,
    )
    trainer.train()
    trainer.save_model()