Spaces:
Sleeping
Sleeping
bikram-riverus
commited on
more logs
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ embeddings = model.encode([left_text, right_text])
|
|
18 |
|
19 |
st.toast("Legal-BERTimbau-sts-base: computing similarity...")
|
20 |
similarity = cosine_similarity(embeddings[: 1], embeddings[1 :])
|
|
|
21 |
st.dataframe(similarity)
|
22 |
|
23 |
st.toast("Loading nlpaueb/legal-bert-base-uncased...")
|
@@ -28,4 +29,5 @@ embeddings = model.encode([left_text, right_text])
|
|
28 |
|
29 |
st.toast("legal-bert-base-uncased: computing similarity...")
|
30 |
similarity = cosine_similarity(embeddings[: 1], embeddings[1 :])
|
|
|
31 |
st.dataframe(similarity)
|
|
|
18 |
|
19 |
st.toast("Legal-BERTimbau-sts-base: computing similarity...")
|
20 |
similarity = cosine_similarity(embeddings[: 1], embeddings[1 :])
|
21 |
+
st.info("Legal-BERTimbau-sts-base: score ->")
|
22 |
st.dataframe(similarity)
|
23 |
|
24 |
st.toast("Loading nlpaueb/legal-bert-base-uncased...")
|
|
|
29 |
|
30 |
st.toast("legal-bert-base-uncased: computing similarity...")
|
31 |
similarity = cosine_similarity(embeddings[: 1], embeddings[1 :])
|
32 |
+
st.info("legal-bert-base-uncased: score ->")
|
33 |
st.dataframe(similarity)
|