save

The save function is used to save your history. Available parameters:

  • path - The path where the file will be saved (default: ./AutoHistory.json).

Example:

from litegpt.lib import History

history = History()
# Interacting with the history (Adding/Removing entries)...
history.save("./AutoHistory.json")  # Saving the history

Last updated