43ntropy
/

NEvo / examples /quickstart.py
43ntropy's picture
Duplicate from epfl-neuroai/NEvo
1e2bb2f
Raw
History Blame Contribute Delete
316 Bytes
from stimulus_synthesis import NevoPipeline
pipe = NevoPipeline.from_pretrained("epfl-neuroai/NEvo")
out = pipe(
target={"type": "indices", "indices": [0, 1, 2]},
seed_prompts=["a person running through a crowded street"],
num_candidates=16,
num_rounds=50,
)
print(out.best_prompt, out.best_score)