efederici commited on
Commit
3bd4b49
1 Parent(s): 9e12d52

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -0
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: text-classification
3
+ language:
4
+ - it
5
+ tags:
6
+ - cross-encoder
7
+ - sentence-similarity
8
+ - transformers
9
+ ---
10
+ # Cross-Encoder
11
+
12
+ <p align="center">
13
+ <img src="https://www.exibart.com/repository/media/2020/07/bridget-riley-cool-edge.jpg" width="400"> </br>
14
+ Bridget Riley, COOL EDGE
15
+ </p>
16
+
17
+ ## Training Data
18
+
19
+ This model was trained on a custom ranking dataset.
20
+
21
+ ## Usage and Performance
22
+
23
+ ```python
24
+ from sentence_transformers import CrossEncoder
25
+ model = CrossEncoder('efederici/cross-encoder-distilbert-it')
26
+ scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])
27
+ ```
28
+
29
+ The model will predict scores for the pairs `('Sentence 1', 'Sentence 2')` and `('Sentence 3', 'Sentence 4')`.