1
0

I guess I didn't test on a blank-ish slate

This commit is contained in:
mrq 2023-03-15 00:54:27 +00:00
parent 363d0b09b1
commit 5e4f6808ce

View File

@ -1558,7 +1558,7 @@ def save_training_settings( **kwargs ):
settings['validation_batch_size'] = validation_lines
messages.append(f"Batch size exceeds validation dataset size, clamping validation batch size to {validation_lines}")
settings['tokenizer_json'] = args.tokenizer_json
settings['tokenizer_json'] = args.tokenizer_json if args.tokenizer_json else get_tokenizer_jsons()[0]
if settings['gpus'] > get_device_count():
settings['gpus'] = get_device_count()