Dataset is now directly tokenized to avoid further post-processing of the trainer; locCustomPromptTemplate to specify a custom Jinja template; showChatTemplate for debugging;
This commit is contained in:
3
testProject/llama3_prompt_min.txt
Normal file
3
testProject/llama3_prompt_min.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
|
||||
|
||||
'+ message['content'] | trim + '<|eot_id|>' %}{{ content }}{% endfor %}
|
||||
Reference in New Issue
Block a user