Skip to content

Commit 3da7a68

Browse files
committed
please
1 parent 31218c2 commit 3da7a68

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/cli/01_train_teacher.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import typer
2-
import os
32
import yaml
43
import logging
5-
from pathlib import Path
64

75
import torch
86
from transformers import DataCollatorWithPadding, IntervalStrategy, TrainingArguments, Trainer
@@ -22,7 +20,7 @@
2220

2321

2422
@app.command()
25-
def main(config_path: Path = type.Argument(..., help="Path to YAML config")):
23+
def main(config_path):
2624
cfg = yaml.safe_load(config_path.read_text())
2725

2826
# --- SETUP W&B ---

0 commit comments

Comments
 (0)