EuroEval 15.9.0__py3-none-any.whl → 15.9.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of EuroEval might be problematic. Click here for more details.
- euroeval/__init__.py +14 -0
- {euroeval-15.9.0.dist-info → euroeval-15.9.1.dist-info}/METADATA +1 -1
- {euroeval-15.9.0.dist-info → euroeval-15.9.1.dist-info}/RECORD +6 -6
- {euroeval-15.9.0.dist-info → euroeval-15.9.1.dist-info}/WHEEL +0 -0
- {euroeval-15.9.0.dist-info → euroeval-15.9.1.dist-info}/entry_points.txt +0 -0
- {euroeval-15.9.0.dist-info → euroeval-15.9.1.dist-info}/licenses/LICENSE +0 -0
euroeval/__init__.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
### STAGE 1 ###
|
|
4
4
|
### Block unwanted terminal output that happens on importing external modules ###
|
|
5
5
|
|
|
6
|
+
import importlib.util
|
|
6
7
|
import logging
|
|
7
8
|
import os
|
|
8
9
|
import sys
|
|
@@ -27,6 +28,19 @@ logging.basicConfig(
|
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
### STAGE 2 ###
|
|
31
|
+
### Check for incompatible packages ###
|
|
32
|
+
|
|
33
|
+
# Throw informative error if `flash_attn` is installed ###
|
|
34
|
+
if importlib.util.find_spec("flash_attn") is not None:
|
|
35
|
+
logging.critical(
|
|
36
|
+
"The `flash_attn` package is not supported by EuroEval, as it is now built "
|
|
37
|
+
"into the other packages and it conflicts with the other implementations. "
|
|
38
|
+
"Please uninstall it using `pip uninstall flash_attn` and try again."
|
|
39
|
+
)
|
|
40
|
+
sys.exit(1)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### STAGE 3 ###
|
|
30
44
|
### Set the rest up ###
|
|
31
45
|
|
|
32
46
|
import importlib.metadata # noqa: E402
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
euroeval/__init__.py,sha256=
|
|
1
|
+
euroeval/__init__.py,sha256=jjInLLkd5IrDrwqag3U35g7SgzITBlFYllgofc-uQFg,3067
|
|
2
2
|
euroeval/benchmark_config_factory.py,sha256=icTeT5C-bNCJmvSWFlxKdEpRboZN8OjwaHGu7JM-2xI,11158
|
|
3
3
|
euroeval/benchmarker.py,sha256=wmgrYVS31PMhhrVienjaVHHyfnZAy51kUvC6OjooiOw,48047
|
|
4
4
|
euroeval/callbacks.py,sha256=F1AJCLB8FJpxqYprwLi_PsH4Bc0x4lyR8UiTG-GlFLY,2452
|
|
@@ -54,8 +54,8 @@ euroeval/task_group_utils/question_answering.py,sha256=kZBABJ_WYNTH4Xgo2jIvfx7iY
|
|
|
54
54
|
euroeval/task_group_utils/sequence_classification.py,sha256=Yqx0pUhuHYmSkv1ZUfOndSLTvpr0lWCk19oYITfSjV4,13555
|
|
55
55
|
euroeval/task_group_utils/text_to_text.py,sha256=Nu1_qRPLbboCd9Q5rxqY4fQFJ_aGXu80aWQqoTG1cYc,5047
|
|
56
56
|
euroeval/task_group_utils/token_classification.py,sha256=3idWB81Fcx9UhTuk-gxMfXENrCBmiWBDUWdULXoIhpw,17863
|
|
57
|
-
euroeval-15.9.
|
|
58
|
-
euroeval-15.9.
|
|
59
|
-
euroeval-15.9.
|
|
60
|
-
euroeval-15.9.
|
|
61
|
-
euroeval-15.9.
|
|
57
|
+
euroeval-15.9.1.dist-info/METADATA,sha256=UkGmFcnarstFwD1J1eS6h3gbyxnucnaAVLnB5QhkdSo,13555
|
|
58
|
+
euroeval-15.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
59
|
+
euroeval-15.9.1.dist-info/entry_points.txt,sha256=tKQRxN0HX2mGtbZbZQdCRFUDZIecA_z4mZduueor3Ug,135
|
|
60
|
+
euroeval-15.9.1.dist-info/licenses/LICENSE,sha256=oZp5fpOSQ7w-vFui8QNwrBIosrO7cnpArItdbvn52Ao,1082
|
|
61
|
+
euroeval-15.9.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|