This script simply does 2 jobs:
- Scrape models on HF hub and get jinja templates
- Deduplicated download templates
This script reads all templates and try to format it using 3 presets in HF.js chat template playground
IMPORTANT: the strftime_now() function is hard-wired to ALWAYS return TEST_DATE, so you will see this:
<|start|>system<|message|>You are ChatGPT, a large language model trained by OpenAI.
Knowledge cutoff: 2024-06
Current date: TEST_DATE