Repository: huggingface/evaluate
Issue: Module 'glue' doesn't exist on the Hugging Face Hub either.
Root cause: Environment Incompatibility

I am a beginner at Hugging Face.

I am trying to run "huggingface/accelerate/examples/nlp_example.py", and this error happened.
What should I do to solve this error?

```sh
$ python accelerate/examples/nlp_example.py 
Traceback (most recent call last):
  File "/home/ubuntu/huggingface/accelerate/examples/nlp_example.py", line 208, in <module>
    main()
  File "/home/ubuntu/huggingface/accelerate/examples/nlp_example.py", line 204, in main
    training_function(config, args)
  File "/home/ubuntu/huggingface/accelerate/examples/nlp_example.py", line 122, in training_function
    metric = evaluate.load("glue", "mrpc")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/miniconda3/envs/ray_tutorial/lib/python3.11/site-packages/evaluate/loading.py", line 748, in load
    evaluation_module = evaluation_module_factory(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/miniconda3/envs/ray_tutorial/lib/python3.11/site-packages/evaluate/loading.py", line 681, in evaluation_module_factory
    raise FileNotFoundError(
FileNotFoundError: Couldn't find a module script at /home/ubuntu/huggingface/glue/glue.py. Module 'glue' doesn't exist on the Hugging Face Hub either.
```

(When I asked this issue at accelerate repository, they told me that this issue is related to this repository. [here](https://github.com/huggingface/accelerate/issues/2668))
I apologize if there was already a similar issue.
Thanks for your help and kindness!!

I was able to solve it on my own.
I will share what I did for reference.
- I removed the proxy settings.
- Since I couldn't log in to Hugging Face, I logged in.

I apologize for the inconvenience and appreciate your help.

i also have this issue now,i think i can skip one section in last chapter but at 3.4A full training i encounter this again(❐_❐✧ ),
my env at Vmware-ubuntu -vscode, i use your method, B cos i am in china so i must use vpn that i can login in Hugging Face,when i log in HF no matter i use vpn or not i always have this issue, think you for your some advice for this problem (sorry for my bad english)
### **_FileNotFoundError Traceback (most recent call last)
Cell In[1], line 3
1 import evaluate
----> 3 metric = evaluate.load("glue", "mrpc")
4 model.eval()
6 for epoch in range(num_epochs):

File ~/transformers-course/.env/lib/python3.11/site-packages/evaluate/loading.py:748, in load(path, config_name, module_type, process_id, num_process, cache_dir, experiment_id, keep_in_memory, download_config, download_mode, revision, **init_kwargs)
703 """Load a [~evaluate.EvaluationModule].
704
705 Args:
(...)
745 ```
746 """
747 download_mode = DownloadMode(download_mode or DownloadMode.REUSE_DATASET_IF_EXISTS)
--> 748 evaluation_module = evaluation_module_factory(
749 path, module_type=module_type, revision=revision, download_config=download_config, download_mode=download_mode
750 )
751 evaluation_cls = import_main_class(evaluation_module.module_path)
752 evaluation_instance = evaluation_cls(
753 config_name=config_name,
754 process_id=process_id,
(...)
760 **init_kwargs,
...
684 ) from None
685 else:
686 raise FileNotFoundError(f"Couldn't find a module script at {relative_to_absolute_path(combined_path)}.")

FileNotFoundError: Couldn't find a module script at /home/tooko/transformers-course/glue/glue.py. Module 'glue' doesn't exist on the Hugging Face Hub either.
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings..._**

 can you provide the version of evaluate you are using?i using 0.4.3，i don't know if problem ishere

Because I threw this issue at April 15th, the version of evaluate I had used might be v0.4.1.