yobi commited on
Commit
e7ace3c
β€’
1 Parent(s): 862bc5c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -8,13 +8,15 @@ tags:
8
  ---
9
 
10
  ## Usage
11
- from sentence_transformers import SentenceTransformer, models
12
 
 
 
13
  embedding_model = models.Transformer("yobi/klue-roberta-base-sts")
14
  pooling_model = models.Pooling(
15
  embedding_model.get_word_embedding_dimension(),
16
  pooling_mode_mean_tokens=True,
17
  )
18
  model = SentenceTransformer(modules=[embedding_model, pooling_model])
 
 
19
 
20
- model.encode("μ•ˆλ…•ν•˜μ„Έμš”.", convert_to_tensor=True)
 
8
  ---
9
 
10
  ## Usage
 
11
 
12
+ ```
13
+ from sentence_transformers import SentenceTransformer, models
14
  embedding_model = models.Transformer("yobi/klue-roberta-base-sts")
15
  pooling_model = models.Pooling(
16
  embedding_model.get_word_embedding_dimension(),
17
  pooling_mode_mean_tokens=True,
18
  )
19
  model = SentenceTransformer(modules=[embedding_model, pooling_model])
20
+ model.encode("μ•ˆλ…•ν•˜μ„Έμš”.", convert_to_tensor=True)
21
+ ```
22