load
The load function is used to load a history file that you previously saved using save. Available parameters:
path- The path to the file you want to load (default:./AutoHistory.json).
Example:
from litegpt.lib import History
history = History()
history.load("./AutoHistory.json") # Loading the history
print(history) # Verifying the loaded dataLast updated