Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ This is a reranker for Polish based on [BAAI/bge-reranker-v2-m3](https://hugging
|
|
16 |
- After the training, we merged the original and fine-tuned weights to create the final checkpoint
|
17 |
- We used a custom implementation of XLM-RoBERTa with support for Flash Attention 2. If you want to use these features, load the model with the arguments `trust_remote_code=True` and `attn_implementation="flash_attention_2"`. This is especially important for this model, since [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3) supports long contexts of 8192 tokens. For such input length, the inference can be up to 400% faster with Flash Attention in comparison to the original model.
|
18 |
|
19 |
-
In most cases, the use of [sdadas/polish-reranker-roberta-v2](https://huggingface.co/sdadas/polish-reranker-roberta-v2) is preferred to this model as it achieves better results for Polish. The main advantage of this model is its context length, so it
|
20 |
|
21 |
## Usage (Huggingface Transformers)
|
22 |
|
|
|
16 |
- After the training, we merged the original and fine-tuned weights to create the final checkpoint
|
17 |
- We used a custom implementation of XLM-RoBERTa with support for Flash Attention 2. If you want to use these features, load the model with the arguments `trust_remote_code=True` and `attn_implementation="flash_attention_2"`. This is especially important for this model, since [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3) supports long contexts of 8192 tokens. For such input length, the inference can be up to 400% faster with Flash Attention in comparison to the original model.
|
18 |
|
19 |
+
In most cases, the use of [sdadas/polish-reranker-roberta-v2](https://huggingface.co/sdadas/polish-reranker-roberta-v2) is preferred to this model as it achieves better results for Polish. The main advantage of this model is its context length, so it may perform better on some datasets with long documents.
|
20 |
|
21 |
## Usage (Huggingface Transformers)
|
22 |
|