precommits

This commit is contained in:
Sotirios Anagnostidis
2023-01-11 22:58:17 +01:00
parent d46ff8c4ee
commit c8f47eef9f
5 changed files with 7 additions and 7 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
import argparse
import os
from distutils.util import strtobool
from functools import partial
from typing import Any, Dict, List, Optional, Tuple, Union
import bitsandbytes
@@ -9,7 +9,6 @@ from torch import nn
from transformers import PreTrainedModel, Trainer, TrainingArguments
from transformers.training_args import OptimizerNames
from utils import get_dataset, get_loss, get_metrics, get_model, get_tokenizer, read_yamls
from functools import partial
def compute_metrics(eval_pred, preprocess_fns, metrics):