mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-03 08:01:53 +01:00
Update trust_and_safety_models/toxicity/train.py
This commit is contained in:
parent
c94f4a42b9
commit
3051db2629
@ -387,7 +387,7 @@ class Trainer(object):
|
||||
fold=i,
|
||||
)
|
||||
else:
|
||||
a = input("Are you sure you want to do multiple fold training? (y/n)")
|
||||
a = input("Are you sure you want to do multiple fold training? (y/N)")
|
||||
if a.lower() == "y":
|
||||
for mb_generator, steps_per_epoch, val_data, test_data in self.mb_loader(full_df=df):
|
||||
self._train_single_fold(
|
||||
|
Loading…
Reference in New Issue
Block a user