Daniele Licari
commited on
Commit
·
a7523ac
1
Parent(s):
f1c8288
Update README.md
Browse files
README.md
CHANGED
@@ -115,4 +115,5 @@ plot_similarity(sent, model_name)
|
|
115 |
model_name = 'dbmdz/bert-base-italian-xxl-cased'
|
116 |
plot_similarity(sent, model_name)
|
117 |
```
|
|
|
118 |
<img src="https://huggingface.co/dlicari/Italian-Legal-BERT/resolve/main/semantic_text_similarity.jpg" width="700"/>
|
|
|
115 |
model_name = 'dbmdz/bert-base-italian-xxl-cased'
|
116 |
plot_similarity(sent, model_name)
|
117 |
```
|
118 |
+
The similarity is shown in a heat map. The final graph is a 3x3 matrix in which each entry [i, j] is colored according to the cosine similarity of the encodings for sentences i and j
|
119 |
<img src="https://huggingface.co/dlicari/Italian-Legal-BERT/resolve/main/semantic_text_similarity.jpg" width="700"/>
|