Chryslerx10
commited on
Commit
•
973591d
1
Parent(s):
7804c76
Update README.md
Browse files
README.md
CHANGED
@@ -82,7 +82,7 @@ Libraries Used:
|
|
82 |
|
83 |
## Inference the model
|
84 |
```python
|
85 |
-
def create_chat_template(question):
|
86 |
text = (
|
87 |
"[Instruction] You are a question-answering agent which answers the question based on the related reviews. "
|
88 |
"If related reviews are not provided, you can generate the answer based on the question.\n"
|
|
|
82 |
|
83 |
## Inference the model
|
84 |
```python
|
85 |
+
def create_chat_template(question, context):
|
86 |
text = (
|
87 |
"[Instruction] You are a question-answering agent which answers the question based on the related reviews. "
|
88 |
"If related reviews are not provided, you can generate the answer based on the question.\n"
|