Skip to content

Is there a way to save the training log as a txt file with mlx_lm #939

Closed Answered by awni
Satyam7166-tech asked this question in Q&A
Discussion options

You must be logged in to vote

You could always pipe it to a file or use tee to have it in a file and on std out.

mlx_lm.lora  <...> | tee results.txt

Another option is to use the API instead of the CLI and pass custom callback (which you could use for example to send results to a wandb instance). Here's the call back base class. This notebook has an example of using the API.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Satyam7166-tech
Comment options

@Satyam7166-tech
Comment options

Answer selected by Satyam7166-tech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants