Update README.md
Browse files
README.md
CHANGED
|
@@ -29,6 +29,6 @@ for text, image, meta in dataset:
|
|
| 29 |
## Filteration
|
| 30 |
Each sample has 8 possible captions which were compared to the image using [CLIP ViT-B32](https://arxiv.org/abs/2103.00020)
|
| 31 |
The text was encoded using [multilingual CLIP text encoder](https://huggingface.co/sentence-transformers/clip-ViT-B-32-multilingual-v1)
|
| 32 |
-
Each possible caption was compared to the encoded image using
|
| 33 |
and kept if the sim was greater than `0.26`
|
| 34 |
Then the new caption was the filtered captions concatenated, and samples with no filtered caption were dropped.
|
|
|
|
| 29 |
## Filteration
|
| 30 |
Each sample has 8 possible captions which were compared to the image using [CLIP ViT-B32](https://arxiv.org/abs/2103.00020)
|
| 31 |
The text was encoded using [multilingual CLIP text encoder](https://huggingface.co/sentence-transformers/clip-ViT-B-32-multilingual-v1)
|
| 32 |
+
Each possible caption was compared to the encoded image using Cosine Similarity
|
| 33 |
and kept if the sim was greater than `0.26`
|
| 34 |
Then the new caption was the filtered captions concatenated, and samples with no filtered caption were dropped.
|