Update README.md
Browse files
README.md
CHANGED
|
@@ -68,11 +68,11 @@ def evaluate(
|
|
| 68 |
return output.split("### Response:")[1].strip()
|
| 69 |
instruction = 'write your instruction here'
|
| 70 |
inputs = 'write your inputs here'
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
```
|
|
|
|
| 68 |
return output.split("### Response:")[1].strip()
|
| 69 |
instruction = 'write your instruction here'
|
| 70 |
inputs = 'write your inputs here'
|
| 71 |
+
output= evaluate(instruction,
|
| 72 |
+
input=inputs,
|
| 73 |
+
temperature=0.1,#change the parameters by yourself
|
| 74 |
+
top_p=0.75,
|
| 75 |
+
top_k=40,
|
| 76 |
+
num_beams=4,
|
| 77 |
+
max_new_tokens=128,)
|
| 78 |
```
|