Sentence Similarity
sentence-transformers
Safetensors
Transformers
Polish
qwen2
text-generation
feature-extraction
custom_code
text-embeddings-inference
Instructions to use sdadas/stella-pl-retrieval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sdadas/stella-pl-retrieval with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sdadas/stella-pl-retrieval", trust_remote_code=True) sentences = [ "zapytanie: Jak dożyć 100 lat?", "Trzeba zdrowo się odżywiać i uprawiać sport.", "Trzeba pić alkohol, imprezować i jeździć szybkimi autami.", "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/stella-pl-retrieval with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sdadas/stella-pl-retrieval", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("sdadas/stella-pl-retrieval", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -81,12 +81,11 @@ The model achieves **NDCG@10** of **62.32** on the Polish Information Retrieval
|
|
| 81 |
## Citation
|
| 82 |
|
| 83 |
```bibtex
|
| 84 |
-
@
|
| 85 |
-
title={
|
| 86 |
-
author={
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
primaryClass={cs.CL}
|
| 91 |
}
|
| 92 |
```
|
|
|
|
| 81 |
## Citation
|
| 82 |
|
| 83 |
```bibtex
|
| 84 |
+
@inproceedings{dadas2024pirb,
|
| 85 |
+
title={PIRB: A Comprehensive Benchmark of Polish Dense and Hybrid Text Retrieval Methods},
|
| 86 |
+
author={Dadas, Slawomir and Pere{\l}kiewicz, Micha{\l} and Po{\'s}wiata, Rafa{\l}},
|
| 87 |
+
booktitle={Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
|
| 88 |
+
pages={12761--12774},
|
| 89 |
+
year={2024}
|
|
|
|
| 90 |
}
|
| 91 |
```
|