Spaces:
Running
Running
Kurt
commited on
Commit
•
2b4cfa7
1
Parent(s):
68e1c48
cool
Browse files
nlp4web_codebase/nlp4web_codebase/ir/analysis.py
CHANGED
@@ -3,7 +3,7 @@ from typing import Dict, List, Optional, Protocol
|
|
3 |
import pandas as pd
|
4 |
import tqdm
|
5 |
import ujson
|
6 |
-
from nlp4web_codebase.ir.data_loaders import IRDataset
|
7 |
|
8 |
|
9 |
def round_dict(obj: Dict[str, float], ndigits: int = 4) -> Dict[str, float]:
|
|
|
3 |
import pandas as pd
|
4 |
import tqdm
|
5 |
import ujson
|
6 |
+
from nlp4web_codebase.nlp4web_codebase.ir.data_loaders import IRDataset
|
7 |
|
8 |
|
9 |
def round_dict(obj: Dict[str, float], ndigits: int = 4) -> Dict[str, float]:
|
nlp4web_codebase/nlp4web_codebase/ir/data_loaders/__init__.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from dataclasses import dataclass
|
2 |
from enum import Enum
|
3 |
from typing import Dict, List
|
4 |
-
from nlp4web_codebase.ir.data_loaders.dm import Document, Query, QRel
|
5 |
|
6 |
|
7 |
class Split(str, Enum):
|
|
|
1 |
from dataclasses import dataclass
|
2 |
from enum import Enum
|
3 |
from typing import Dict, List
|
4 |
+
from nlp4web_codebase.nlp4web_codebase.ir.data_loaders.dm import Document, Query, QRel
|
5 |
|
6 |
|
7 |
class Split(str, Enum):
|
nlp4web_codebase/nlp4web_codebase/ir/data_loaders/sciq.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from typing import Dict, List
|
2 |
-
from nlp4web_codebase.ir.data_loaders import IRDataset, Split
|
3 |
-
from nlp4web_codebase.ir.data_loaders.dm import Document, Query, QRel
|
4 |
from datasets import load_dataset
|
5 |
import joblib
|
6 |
|
|
|
1 |
from typing import Dict, List
|
2 |
+
from nlp4web_codebase.nlp4web_codebase.ir.data_loaders import IRDataset, Split
|
3 |
+
from nlp4web_codebase.nlp4web_codebase.ir.data_loaders.dm import Document, Query, QRel
|
4 |
from datasets import load_dataset
|
5 |
import joblib
|
6 |
|