Wfh/ref links (#8454)

This commit is contained in:
William FH
2023-07-29 08:44:32 -07:00
committed by GitHub
parent 13b4f465e2
commit b7c0eb9ecb
23 changed files with 189 additions and 379 deletions
@@ -216,7 +216,7 @@
},
"outputs": [],
"source": [
"from langchain.experimental.llms import JsonFormer\n",
"from langchain_experimental.llms import JsonFormer\n",
"\n",
"json_former = JsonFormer(json_schema=decoder_schema, pipeline=hf_model)"
]
@@ -162,7 +162,7 @@
}
],
"source": [
"from langchain.experimental.llms import RELLM\n",
"from langchain_experimental.llms import RELLM\n",
"\n",
"model = RELLM(pipeline=hf_model, regex=pattern, max_new_tokens=200)\n",
"\n",