Rename glue to nyu-mll/glue (#29679)

* Update run_glue.py

* Update run_glue.py

* Update run_glue_no_trainer.py
This commit is contained in:
Quentin Lhoest
2024-03-15 16:35:02 +01:00
committed by GitHub
parent 03847ef451
commit f02aea2737
3 changed files with 3 additions and 3 deletions

View File

@@ -304,7 +304,7 @@ def main():
if data_args.task_name is not None: if data_args.task_name is not None:
# Downloading and loading a dataset from the hub. # Downloading and loading a dataset from the hub.
raw_datasets = load_dataset( raw_datasets = load_dataset(
"glue", "nyu-mll/glue",
data_args.task_name, data_args.task_name,
cache_dir=model_args.cache_dir, cache_dir=model_args.cache_dir,
token=model_args.token, token=model_args.token,

View File

@@ -281,7 +281,7 @@ def main():
# download the dataset. # download the dataset.
if args.task_name is not None: if args.task_name is not None:
# Downloading and loading a dataset from the hub. # Downloading and loading a dataset from the hub.
raw_datasets = load_dataset("glue", args.task_name) raw_datasets = load_dataset("nyu-mll/glue", args.task_name)
else: else:
# Loading the dataset from local csv or json file. # Loading the dataset from local csv or json file.
data_files = {} data_files = {}

View File

@@ -265,7 +265,7 @@ def main():
# Downloading and loading a dataset from the hub. In distributed training, the load_dataset function guarantee # Downloading and loading a dataset from the hub. In distributed training, the load_dataset function guarantee
# that only one local process can concurrently download the dataset. # that only one local process can concurrently download the dataset.
datasets = load_dataset( datasets = load_dataset(
"glue", "nyu-mll/glue",
data_args.task_name, data_args.task_name,
cache_dir=model_args.cache_dir, cache_dir=model_args.cache_dir,
token=model_args.token, token=model_args.token,