Fix the chat template for llava-v1.6-34b & format code (#177)
This commit is contained in:
@@ -155,7 +155,8 @@ def test_chat_completion_stream(args):
|
||||
def test_regex(args):
|
||||
client = openai.Client(api_key="EMPTY", base_url=args.base_url)
|
||||
|
||||
regex = (r"""\{\n"""
|
||||
regex = (
|
||||
r"""\{\n"""
|
||||
+ r""" "name": "[\w]+",\n"""
|
||||
+ r""" "population": "[\w\d\s]+"\n"""
|
||||
+ r"""\}"""
|
||||
|
||||
Reference in New Issue
Block a user