Spaces:
Runtime error
Runtime error
jamescalam
commited on
Commit
•
5c7e413
1
Parent(s):
5e28d4b
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,6 @@ def create_context(question, index, lib_meta, max_len=3750, size="curie", top_k=
|
|
70 |
|
71 |
def answer_question(
|
72 |
index,
|
73 |
-
mappings,
|
74 |
fine_tuned_qa_model="text-davinci-002",
|
75 |
question="Am I allowed to publish model outputs to Twitter, without a human review?",
|
76 |
instruction="Answer the question based on the context below, and if the question can't be answered based on the context, say \"I don't know\"\n\nContext:\n{0}\n\n---\n\nQuestion: {1}\nAnswer:",
|
|
|
70 |
|
71 |
def answer_question(
|
72 |
index,
|
|
|
73 |
fine_tuned_qa_model="text-davinci-002",
|
74 |
question="Am I allowed to publish model outputs to Twitter, without a human review?",
|
75 |
instruction="Answer the question based on the context below, and if the question can't be answered based on the context, say \"I don't know\"\n\nContext:\n{0}\n\n---\n\nQuestion: {1}\nAnswer:",
|