abetlen / abetlen/llama-cpp-python

Add support for cfg-negative-prompt

Open
#822 1 comment 6 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
10.6k
Forks
1.4k
PR merge metrics
PR metrics pending

Description

**Is your feature request related to a problem? Please describe.**
Llama.cpp has a parameter "cfg_negative_prompt" which would be useful to use to better shape outputs.

**Describe the solution you'd like**
Adding support for setting cfg_negative_prompt for generation via chat and especially the create_completion method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.