From ea8e1a96d3b631889b0be641bc5485188ea37b7a Mon Sep 17 00:00:00 2001 From: Hamel Husain Date: Sat, 30 Mar 2024 17:01:43 -0700 Subject: [PATCH] fix nit --- docs/dataset-formats/conversation.qmd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/dataset-formats/conversation.qmd b/docs/dataset-formats/conversation.qmd index dd92787c76..625247ec32 100644 --- a/docs/dataset-formats/conversation.qmd +++ b/docs/dataset-formats/conversation.qmd @@ -9,7 +9,7 @@ description: Conversation format for supervised fine-tuning. conversations where `from` is `human`/`gpt`. (optional: first row with role `system` to override default system prompt) -```{json filename="data.jsonl"} +```{.json filename="data.jsonl"} {"conversations": [{"from": "...", "value": "..."}]} ``` @@ -17,7 +17,7 @@ Note: `type: sharegpt` opens a special config `conversation:` that enables conve ### pygmalion -```{json filename="data.jsonl"} +```{.json filename="data.jsonl"} {"conversations": [{"role": "...", "value": "..."}]} ``` @@ -25,7 +25,7 @@ Note: `type: sharegpt` opens a special config `conversation:` that enables conve conversations where `role` is used instead of `from` -```{json filename="data.jsonl"} +```{.json filename="data.jsonl"} {"conversations": [{"role": "...", "value": "..."}]} ``` @@ -33,7 +33,7 @@ conversations where `role` is used instead of `from` conversations where `from` is `prompter` `assistant` instead of default sharegpt -```{json filename="data.jsonl"} +```{.json filename="data.jsonl"} {"conversations": [{"from": "...", "value": "..."}]} ``` @@ -41,7 +41,7 @@ conversations where `from` is `prompter` `assistant` instead of default sharegpt creates a chat where bot is asked to tell a joke, then explain why the joke is funny -```{json filename="data.jsonl"} +```{.json filename="data.jsonl"} {"conversations": [{"title": "...", "text": "...", "explanation": "..."}]} ``` @@ -49,7 +49,7 @@ creates a chat where bot is asked to tell a joke, then explain why the joke is f For a dataset that is preprocessed for instruction purposes: -```{json filename="data.jsonl"} +```{.json filename="data.jsonl"} {"input": "...", "output": "..."} ```