Update README.md
Browse files
README.md
CHANGED
@@ -41,17 +41,16 @@ allowing for both text-to-text and text-to-image searches with a single model.
|
|
41 |
|
42 |
## Data & Parameters
|
43 |
|
44 |
-
|
45 |
|
46 |
## Usage
|
47 |
|
48 |
You can use Jina CLIP directly from transformers package.
|
49 |
|
50 |
```python
|
51 |
-
!pip install transformers einops timm
|
52 |
from transformers import AutoModel, AutoTokenizer, AutoImageProcessor
|
53 |
from numpy.linalg import norm
|
54 |
-
from PIL import Image
|
55 |
|
56 |
cos_sim = lambda a,b: (a @ b.T) / (norm(a)*norm(b))
|
57 |
|
@@ -103,7 +102,7 @@ Join our [Discord community](https://discord.jina.ai) and chat with other commun
|
|
103 |
|
104 |
## Citation
|
105 |
|
106 |
-
If you find
|
107 |
|
108 |
```console
|
109 |
TBD
|
|
|
41 |
|
42 |
## Data & Parameters
|
43 |
|
44 |
+
`jina-clip-v1` [technical report]() coming soon.
|
45 |
|
46 |
## Usage
|
47 |
|
48 |
You can use Jina CLIP directly from transformers package.
|
49 |
|
50 |
```python
|
51 |
+
!pip install transformers einops timm pillow
|
52 |
from transformers import AutoModel, AutoTokenizer, AutoImageProcessor
|
53 |
from numpy.linalg import norm
|
|
|
54 |
|
55 |
cos_sim = lambda a,b: (a @ b.T) / (norm(a)*norm(b))
|
56 |
|
|
|
102 |
|
103 |
## Citation
|
104 |
|
105 |
+
If you find `jina-clip-v1` useful in your research, please cite the following paper:
|
106 |
|
107 |
```console
|
108 |
TBD
|