efederici commited on
Commit
e8bb0ea
·
1 Parent(s): 733254c

Updated README

Browse files
Files changed (1) hide show
  1. README.md +28 -1
README.md CHANGED
@@ -1 +1,28 @@
1
- hello
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: text-classification
3
+ language:
4
+ - it
5
+ datasets:
6
+ - stsb_multi_mt
7
+ tags:
8
+ - cross-encoder
9
+ - sentence-similarity
10
+ - transformers
11
+ ---
12
+ # Cross-Encoder
13
+
14
+ This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class.
15
+
16
+ ## Training Data
17
+
18
+ This model was trained on [stsb](https://huggingface.co/datasets/stsb_multi_mt/viewer/it/train). The model will predict a score between 0 and 1 how for the semantic similarity of two sentences.
19
+
20
+ ## Usage and Performance
21
+
22
+ ```python
23
+ from sentence_transformers import CrossEncoder
24
+ model = CrossEncoder('efederici/cross-encoder-umberto-stsb')
25
+ scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])
26
+ ```
27
+
28
+ The model will predict scores for the pairs `('Sentence 1', 'Sentence 2')` and `('Sentence 3', 'Sentence 4')`.