diff --git a/llms/mlx_lm/tuner/dpo_trainer.py b/llms/mlx_lm/tuner/dpo_trainer.py index 99272e81..f8705003 100644 --- a/llms/mlx_lm/tuner/dpo_trainer.py +++ b/llms/mlx_lm/tuner/dpo_trainer.py @@ -1,11 +1,8 @@ # Copyright © 2024 Apple Inc. -import glob -import shutil import time from dataclasses import dataclass, field from pathlib import Path -from typing import Union import mlx.core as mx import mlx.nn as nn