Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,48 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
Awesome model
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: sentence-similarity
|
3 |
+
tags:
|
4 |
+
- sentence-transformers
|
5 |
+
- feature-extraction
|
6 |
+
- sentence-similarity
|
7 |
+
---
|
8 |
+
|
9 |
+
# sentence-transformers/clip-ViT-B-32
|
10 |
+
|
11 |
+
<!--- Describe your model here -->
|
12 |
+
|
13 |
+
## Usage (Sentence-Transformers)
|
14 |
+
|
15 |
+
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
16 |
+
|
17 |
+
```
|
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 SentenceTransformer
|
25 |
+
sentences = ["This is an example sentence", "Each sentence is converted"]
|
26 |
+
|
27 |
+
model = SentenceTransformer('sentence-transformers/clip-ViT-B-32')
|
28 |
+
embeddings = model.encode(sentences)
|
29 |
+
print(embeddings)
|
30 |
+
```
|
31 |
+
|
32 |
+
## Evaluation Results
|
33 |
+
|
34 |
+
<!--- Describe how your model was evaluated -->
|
35 |
+
|
36 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=sentence-transformers/clip-ViT-B-32)
|
37 |
+
|
38 |
+
## Full Model Architecture
|
39 |
+
```
|
40 |
+
SentenceTransformer(
|
41 |
+
(0): CLIPModel()
|
42 |
+
)
|
43 |
+
```
|
44 |
+
|
45 |
+
## Citing & Authors
|
46 |
+
|
47 |
+
<!--- Describe where people can find more information -->
|
48 |
|
|