Commit f4df3e48 authored by Benjamin Fattori's avatar Benjamin Fattori
Browse files

batch_size arg accepts str

parent 6a6a0ebb
......@@ -31,7 +31,7 @@ def parse_args():
default=0,
help="Number of examples in few-shot context",
)
parser.add_argument("--batch_size", type=int, default=1) # TODO: only integers
parser.add_argument("--batch_size", type=str, default=1)
parser.add_argument(
"--max_batch_size",
type=int,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment