Repository: open-compass/opencompass
Issue: 评估gsm8k报错
Root cause: Environment Incompatibility

### Prerequisite

- [X] I have searched [Issues](https://github.com/InternLM/opencompass/issues/) and [Discussions](https://github.com/InternLM/opencompass/discussions) but cannot get the expected help.
- [X] The bug has not been fixed in the [latest version](https://github.com/InternLM/opencompass).

### Type

I'm evaluating with the officially supported tasks/models/datasets.

### Environment

1

### Reproduces the problem - code/configuration sample

1

### Reproduces the problem - command or script

1

### Reproduces the problem - error message

1

### Other information

 File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/run.py", line 390, in <module>
    main()
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/run.py", line 231, in main
    tasks = partitioner(cfg)
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/opencompass/partitioners/base.py", line 48, in __call__
    tasks = self.partition(models, datasets, work_dir, self.out_dir)
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/opencompass/partitioners/size.py", line 67, in partition
    datasets = sorted(datasets,
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/opencompass/partitioners/size.py", line 68, in <lambda>
    key=lambda x: self.get_cost(x),
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/opencompass/partitioners/size.py", line 188, in get_cost
    dataset = build_dataset_from_cfg(dataset)
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/opencompass/utils/build.py", line 13, in build_dataset_from_cfg
    return LOAD_DATASET.build(dataset_cfg)
  File "/home/hadoop-hmart-waimai-rank/.conda/envs/opencompass/lib/python3.10/site-packages/mmengine/registry/registry.py", line 570, in build
    return self.build_func(cfg, *args, **kwargs, registry=self)
  File "/home/hadoop-hmart-waimai-rank/.conda/envs/opencompass/lib/python3.10/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
    obj = obj_cls(**args)  # type: ignore
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/opencompass/datasets/base.py", line 12, in __init__
    self.dataset = self.load(**kwargs)
  File "/home/hadoop-hmart-waimai-rank/opencompass-main-origin/opencompass/datasets/huggingface.py", line 13, in load
    return load_dataset(**kwargs)
  File "/home/hadoop-hmart-waimai-rank/.conda/envs/opencompass/lib/python3.10/site-packages/datasets/load.py", line 2112, in load_dataset
    builder_instance = load_dataset_builder(
  File "/home/hadoop-hmart-waimai-rank/.conda/envs/opencompass/lib/python3.10/site-packages/datasets/load.py", line 1798, in load_dataset_builder
    dataset_module = dataset_module_factory(
  File "/home/hadoop-hmart-waimai-rank/.conda/envs/opencompass/lib/python3.10/site-packages/datasets/load.py", line 1495, in dataset_module_factory
    raise e1 from None
  File "/home/hadoop-hmart-waimai-rank/.conda/envs/opencompass/lib/python3.10/site-packages/datasets/load.py", line 1451, in dataset_module_factory
    raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({type(e).__name__})")
ConnectionError: Couldn't reach 'gsm8k' on the Hub (ConnectionError)

As indicated, please check your network connection to HuggingFace. You might need a proxy for successful connection: https://stackoverflow.com/a/71339467


Feel free to re-open if needed.