stanfordnlp / dspy

DSPy: The framework for programming—not prompting—language models
https://dspy.ai
MIT License
19.07k stars 1.46k forks source link

Bug in Custom LM tutorial: https://dspy-docs.vercel.app/docs/building-blocks/language_models#creating-custom-lm-class #1601

Closed linsu-at-gryps closed 1 month ago

linsu-at-gryps commented 1 month ago

When calling super().__init__(model), the self.model gets overwritten with a string.

okhat commented 1 month ago

@krypticmouse

krypticmouse commented 1 month ago

Thanks for pinging fixed this!