mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Fix training pipeline (#16342)
This commit is contained in:
parent
c5176ed122
commit
ed2482667b
2 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ def load_dataset(args):
|
|||
|
||||
# Load the dataset into a pandas dataframe.
|
||||
df = pd.read_csv(
|
||||
os.path.join(args.data_dir, "in_domain_train.tsv"),
|
||||
os.path.join(args.data_dir if os.path.exists(args.data_dir) else "cola_public/raw", "in_domain_train.tsv"),
|
||||
delimiter="\t",
|
||||
header=None,
|
||||
names=["sentence_source", "label", "label_notes", "sentence"],
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ def load_dataset(args):
|
|||
|
||||
# Load the dataset into a pandas dataframe.
|
||||
df = pd.read_csv(
|
||||
os.path.join(args.data_dir, "in_domain_train.tsv"),
|
||||
os.path.join(args.data_dir if os.path.exists(args.data_dir) else "cola_public/raw", "in_domain_train.tsv"),
|
||||
delimiter="\t",
|
||||
header=None,
|
||||
names=["sentence_source", "label", "label_notes", "sentence"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue