Skip to content

Commit

Permalink
Adding _get_state, _load_state to Experiment class
Browse files Browse the repository at this point in the history
  • Loading branch information
NivekT committed Oct 31, 2023
1 parent c60d32e commit 5a102ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions prompttools/experiment/experiments/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,3 +641,10 @@ def _get_model_names(self):

def _get_prompts(self):
pass

def _get_state(self):
raise NotImplementedError("Should be implemented by specific harness class.")

@classmethod
def _load_state(cls, state, experiment_id: str, revision_id: str, experiment_type_str: str):
raise NotImplementedError("Should be implemented by specific harness class.")

0 comments on commit 5a102ab

Please sign in to comment.