Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
msadr-git
llama-cpp-python
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
llama-cpp-python
llama_cpp
llama_chat_format.py
on
binary-wheels
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 31, 2024
feat: Add logprobs support to chat completions (#1311)
Show description for aa9f1ae
windspirit95
and
abetlen
authored
aa9f1ae
View commit details
Copy full SHA for aa9f1ae
View code at this point
Browse repository at this point
Commits on Mar 23, 2024
fix: tool_call missing first token.
abetlen
committed
c1325dc
View commit details
Copy full SHA for c1325dc
View code at this point
Browse repository at this point
Commits on Mar 19, 2024
feat: Add tools/functions variables to Jinja2ChatFormatter, add function response formatting for all simple chat formats (#1273)
Show description for 60d8498
abetlen
and
CISC
authored
60d8498
View commit details
Copy full SHA for 60d8498
View code at this point
Browse repository at this point
Commits on Mar 18, 2024
fix: Fix and optimize functionary chat handler (#1282)
Show description for 8a60c7b
jeffrey-fong
and
abetlen
authored
8a60c7b
View commit details
Copy full SHA for 8a60c7b
View code at this point
Browse repository at this point
Commits on Mar 15, 2024
fix: json mode
abetlen
committed
20e6815
View commit details
Copy full SHA for 20e6815
View code at this point
Browse repository at this point
Commits on Mar 9, 2024
fix: Check for existence of clip model path (#1264)
kejcao
authored
1f3156d
View commit details
Copy full SHA for 1f3156d
View code at this point
Browse repository at this point
Commits on Feb 26, 2024
fix: positional arguments only for low-level api
abetlen
committed
dbaba30
View commit details
Copy full SHA for dbaba30
View code at this point
Browse repository at this point
fix: typo
abetlen
committed
78e536d
View commit details
Copy full SHA for 78e536d
View code at this point
Browse repository at this point
fix: llava this function takes at least 4 arguments (0 given)
abetlen
committed
8383a9e
View commit details
Copy full SHA for 8383a9e
View code at this point
Browse repository at this point
Commits on Feb 23, 2024
feat: Auto detect Mixtral's slightly different format (#1214)
lukestanley
authored
8584962
View commit details
Copy full SHA for 8584962
View code at this point
Browse repository at this point
feat: Add Google's Gemma formatting via `chat_format="gemma"` (#1210)
Show description for 251a8a2
alvarobartt
and
abetlen
authored
251a8a2
View commit details
Copy full SHA for 251a8a2
View code at this point
Browse repository at this point
Commits on Feb 14, 2024
fix: Update openbuddy prompt format. Closes #1155
abetlen
committed
07a7837
View commit details
Copy full SHA for 07a7837
View code at this point
Browse repository at this point
fix: more chatml-function-calling fixes
abetlen
committed
345215a
View commit details
Copy full SHA for 345215a
View code at this point
Browse repository at this point
Commits on Feb 13, 2024
fix: missing generation_prompt in chatml-function-calling
abetlen
committed
68fb71b
View commit details
Copy full SHA for 68fb71b
View code at this point
Browse repository at this point
fix: minor formatting bugs for chatml-function-calling
abetlen
committed
4b0e332
View commit details
Copy full SHA for 4b0e332
View code at this point
Browse repository at this point
Commits on Feb 12, 2024
feat: Generic chatml Function Calling (#957)
Show description for 153a004
abetlen
authored
153a004
View commit details
Copy full SHA for 153a004
View code at this point
Browse repository at this point
Commits on Feb 8, 2024
feat: Integrate functionary v1.4 and v2 models + add custom tokenizer support to Llama class (#1078)
Show description for 9018270
jeffrey-fong
and
abetlen
authored
9018270
View commit details
Copy full SHA for 9018270
View code at this point
Browse repository at this point
Commits on Jan 31, 2024
fix: Pass raise_exception and add_generation_prompt to jinja2 chat template
abetlen
committed
078cca0
View commit details
Copy full SHA for 078cca0
View code at this point
Browse repository at this point
Commits on Jan 29, 2024
Automatically set chat format from gguf (#1110)
Show description for da003d8
abetlen
authored
da003d8
View commit details
Copy full SHA for da003d8
View code at this point
Browse repository at this point
Add chat format test.
abetlen
committed
9ae5819
View commit details
Copy full SHA for 9ae5819
View code at this point
Browse repository at this point
Add mistral instruct chat format as "mistral-instruct" (#799)
Show description for ce38dbd
Rafaelblsilva
and
abetlen
authored
ce38dbd
View commit details
Copy full SHA for ce38dbd
View code at this point
Browse repository at this point
Commits on Jan 27, 2024
Add json schema mode (#1122)
Show description for d8f6914
abetlen
authored
d8f6914
View commit details
Copy full SHA for d8f6914
View code at this point
Browse repository at this point
Commits on Jan 22, 2024
fix: use both eos and bos tokens as stop sequences for hf-tokenizer-config chat format.
abetlen
committed
5b982d0
View commit details
Copy full SHA for 5b982d0
View code at this point
Browse repository at this point
Commits on Jan 21, 2024
feat: Add add_generation_prompt option for jinja2chatformatter.
abetlen
committed
7f3209b
View commit details
Copy full SHA for 7f3209b
View code at this point
Browse repository at this point
Commits on Jan 19, 2024
feat: Add Jinja2ChatFormatter
abetlen
committed
be09318
View commit details
Copy full SHA for be09318
View code at this point
Browse repository at this point
feat: Add ability to load chat format from huggingface autotokenizer or tokenizer_config.json files.
abetlen
committed
b8fc1c7
View commit details
Copy full SHA for b8fc1c7
View code at this point
Browse repository at this point
Commits on Jan 4, 2024
Add Saiga chat format. (#1050)
femoiseev
authored
907b9e9
View commit details
Copy full SHA for 907b9e9
View code at this point
Browse repository at this point
Added ChatGLM chat format (#1059)
Show description for cf743ec
xaviviro
and
Xavier Vinaixa Rosello
authored
cf743ec
View commit details
Copy full SHA for cf743ec
View code at this point
Browse repository at this point
Commits on Dec 14, 2023
Add qwen chat format (#1005)
yhfgyyf
authored
8b4db73
View commit details
Copy full SHA for 8b4db73
View code at this point
Browse repository at this point
Commits on Dec 12, 2023
Add Pygmalion chat format (#986)
chiensen
authored
b938ccc
View commit details
Copy full SHA for b938ccc
View code at this point
Browse repository at this point
Commits on Nov 26, 2023
fix: Typo in the Open Orca chat format #874 (#947)
gardner
authored
c2d63a7
View commit details
Copy full SHA for c2d63a7
View code at this point
Browse repository at this point
Commits on Nov 24, 2023
Merge branch 'main' of github.com:abetlen/llama_cpp_python into main
abetlen
committed
8c3aa78
View commit details
Copy full SHA for 8c3aa78
View code at this point
Browse repository at this point
misc fix verbose printing in functionary model
abetlen
committed
de2e2bc
View commit details
Copy full SHA for de2e2bc
View code at this point
Browse repository at this point
Commits on Nov 23, 2023
Add Zephyr format (#937)
fakerybakery
authored
d68fc07
View commit details
Copy full SHA for d68fc07
View code at this point
Browse repository at this point
Add chat format to support baichuan (#938)
Show description for 4184835
caiyesd
authored
4184835
View commit details
Copy full SHA for 4184835
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.