We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 193f28b commit 9531e3fCopy full SHA for 9531e3f
python/mlc_llm/bench/dataset.py
@@ -285,7 +285,9 @@ def _process_data(self, data):
285
return {
286
"prompt": [
287
{
288
- "content": f"You are a helpful assistant that answers in JSON. Here's the json schema you must adhere to:\n<schema>\n{new_schema}\n</schema>\n",
+ "content": "You are a helpful assistant that answers in JSON. "
289
+ "Here's the json schema you must adhere to:"
290
+ f"\n<schema>\n{new_schema}\n</schema>\n",
291
"role": "system",
292
},
293
data["prompt"][1],
0 commit comments