Skip to content

Commit

Permalink
Merge branch 'gpt4-v-llama2'
Browse files Browse the repository at this point in the history
  • Loading branch information
steventkrawczyk committed Jul 21, 2023
2 parents 125ec29 + 4ef5653 commit e48b5bf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
14 changes: 14 additions & 0 deletions examples/notebooks/GPT4vsLlama2.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"id": "0a13ddc8",
"metadata": {},
Expand All @@ -9,6 +10,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "780dc3bf",
"metadata": {},
Expand All @@ -19,6 +21,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "623f0cfe",
"metadata": {},
Expand All @@ -27,6 +30,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "52881369",
"metadata": {},
Expand All @@ -45,6 +49,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "2eac35f8",
"metadata": {},
Expand All @@ -53,6 +58,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "5edba05a",
"metadata": {},
Expand All @@ -73,6 +79,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "842f1e47",
"metadata": {},
Expand All @@ -95,6 +102,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "622dea9a",
"metadata": {},
Expand All @@ -103,6 +111,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "0cd0bae8",
"metadata": {},
Expand Down Expand Up @@ -150,6 +159,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "3babfe5a",
"metadata": {},
Expand Down Expand Up @@ -183,6 +193,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6c3162e6",
"metadata": {},
Expand Down Expand Up @@ -264,6 +275,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "2ceb662a",
"metadata": {},
Expand Down Expand Up @@ -303,6 +315,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "974d6065",
"metadata": {},
Expand Down Expand Up @@ -557,6 +570,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "36fa7a07",
"metadata": {},
Expand Down
9 changes: 3 additions & 6 deletions prompttools/selector/prompt_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
# LICENSE file in the root directory of this source tree.

TEMPLATE = """
### INSTRUCTION
<s>[INST] <<SYS>>
{instruction}
### INPUT
{user_input}
### OUTPUT
<</SYS>
{user_input} [/INST]
"""


Expand Down

0 comments on commit e48b5bf

Please sign in to comment.