Sentence Similarity
sentence-transformers
PyTorch
Safetensors
Transformers
Polish
bert
feature-extraction
information-retrieval
text-embeddings-inference
Instructions to use sdadas/mmlw-retrieval-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sdadas/mmlw-retrieval-e5-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sdadas/mmlw-retrieval-e5-small") sentences = [ "query: Jak dożyć 100 lat?", "passage: Trzeba zdrowo się odżywiać i uprawiać sport.", "passage: Trzeba pić alkohol, imprezować i jeździć szybkimi autami.", "passage: Gdy trwała kampania politycy zapewniali, że rozprawią się z zakazem niedzielnego handlu." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use sdadas/mmlw-retrieval-e5-small with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sdadas/mmlw-retrieval-e5-small") model = AutoModel.from_pretrained("sdadas/mmlw-retrieval-e5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,4 +54,7 @@ print(answers[best_answer])
|
|
| 54 |
|
| 55 |
## Evaluation Results
|
| 56 |
|
| 57 |
-
The model achieves **NDCG@10** of **52.34** on the Polish Information Retrieval Benchmark. See [PIRB Leaderboard](https://huggingface.co/spaces/sdadas/pirb) for detailed results.
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
## Evaluation Results
|
| 56 |
|
| 57 |
+
The model achieves **NDCG@10** of **52.34** on the Polish Information Retrieval Benchmark. See [PIRB Leaderboard](https://huggingface.co/spaces/sdadas/pirb) for detailed results.
|
| 58 |
+
|
| 59 |
+
## Acknowledgements
|
| 60 |
+
This model was trained with the A100 GPU cluster support delivered by the Gdansk University of Technology within the TASK center initiative.
|