manage jinja templates as nicely formatted files (#2795)

* manage jinja templates as nicely formatted files

* chore: lint

* use path for templates relative to the module

* fix template reformating

* handle newlines in llama3 template

* fix gemma3 jinja

* fix templates

* suport for passing jinja template file in yaml

* handle file loading of jinja template outside of validation

* fix typing and typo
This commit is contained in:
Wing Lian
2025-07-07 10:11:48 -04:00
committed by GitHub
parent 759cefb741
commit faff0cff41
36 changed files with 1542 additions and 151 deletions

View File

@@ -2,4 +2,5 @@ include requirements.txt
include README.md
include LICENSE
include src/setuptools_axolotl_dynamic_dependencies.py
include src/axolotl/utils/chat_templates/templates/*.jinja
recursive-include axolotl *.py