dspy
dspy copied to clipboard
Irera
Comments on the individual commits.
I've made the new save/load logic compatible with previous saves. I confirmed that 'hotpotqa_with_assertions.ipynb' and 'scone.ipynb' compile as intended with the new named_predictor logic.
Loading the saved scone state works, although there is a small bug where performance is consistently a tiny fraction lower after load than before load. Looking into this now.
This PR is rather long, and I am not sure it will be merged soon.
However, at least the changes in dsp/modules/ollama.py seems interesting, which might help Ollama users.
Any thought @KarelDO ?