leewaay commited on
Commit
e948ab1
1 Parent(s): 1773178

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: sentence-similarity
3
+ tags:
4
+ - sentence-transformers
5
+ - sentence-similarity
6
+ - transformers
7
+ ---
8
+
9
+ # leewaay/klue-roberta-large-klueSTS-cross
10
+
11
+ This is a [sentence-transformers](https://www.SBERT.net) model: A cross encoder trained with the pretrained [`klue/roberta-large`](https://huggingface.co/klue/roberta-large) 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.
12
+
13
+ ## Usage (Sentence-Transformers)
14
+
15
+ Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
16
+
17
+ ```bash
18
+ pip install -U sentence-transformers
19
+ ```
20
+
21
+ Then you can use the model like this:
22
+
23
+ ```python
24
+ from sentence_transformers import CrossEncoder
25
+ pairs = [('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]
26
+
27
+ model = CrossEncoder('leewaay/klue-roberta-large-klueSTS-cross')
28
+ scores = model.predict(pairs)
29
+ print(scores)
30
+ ```
31
+
32
+ ## Citing & Authors
33
+
34
+ [Wonseok Lee](https://github.com/leewaay)