Set number of retries per error code
See https://huggingface.slack.com/archives/C04L6P8KNQ5/p1714480880576699?thread_ts=1714033939.429809&cid=C04L6P8KNQ5 (internal)

Errors like `CreateCommitError` should always be retried, because they correspond to the Hub being down, which should always be a temporary situation. I set the limit to 30 in that case (instead of 3). I set 30 to other error codes as well: `HfHubError`, `LockedDatasetTimeoutError`, `PreviousStepStillProcessingError`

Set number of retries per error code: See https://huggingface.slack.com/archives/C04L6P8KNQ5/p1714480880576699?thread_ts=1714033939.429809&cid=C04L6P8KNQ5 (internal)

Errors like `CreateCommitError` should always be retried, because they correspond to the Hub being down, which should always be a temporary situation. I set the limit to 30 in that case (instead of 3). I set 30 to other error codes as well: `HfHubError`, `LockedDatasetTimeoutError`, `PreviousStepStillProcessingError`
