Van Tuan DANG
commited on
Commit
·
0b8ec6a
1
Parent(s):
79b651c
feat: Add README.md
Browse files
README.md
CHANGED
@@ -54,9 +54,8 @@ scores = model.predict([('Un avion est en train de décoller.', "Un homme joue d
|
|
54 |
## Evaluation
|
55 |
The model can be evaluated as follows on the French test data of stsb.
|
56 |
```python
|
57 |
-
from sentence_transformers import SentenceTransformer
|
58 |
from sentence_transformers.readers import InputExample
|
59 |
-
from sentence_transformers.evaluation import
|
60 |
from datasets import load_dataset
|
61 |
def convert_dataset(dataset):
|
62 |
dataset_samples=[]
|
|
|
54 |
## Evaluation
|
55 |
The model can be evaluated as follows on the French test data of stsb.
|
56 |
```python
|
|
|
57 |
from sentence_transformers.readers import InputExample
|
58 |
+
from sentence_transformers.cross_encoder.evaluation import CECorrelationEvaluator
|
59 |
from datasets import load_dataset
|
60 |
def convert_dataset(dataset):
|
61 |
dataset_samples=[]
|