fix Replicate in notebook

This commit is contained in:
Ben Goldberg
2023-05-19 14:20:26 -07:00
parent 0cbb3e4974
commit 2534ca4534
+13 -2
View File
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"id": "2c926d26",
"metadata": {},
@@ -42,6 +43,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "47f4e440",
"metadata": {},
@@ -86,6 +88,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "d6e75a9c",
"metadata": {},
@@ -125,6 +128,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "8b3c35fd",
"metadata": {},
@@ -173,6 +177,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "68a09e14",
"metadata": {},
@@ -221,6 +226,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "7205c92d",
"metadata": {},
@@ -285,6 +291,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6f48abfe",
"metadata": {},
@@ -325,6 +332,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6003593a",
"metadata": {},
@@ -362,6 +370,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "469143b0",
"metadata": {},
@@ -378,9 +387,11 @@
"metadata": {},
"outputs": [],
"source": [
"# llm = Replicate(model=\"replicate/vicuna-13b:e6d469c2b11008bb0e446c3e9629232f9674581224536851272c54871f84076e\",\n",
"# temperature=0.75,\n",
"# max_length=3000)\n",
"llm = Replicate(model=\"replicate/vicuna-13b:e6d469c2b11008bb0e446c3e9629232f9674581224536851272c54871f84076e\",\n",
" temperature=0.75,\n",
" max_length=3000)"
" input={\"temperature\": 0.75, \"max_length\": 3000})"
]
},
{