Unable to load xnli?
Author: dl14666
Pull request: no

### System Info

transformer 4.36
python 3.10

### Who can help?

_No response_

### Information

- [ ] The official example scripts
- [X] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)

### Reproduction

When trying to load xnli by executing the following code: '    

# Get the metric function
    metric = evaluate.load("xnli")

', I received the following error:

Traceback (most recent call last):
  File "/home/vanv-grc-analyse/risk_event-master/risk_event-master/train/run_xnli.py", line 493, in <module>
    main()
  File "/home/vanv-grc-analyse/risk_event-master/risk_event-master/train/run_xnli.py", line 410, in main
    metric = evaluate.load("xnli")
  File "/root/anaconda3/envs/vanv/lib/python3.10/site-packages/evaluate/loading.py", line 748, in load
    evaluation_module = evaluation_module_factory(
  File "/root/anaconda3/envs/vanv/lib/python3.10/site-packages/evaluate/loading.py", line 681, in evaluation_module_factory
    raise FileNotFoundError(
FileNotFoundError: Couldn't find a module script at /home/vanv-grc-analyse/risk_event-master/risk_event-master/train/xnli/xnli.py. Module 'xnli' doesn't exist on the Hugging Face Hub either.

Then I write the path manually:
    metric = evaluate.load("/root/anaconda3/envs/vanv/lib/python3.10/site-packages/transformers/data/processors/xnli.py")
and received another following error:

Traceback (most recent call last):
  File "/home/vanv-grc-analyse/risk_event-master/risk_event-master/train/run_xnli.py", line 493, in <module>
    main()
  File "/home/vanv-grc-analyse/risk_event-master/risk_event-master/train/run_xnli.py", line 410, in main
    metric = evaluate.load("/root/anaconda3/envs/vanv/lib/python3.10/site-packages/transformers/data/processors/xnli.py")
  File "/root/anaconda3/envs/vanv/lib/python3.10/site-packages/evaluate/loading.py", line 751, in load
    evaluation_cls = import_main_class(evaluation_module.module_path)
  File "/root/anaconda3/envs/vanv/lib/python3.10/site-packages/evaluate/loading.py", line 76, in import_main_class
    module = importlib.import_module(module_path)
  File "/root/anaconda3/envs/vanv/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/root/.cache/huggingface/modules/evaluate_modules/metrics/xnli/f0c1a610d2f09e4f2a5a6a2835d8cc814b69833b4057c6acdca7fe9fed919520/xnli.py", line 22, in <module>
    from .utils import DataProcessor, InputExample
  File "/root/.cache/huggingface/modules/evaluate_modules/metrics/xnli/f0c1a610d2f09e4f2a5a6a2835d8cc814b69833b4057c6acdca7fe9fed919520/utils.py", line 23, in <module>
    from ...utils import is_tf_available, is_torch_available, logging
ModuleNotFoundError: No module named 'evaluate_modules.metrics.utils'

So what exactly had happened and what should I do then? 
I think I need to change the "xnli" in the following line 

metric = evaluate.load("xnli") 

to something else.
How should I fix the path by changing the 'xnli'? into what?
Thanks.


### Expected behavior

expected xnli to load but it didn't. When I manually write the path it still got wrong on logging

Comments:
Hey! I'll close this as it seems unrelated to transformers and I cannot reproduce! 🤗