mosaicml / llm-foundry

LLM training code for Databricks foundation models
https://www.databricks.com/blog/introducing-dbrx-new-state-art-open-llm
Apache License 2.0
3.99k stars 525 forks source link

add error when chat template fails #1222

Closed milocress closed 4 months ago

milocress commented 4 months ago

Add Error when Chat Template Fails

Creates the error type ChatTemplateError, which encodes the chat template, the error, and the sample that triggered it.