mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
LoRA: add training callbacks (#414)
* LoRA: add training callbacks * LoRA: add trained tokens print & callback
This commit is contained in:
@@ -7,7 +7,6 @@ import mlx.optimizers as optim
|
||||
import numpy as np
|
||||
from mlx.utils import tree_flatten
|
||||
|
||||
from .tuner.lora import LoRALinear
|
||||
from .tuner.trainer import TrainingArgs, evaluate, train
|
||||
from .tuner.utils import linear_to_lora_layers
|
||||
from .utils import generate, load
|
||||
|
Reference in New Issue
Block a user