File size: 1,308 Bytes
3e97cfe
 
 
 
 
 
c885968
 
3e97cfe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- transformers
language:
- ko
---

# leewaay/kpf-bert-base-klueSTS-cross

This is a [sentence-transformers](https://www.SBERT.net) model: A cross encoder trained with the pretrained [`jinmang2/kpfbert`](https://huggingface.co/jinmang2/kpfbert) model on the [KLUE STS dataset](https://huggingface.co/datasets/klue#sts) for sentence similarity tasks. It's specifically designed for direct evaluation of sentence pairs, making it highly effective for [Re-Ranking](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) and [Augmented SBERT](https://www.sbert.net/examples/training/data_augmentation/README.html) for data labeling tasks aimed at enhancing SBERT.

## Usage (Sentence-Transformers)

Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:

```bash
pip install -U sentence-transformers
```

Then you can use the model like this:

```python
from sentence_transformers import CrossEncoder
pairs = [('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]

model = CrossEncoder('leewaay/kpf-bert-base-klueSTS-cross')
scores = model.predict(pairs)
print(scores)
```

## Citing & Authors

[Wonseok Lee](https://github.com/leewaay)