foundation-model-stack / fms-hf-tuning

🚀 Collection of tuning recipes with HuggingFace SFTTrainer and PyTorch FSDP.
Apache License 2.0
28 stars 48 forks source link

feature request: custom templating logic doesn't support `{{ input }}` , only `{{input}}`, use Jinja2 instead https://jinja.palletsprojects.com/en/3.1.x/sandbox/ #380

Open HarikrishnanBalagopal opened 1 month ago

HarikrishnanBalagopal commented 1 month ago

https://github.com/foundation-model-stack/fms-hf-tuning/blob/d58faa5c38f88a1258e89e94f375bf46bce47769/tuning/utils/data_utils.py#L43