Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ from sentence_transformers import SentenceTransformer
|
|
6 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
7 |
from beir import util
|
8 |
from beir.datasets.data_loader import GenericDataLoader
|
9 |
-
from beir
|
|
|
10 |
|
11 |
# Function to load the dataset
|
12 |
def load_dataset():
|
|
|
6 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
7 |
from beir import util
|
8 |
from beir.datasets.data_loader import GenericDataLoader
|
9 |
+
from beir import EvaluateRetrieval
|
10 |
+
|
11 |
|
12 |
# Function to load the dataset
|
13 |
def load_dataset():
|