Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentence
|
|
14 |
|
15 |
<!--- Describe your model here -->
|
16 |
|
17 |
-
|
18 |
|
19 |
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
20 |
|
@@ -35,7 +35,7 @@ print(embeddings)
|
|
35 |
|
36 |
|
37 |
|
38 |
-
|
39 |
Without [sentence-transformers](https://www.SBERT.net), you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings.
|
40 |
|
41 |
```python
|
|
|
14 |
|
15 |
<!--- Describe your model here -->
|
16 |
|
17 |
+
### Usage (Sentence-Transformers)
|
18 |
|
19 |
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
20 |
|
|
|
35 |
|
36 |
|
37 |
|
38 |
+
### Usage (HuggingFace Transformers)
|
39 |
Without [sentence-transformers](https://www.SBERT.net), you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings.
|
40 |
|
41 |
```python
|