jndiogo/LLM-chat-templates
Jinja2 chat templates for popular LLM models
This collection provides ready-to-use conversation formatting rules for various large language models (LLMs) and vision models, including those that handle text and images. It takes a list of messages with roles (like 'user' or 'assistant') and formats them correctly for specific models. This helps AI practitioners ensure their prompts are understood by different models, avoiding errors in how conversations are structured.
No commits in the last 6 months.
Use this if you need to reliably format conversational inputs for a wide range of popular LLMs or vision models.
Not ideal if you are a casual user interacting directly with an LLM and don't need to programmatically control prompt formatting.
Stars
44
Forks
4
Language
—
License
CC0-1.0
Category
Last pushed
Jun 21, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/jndiogo/LLM-chat-templates"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
posit-dev/chatlas
Your friendly guide to building LLM chat apps in Python with less effort and more clarity.
xming521/WeClone
🚀 One-stop solution for creating your AI twin from chat history 💡 Fine-tune LLMs with your chat...
ooyinet/WeClone
🚀从聊天记录创造数字分身的一站式解决方案💡 使用聊天记录微调大语言模型,让大模型有“那味儿”,并绑定到聊天机器人,实现自己的数字分身。 数字克隆/数字分身/数字永生/LLM/聊天机器人/LoRA
vemonet/libre-chat
🦙 Free and Open Source Large Language Model (LLM) chatbot web UI and API. Self-hosted, offline...
qqqqqf-q/MirrorFlow
从对话数据到训练:数字分身 + 模型蒸馏 From Dialogue Data to Training Closed-Loop: Digital Twin + Model Distillation