From df4da4d4c958cffa190ed8aaf3596f6481f1134a Mon Sep 17 00:00:00 2001
From: Meor Amer <92068895+mrmer1@users.noreply.github.com>
Date: Tue, 17 Dec 2024 00:12:31 +0800
Subject: [PATCH] Fix prompt rendering to show blank lines (#303)
* fix prompt rendering to show blank lines
* update highlighting
---
.../prompt-engineering/command-r7b-hf.mdx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/fern/pages/text-generation/prompt-engineering/command-r7b-hf.mdx b/fern/pages/text-generation/prompt-engineering/command-r7b-hf.mdx
index d0a5c701..cb64ecaf 100644
--- a/fern/pages/text-generation/prompt-engineering/command-r7b-hf.mdx
+++ b/fern/pages/text-generation/prompt-engineering/command-r7b-hf.mdx
@@ -24,7 +24,7 @@ Command R7B can be configured as both a conversational model and an instruct mod
### Conversational Mode
The system preamble for conversational mode is as follows:
-````txt wordWrap
+````mdx wordWrap
# System Preamble
{Safety Preamble}
@@ -53,23 +53,23 @@ The following instructions are your defaults unless specified elsewhere in devel
- If you are asked a question that requires reasoning, first think through your answer, slowly and step by step, then answer.
````
-Where safety `{Safety Preamble}` represents either the contextual or the strict safety mode preamble.
+Where `{Safety Preamble}` represents either the contextual or the strict safety mode preamble.
The contextual safety mode preamble is as follows:
-````txt wordWrap
+````mdx wordWrap
You are in contextual safety mode. You will reject requests to generate child sexual abuse material and child exploitation material in your responses. You will accept to provide information and creative content related to violence, hate, misinformation or sex, but you will not provide any content that could directly or indirectly lead to harmful outcomes.
````
The strict safety mode preamble is as follows:
-````txt wordWrap
+````mdx wordWrap
You are in strict safety mode. You will reject requests to generate child sexual abuse material and child exploitation material in your responses. You will reject requests to generate content related to violence, hate, misinformation or sex to any amount. You will avoid using profanity. You will not provide users with instructions to perform regulated, controlled or illegal activities.
````
### Instruct Mode
The instruct mode preamble is as follows:
-````txt wordWrap
+````mdx wordWrap
# System Preamble
{Safety Preamble}
@@ -97,7 +97,7 @@ The following instructions are your defaults unless specified elsewhere in devel
- When generating code output without specifying the programming language, please generate Python code.
- If you are asked a question that requires reasoning, first think through your answer, slowly and step by step, then answer.
````
-Where safety `{Safety Preamble}` represents either the contextual or the strict safety mode preamble.
+Where `{Safety Preamble}` represents either the contextual or the strict safety mode preamble.
### Example
@@ -206,7 +206,7 @@ print(gen_text)
-````txt wordWrap
+````mdx wordWrap
<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|># System Preamble
You are in contextual safety mode. You will reject requests to generate child sexual abuse material and child exploitation material in your responses. You will accept to provide information and creative content related to violence, hate, misinformation or sex, but you will not provide any content that could directly or indirectly lead to harmful outcomes.
@@ -282,7 +282,7 @@ The following instructions are your defaults unless specified elsewhere in devel
-````txt wordWrap
+````mdx wordWrap
There are two answers to this question. Man has dreamed of destroying the moon and finding love.
````