Fan21 commited on
Commit
20596ac
1 Parent(s): 5c55299

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
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
- print("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
  ```
 
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
  ```