Commit
·
521ec1f
1
Parent(s):
e95e1eb
Update README.md
Browse files
README.md
CHANGED
|
@@ -51,6 +51,19 @@ Please refer to our notebook, [How-To-Prompt.ipynb](https://colab.research.googl
|
|
| 51 |
4. We strongly recommend a very low temperature (~0.001).
|
| 52 |
5. We strongly recommend following the prompting style below.
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
### Quickstart
|
| 55 |
You can run the model on a GPU using the following code.
|
| 56 |
```python
|
|
|
|
| 51 |
4. We strongly recommend a very low temperature (~0.001).
|
| 52 |
5. We strongly recommend following the prompting style below.
|
| 53 |
|
| 54 |
+
When handling irrelevant user queries, users have noticed that specifying a "no-op" function with arguments work best. For example, something like this might work:
|
| 55 |
+
```python
|
| 56 |
+
def no_relevant_function(user_query : str):
|
| 57 |
+
"""
|
| 58 |
+
Call this when no other provided function can be called to answer the user query.
|
| 59 |
+
|
| 60 |
+
Args:
|
| 61 |
+
user_query: The user_query that cannot be answered by any other function calls.
|
| 62 |
+
"""
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
Please ensure to provide an argument to this function, as Raven works best on functions with arguments.
|
| 66 |
+
|
| 67 |
### Quickstart
|
| 68 |
You can run the model on a GPU using the following code.
|
| 69 |
```python
|