Importing downloaded package repository fails
{'login': 'yjernite', 'id': 10469459, 'node_id': 'MDQ6VXNlcjEwNDY5NDU5', 'avatar_url': 'https://avatars.githubusercontent.com/u/10469459?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/yjernite', 'html_url': 'https://github.com/yjernite', 'followers_url': 'https://api.github.com/users/yjernite/followers', 'following_url': 'https://api.github.com/users/yjernite/following{/other_user}', 'gists_url': 'https://api.github.com/users/yjernite/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/yjernite/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/yjernite/subscriptions', 'organizations_url': 'https://api.github.com/users/yjernite/orgs', 'repos_url': 'https://api.github.com/users/yjernite/repos', 'events_url': 'https://api.github.com/users/yjernite/events{/privacy}', 'received_events_url': 'https://api.github.com/users/yjernite/received_events', 'type': 'User', 'site_admin': False}
[{'id': 2067393914, 'node_id': 'MDU6TGFiZWwyMDY3MzkzOTE0', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/metric%20bug', 'name': 'metric bug', 'color': '25b21e', 'default': False, 'description': 'A bug in a metric script'}]
[]
The `get_imports` function in `src/nlp/load.py` has a feature to download a package as a zip archive of the github repository and import functions from the unpacked directory. This is used for example in the `metrics/coval.py` file, and would be useful to add BLEURT (@ankparikh).

Currently however, the code seems to have trouble with imports within the package. For example:
```
import nlp
coval = nlp.load_metric('coval')
```
yields:
```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/yacine/Code/nlp/src/nlp/load.py", line 432, in load_metric
    metric_cls = import_main_class(module_path, dataset=False)
  File "/home/yacine/Code/nlp/src/nlp/load.py", line 57, in import_main_class
    module = importlib.import_module(module_path)
  File "/home/yacine/anaconda3/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/yacine/Code/nlp/src/nlp/metrics/coval/a78807df33ac45edbb71799caf2b3b47e55df4fd690267808fe963a5e8b30952/coval.py", line 21, in <module>
    from .coval_backend.conll import reader  # From: https://github.com/ns-moosavi/coval
  File "/home/yacine/Code/nlp/src/nlp/metrics/coval/a78807df33ac45edbb71799caf2b3b47e55df4fd690267808fe963a5e8b30952/coval_backend/conll/reader.py", line 2, in <module>
    from conll import mention
ModuleNotFoundError: No module named 'conll'
```

Not sure what the fix would be there.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/305/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 1, 'heart': 0, 'rocket': 0, 'eyes': 0}