Add argument adapters to parser.
(parser)
| 529 | |
| 530 | @staticmethod |
| 531 | def adapters(parser): |
| 532 | """Add argument adapters to parser.""" |
| 533 | |
| 534 | return parser.add_argument('--adapters', |
| 535 | nargs='*', |
| 536 | type=str, |
| 537 | default=None, |
| 538 | help='Used to set path(s) of lora adapter(s). One can input ' |
| 539 | 'key-value pairs in xxx=yyy format for multiple lora ' |
| 540 | 'adapters. If only have one adapter, one can only input ' |
| 541 | 'the path of the adapter.') |
| 542 | |
| 543 | @staticmethod |
| 544 | def work_dir(parser): |
no outgoing calls
no test coverage detected