maastrichtlawtech/lleqa
Viewer • Updated • 29.8k • 93 • 16
How to use maastrichtlawtech/monobert-legal-french with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("maastrichtlawtech/monobert-legal-french")
sentences = [
"The weather is lovely today.",
"It's so sunny outside!",
"He drove to the stadium."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]@article{louis2024know,
author = {Louis, Antoine and van Dijck, Gijs and Spanakis, Gerasimos},
title = {Know When to Fuse: Investigating Non-English Hybrid Retrieval in the Legal Domain},
journal = {CoRR},
volume = {abs/2409.01357},
year = {2024},
url = {https://arxiv.org/abs/2409.01357},
eprinttype = {arXiv},
eprint = {2409.01357},
}
Base model
almanach/camembert-base