KarelDO / xmc.dspy

In-Context Learning for eXtreme Multi-Label Classification (XMC) using only a handful of examples.
MIT License
368 stars 24 forks source link

Q: where is `from dspy import Models` from? #6

Open insop opened 7 months ago

insop commented 7 months ago

Hi, thank you for great work (paper and repo)!

Even with the dspy commit hash, I am not able to locate Models from dspy repo. Let me know how I can locate.

Thank you,

KarelDO commented 7 months ago

The Models class is in the init.py file of DSPy at that checkout. Did you install the version of DSPy you checked out?

insop commented 7 months ago

The Models class is in the init.py file of DSPy at that checkout. Did you install the version of DSPy you checked out?

That's strange, even with the commit sha, 802f2d5f, mentioned in the readme, I don't find any hit (I have done this already but I double check now)

(base) [17:26:06] [dspy] [802f2d5f]
-> % git grep -w Models | grep init.py    
NO output