P3lte's picture
download
raw
551 Bytes
{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|start_header_id|>user<|end_header_id|>
' + message['content'] | trim + '<|eot_id|>' }}{% elif message['role'] == 'assistant' %}{{ '<|start_header_id|>assistant<|end_header_id|>
' + message['content'] | trim + '<|eot_id|>' }}{% else %}{{ '<|start_header_id|>' + message['role'] + '<|end_header_id|>
' + message['content'] | trim + '<|eot_id|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
' }}{% endif %}

Xet Storage Details

Size:
551 Bytes
·
Xet hash:
25f3599bbca154f1171cf3d9b80118a6b664f561b8ffa447fd81870a4088540f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.