Skip to content

Commit 28f88cb

Browse files
authored
Merge pull request #6 from FasterDecoding/observation
yl: fix a bug
2 parents 1cb558d + dbe2965 commit 28f88cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

notebooks/example.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"import os\n",
1010
"# CUDAVISIBLE DEVICES\n",
1111
"os.environ[\"CUDA_VISIBLE_DEVICES\"] = \"0\"\n",
12+
"\n",
1213
"import torch\n",
1314
"from transformers import AutoTokenizer, AutoModelForCausalLM, AutoConfig\n",
1415
"import transformers"
@@ -90,7 +91,7 @@
9091
"metadata": {},
9192
"outputs": [],
9293
"source": [
93-
"conv = get_conversation_template(\"longchat\")\n",
94+
"conv = get_conversation_template(\"mistralai/Mistral-7B-Instruct-v0.2\")\n",
9495
"conv.messages = []\n",
9596
"conv.append_message(conv.roles[0],content + question)\n",
9697
"# conv.append_message(conv.roles[0],\"Who is Kobe Bryant?\")\n",

0 commit comments

Comments
 (0)