You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for black-box optimization algorithms to perform prompt tuning on my neural network, which requires candidate solutions from each iteration.
Following the “ask-tell” form of pycma, the pseudo-code is shown as below:
while not es.stop():
solutions = es.ask()
fitness = [cma.ff.rosen(s) for s in solutions]
es.tell(solutions, fitness)
Question: How can I obtain the solutions from each iteration to calculate new fitness (e.g. loss functions)?