(training_args)
| 28 | |
| 29 | |
| 30 | def add_logging_file(training_args): |
| 31 | fh = logging.FileHandler(os.path.join(training_args.output_dir.rstrip(os.sep) + '.log')) |
| 32 | fh.setLevel(logging.DEBUG) |
| 33 | logger.addHandler(fh) |
| 34 | |
| 35 | |
| 36 | def decode_tree_str(sequences: Union[List[int], List[List[int]], "np.ndarray", "torch.Tensor"], |
nothing calls this directly
no outgoing calls
no test coverage detected