Datasets:

ArXiv:
shulin16's picture
Add files using upload-large-folder tool
d6bb310 verified
Raw
History Blame Contribute Delete
360 Bytes
# Copyright (c) ModelScope Contributors. All rights reserved.
import torch
from typing import TYPE_CHECKING
from .base import PeftTuner
if TYPE_CHECKING:
from swift.arguments import SftArguments
class DummyTuner(PeftTuner):
@staticmethod
def prepare_model(args: 'SftArguments', model: torch.nn.Module) -> torch.nn.Module:
return model