Spaces:
Running
Running
upd
Browse files- __init__.py +3 -0
- pyproject.toml +0 -14
- tasks.py +1 -1
- tlem.py +2 -2
__init__.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from . import utils
|
2 |
+
from . import tasks
|
3 |
+
from .tlem import *
|
pyproject.toml
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
[tool.poetry]
|
2 |
-
name = "tlem"
|
3 |
-
version = "0.1.0"
|
4 |
-
description = ""
|
5 |
-
authors = ["fecet <[email protected]>"]
|
6 |
-
readme = "README.md"
|
7 |
-
|
8 |
-
[tool.poetry.dependencies]
|
9 |
-
python = "3.10"
|
10 |
-
|
11 |
-
|
12 |
-
[build-system]
|
13 |
-
requires = ["poetry-core"]
|
14 |
-
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tasks.py
CHANGED
@@ -4,7 +4,7 @@ from functools import cached_property
|
|
4 |
from tqdm.auto import tqdm
|
5 |
from typing import Any, Optional, Protocol, Iterable, Callable
|
6 |
|
7 |
-
from utils import (
|
8 |
NUMERIC_IN_ZH,
|
9 |
extract_choice_ans,
|
10 |
extract_numeric,
|
|
|
4 |
from tqdm.auto import tqdm
|
5 |
from typing import Any, Optional, Protocol, Iterable, Callable
|
6 |
|
7 |
+
from .utils import (
|
8 |
NUMERIC_IN_ZH,
|
9 |
extract_choice_ans,
|
10 |
extract_numeric,
|
tlem.py
CHANGED
@@ -11,8 +11,8 @@ from evaluate.evaluation_suite import EvaluationSuite
|
|
11 |
import evaluate
|
12 |
import numpy as np
|
13 |
import datasets
|
14 |
-
from tasks import Task, Metrics
|
15 |
-
from utils import is_equiv
|
16 |
|
17 |
# %%
|
18 |
|
|
|
11 |
import evaluate
|
12 |
import numpy as np
|
13 |
import datasets
|
14 |
+
from .tasks import Task, Metrics
|
15 |
+
from .utils import is_equiv
|
16 |
|
17 |
# %%
|
18 |
|