Replies: 5 comments 12 replies
-
I am assuming it does not as I had extremely poor results with nous Hermes 7b dpo. I was actually hoping that DSPy could help with the template optimization as recent papers have shown that even small variance like a space after <> etc can have significant impact on the results. |
Beta Was this translation helpful? Give feedback.
-
This is super interesting! I think it would be great if Alternatively each LM subclass could define it's own "best template" optimized by us. |
Beta Was this translation helpful? Give feedback.
-
Hope that LLama.cpp + instruction template [INST][/INST] and chat template will be supported |
Beta Was this translation helpful? Give feedback.
-
Is there an update on this? I'm getting poor results with Llama-3-70B-Instruct |
Beta Was this translation helpful? Give feedback.
-
I was wondering about this as well. I mostly use local LLMs, so it has always been a question on my mind:
One of my recent difficulties is logging/debugging how DSPy is actually sending the messages, how the prompt template looks, etc. I can't say if the template is respected for any of these three scenarios. |
Beta Was this translation helpful? Give feedback.
-
According to a recent tweet applying appropriate template can have a significant impact.
![image](https://private-user-images.githubusercontent.com/1004376/306382300-f83358cb-7b0d-4ca2-88ac-46e572656424.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxMzg2OTIsIm5iZiI6MTcyMjEzODM5MiwicGF0aCI6Ii8xMDA0Mzc2LzMwNjM4MjMwMC1mODMzNThjYi03YjBkLTRjYTItODhhYy00NmU1NzI2NTY0MjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjhUMDM0NjMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTliMGU0ZDNkZTYzOTljNzFmMTJjYTdhNTkxZGQ3ZTZiZDMxNzJkNzBlNjI5MzNhZGYzYTRmYmVlZmI4NjA2YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.ElnBi3RueQIbA1lSh_AnotTH2XhkkZ2YExFpGw_Q0nQ)
Does DSPy have a way to ensure the best templates are being used?
Beta Was this translation helpful? Give feedback.
All reactions