Skip to content

Commit

Permalink
LongBench: Set the default value of --with_inst to false (#217)
Browse files Browse the repository at this point in the history
Update Longbench script
  • Loading branch information
ymcui authored Sep 1, 2023
2 parents 9047f48 + be05fc2 commit dde764d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/longbench/pred_llama2.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
parser.add_argument('--gpus',type=str, default=None)
parser.add_argument('--max_length',type=int, default=4096-512)
parser.add_argument('--alpha', type=str, default="auto", help="The scaling factor of NTK method, can be a float or 'auto'. ")
parser.add_argument('--with_inst', choices=['true','false','auto'], default = 'auto')
parser.add_argument('--with_inst', choices=['true','false','auto'], default = 'false',
help="Whether use the system prompt and template of Chinese-Alpaca-2 when constructing the instructions.")
parser.add_argument('--e', action='store_true', help="Evaluate on LongBench-E")


Expand Down

0 comments on commit dde764d

Please sign in to comment.