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:
@@ -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,
|
||||||
|
|||||||
@@ -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 = {}
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user