add missing import
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ model = ORTModelForFeatureExtraction.from_pretrained("philipp-zettl/BAAI-bge-m3-
|
|
31 |
```python
|
32 |
import torch
|
33 |
import torch.nn.functional as F
|
34 |
-
from
|
35 |
|
36 |
|
37 |
def mean_pooling(model_output, attention_mask):
|
|
|
31 |
```python
|
32 |
import torch
|
33 |
import torch.nn.functional as F
|
34 |
+
from sklearn.metrics.pairwise import cosine_similarity
|
35 |
|
36 |
|
37 |
def mean_pooling(model_output, attention_mask):
|