mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-03 16:11:53 +01:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
14 lines
256 B
Python
14 lines
256 B
Python
"""
|
|
Error classes for twml
|
|
"""
|
|
|
|
|
|
class EarlyStopError(Exception):
|
|
"""Exception used to indicate evaluator needs to early stop."""
|
|
pass
|
|
|
|
|
|
class CheckpointNotFoundError(Exception):
|
|
"""Exception used to indicate a checkpoint hasnt been found."""
|
|
pass
|