deepseek-ai / DeepSeek-Coder

DeepSeek Coder: Let the Code Write Itself
https://coder.deepseek.com/
MIT License
6.01k stars 433 forks source link

System prompt and User prompt support #81

Open sandwu opened 6 months ago

sandwu commented 6 months ago

To avoid the use of the provided function apply_chat_template, if i want to use system and user, how could I use prompt? And I see DeepSeek-llm: image

DirtyKnightForVi commented 5 months ago

You can refer to the 'tokenizer_config.json' file in their model. Just parse the Jinja code in their template below.