fix: formating in readme (#8)
Browse files- fix: formating in readme (479b40c90f3a3a6bd560df2ed7627fe9a6e869c2)
README.md
CHANGED
@@ -159,7 +159,7 @@ This dual capability makes it an excellent tool for multimodal retrieval-augment
|
|
159 |
## Usage
|
160 |
|
161 |
<details>
|
162 |
-
<summary>via Jina AI [Embedding API](https://jina.ai/embeddings/)
|
163 |
|
164 |
```bash
|
165 |
curl https://api.jina.ai/v1/embeddings \
|
@@ -218,9 +218,8 @@ EOFEOF
|
|
218 |
|
219 |
|
220 |
<details>
|
221 |
-
<summary>via transformers
|
222 |
|
223 |
-
```python
|
224 |
```python
|
225 |
# !pip install transformers einops timm pillow
|
226 |
from transformers import AutoModel
|
@@ -274,12 +273,11 @@ print("En -> It: " + str(query_embeddings @ text_embeddings[6].T))
|
|
274 |
print("En -> Jp: " + str(query_embeddings @ text_embeddings[7].T))
|
275 |
print("En -> Ko: " + str(query_embeddings @ text_embeddings[8].T))
|
276 |
```
|
277 |
-
```
|
278 |
</details>
|
279 |
|
280 |
|
281 |
<details>
|
282 |
-
<summary>via sentence-transformers
|
283 |
|
284 |
```python
|
285 |
# !pip install sentence-transformers einops timm pillow
|
|
|
159 |
## Usage
|
160 |
|
161 |
<details>
|
162 |
+
<summary>via Jina AI [Embedding API](https://jina.ai/embeddings/)</summary>
|
163 |
|
164 |
```bash
|
165 |
curl https://api.jina.ai/v1/embeddings \
|
|
|
218 |
|
219 |
|
220 |
<details>
|
221 |
+
<summary>via transformers:</summary>
|
222 |
|
|
|
223 |
```python
|
224 |
# !pip install transformers einops timm pillow
|
225 |
from transformers import AutoModel
|
|
|
273 |
print("En -> Jp: " + str(query_embeddings @ text_embeddings[7].T))
|
274 |
print("En -> Ko: " + str(query_embeddings @ text_embeddings[8].T))
|
275 |
```
|
|
|
276 |
</details>
|
277 |
|
278 |
|
279 |
<details>
|
280 |
+
<summary>via sentence-transformers:</summary>
|
281 |
|
282 |
```python
|
283 |
# !pip install sentence-transformers einops timm pillow
|