You can delete TrainingSets
and TrainingSetVersions
. The following examples show how to delete TrainingSets
and TrainingSetVersions
.
Note
|
TrainingSets may only be deleted if they have no versions.
|
TrainingSetClient.delete_training_set("my-training-set")
The following example shows how to delete the TrainingSet
and all versions:
found_tsvs = TrainingSetClient.list_training_set_versions(
training_set_name="my-training-set",
)
for tsv in found_tsvs:
TrainingSetClient.delete_training_set_version(tsv.training_set_name, tsv.number)
TrainingSetClient.delete_training_set("my-training-set")