mirror of
https://github.com/SakanaAI/doc-to-lora.git
synced 2026-07-23 17:01:04 +02:00
add t2l
This commit is contained in:
parent
3105fac6dc
commit
8a6c2cfd42
7 changed files with 1471 additions and 23 deletions
10
run_eval.py
10
run_eval.py
|
|
@ -118,6 +118,16 @@ if __name__ == "__main__":
|
|||
default=0.9,
|
||||
help="Compression rate for LLMLingua",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--use_t2l",
|
||||
action="store_true",
|
||||
help="Use Text-to-LoRA model for evaluation",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--add_ctx_to_input",
|
||||
action="store_true",
|
||||
help="Add ctx to base model's input",
|
||||
)
|
||||
|
||||
cli_args = vars(parser.parse_args())
|
||||
# setup_logging(output_dir, debug=os.getenv("DEBUG", False))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue