Skip to content

ngxson/test-jinja

Repository files navigation

Testing tools for jinja engine

fetch-tmpl

This script simply does 2 jobs:

  • Scrape models on HF hub and get jinja templates
  • Deduplicated download templates

format-using-hfjs

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages