[Python] Use format_map() To Fill Variable Values In The String
Last Updated on 2023-06-27 by Clay
Recently, I trace many codes about LLaMA LoRA training (almost two months ago…), and when I reading the codes, I found if they want to configure the prompt for LLMs, if they need to change the prompt content by different training, the format_map()
function is the best choice.