correct a mistake on the README.md (#182)
This commit is contained in:
@@ -252,7 +252,7 @@ def text_qa(s, question):
|
|||||||
s += "Q: " + question + "\n"
|
s += "Q: " + question + "\n"
|
||||||
s += "A:" + sgl.gen("answer", stop="\n")
|
s += "A:" + sgl.gen("answer", stop="\n")
|
||||||
|
|
||||||
states = text_qa.run(
|
state = text_qa.run(
|
||||||
question="What is the capital of France?",
|
question="What is the capital of France?",
|
||||||
temperature=0.1,
|
temperature=0.1,
|
||||||
stream=True
|
stream=True
|
||||||
|
|||||||
Reference in New Issue
Block a user