mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-05 09:01:54 +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,
|
fold=i,
|
||||||
)
|
)
|
||||||
else:
|
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":
|
if a.lower() == "y":
|
||||||
for mb_generator, steps_per_epoch, val_data, test_data in self.mb_loader(full_df=df):
|
for mb_generator, steps_per_epoch, val_data, test_data in self.mb_loader(full_df=df):
|
||||||
self._train_single_fold(
|
self._train_single_fold(
|
||||||
|
Loading…
Reference in New Issue
Block a user