Skip to content

Commit

Permalink
[no ci] minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiya committed Apr 1, 2023
1 parent 81a5069 commit ea3b695
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions examples/text/generative_ai_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
"source": [
"Since this model is instruction-fine-tuned, you should supply prompts in the form of instructions of what you want the model to do for you. \n",
"\n",
"**Tip**: Due to the way the model was trained, you should only use newlines to separate cohesive units of information fed to the model. This is illustrated through various examples below. If the model encounters a misplaced newline character it doesn't like, it may output nothing."
"**Tip**: Due to the way the model was trained, you should only use newlines to separate cohesive units of information fed to the model. This is illustrated through various examples below. If the model encounters a misplaced newline character it doesn't like, it may output nothing.\n",
"\n",
"We also caution that the model has no guard rails against producing content that is potentially biased or offensive."
]
},
{
Expand Down Expand Up @@ -346,13 +348,6 @@
"print(model.execute(prompt))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Notice that the words \"strength\" and \"power\" were used in this description of this men's shirt. We call attention to this, as output of this model may potentially be biased, harmful, or offensive. Such issues may reveal itself more in tasks that are more generative and less extractive in nature like this and the next examples."
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit ea3b695

Please sign in to comment.