Upload 4 files
Browse files
data/README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
- config_name: default
|
| 4 |
+
features:
|
| 5 |
+
- name: image
|
| 6 |
+
dtype: image
|
| 7 |
+
- name: keywords
|
| 8 |
+
dtype: string
|
| 9 |
+
splits:
|
| 10 |
+
- name: train
|
| 11 |
+
num_bytes: 2045209850.972
|
| 12 |
+
num_examples: 24996
|
| 13 |
+
download_size: 1935601893
|
| 14 |
+
dataset_size: 2045209850.972
|
| 15 |
+
- config_name: embeddings_clip-ViT-B-32
|
| 16 |
+
features:
|
| 17 |
+
- name: embeddings_clip-ViT-B-32
|
| 18 |
+
sequence: float32
|
| 19 |
+
splits:
|
| 20 |
+
- name: train
|
| 21 |
+
num_bytes: 51291792
|
| 22 |
+
num_examples: 24996
|
| 23 |
+
download_size: 66797740
|
| 24 |
+
dataset_size: 51291792
|
| 25 |
+
- config_name: embeddings_metaclip-2-worldwide-s16-384
|
| 26 |
+
features:
|
| 27 |
+
- name: embeddings_metaclip-2-worldwide-s16-384
|
| 28 |
+
sequence: float32
|
| 29 |
+
splits:
|
| 30 |
+
- name: train
|
| 31 |
+
num_bytes: 38493840
|
| 32 |
+
num_examples: 24996
|
| 33 |
+
download_size: 53998486
|
| 34 |
+
dataset_size: 38493840
|
| 35 |
+
- config_name: embeddings_metaclip-2-worldwide-s16-384-eng-32768
|
| 36 |
+
features:
|
| 37 |
+
- name: embeddings_metaclip-2-worldwide-s16-384-eng-32768
|
| 38 |
+
sequence: float32
|
| 39 |
+
splits:
|
| 40 |
+
- name: train
|
| 41 |
+
num_bytes: 38493840
|
| 42 |
+
num_examples: 24996
|
| 43 |
+
download_size: 53998780
|
| 44 |
+
dataset_size: 38493840
|
| 45 |
+
configs:
|
| 46 |
+
- config_name: default
|
| 47 |
+
data_files:
|
| 48 |
+
- split: train
|
| 49 |
+
path: data/train-*
|
| 50 |
+
- config_name: embeddings_clip-ViT-B-32
|
| 51 |
+
data_files:
|
| 52 |
+
- split: train
|
| 53 |
+
path: embeddings_clip-ViT-B-32/train-*
|
| 54 |
+
- config_name: embeddings_metaclip-2-worldwide-s16-384
|
| 55 |
+
data_files:
|
| 56 |
+
- split: train
|
| 57 |
+
path: embeddings_metaclip-2-worldwide-s16-384/train-*
|
| 58 |
+
- config_name: embeddings_metaclip-2-worldwide-s16-384-eng-32768
|
| 59 |
+
data_files:
|
| 60 |
+
- split: train
|
| 61 |
+
path: embeddings_metaclip-2-worldwide-s16-384-eng-32768/train-*
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
# Unsplash Lite
|
| 65 |
+
|
| 66 |
+
[Unsplash Lite Dataset](https://unsplash.com/data).
|
| 67 |
+
This dataset contains:
|
| 68 |
+
- a subset `default` with about 25k images and related keywords when available. Keywords are eparated by `;` and note that we kept only those where the confident score indicated by Unsplash is higher than 90%
|
| 69 |
+
- a subset `embeddings_clip-ViT-B-32` which contains precomputed embeddings of the images via the [clip-ViT-B-32](https://huggingface.co/sentence-transformers/clip-ViT-B-32) model by OpenAI
|
| 70 |
+
- a subset `embeddings_metaclip-2-worldwide-s16-384` which contains precomputed embeddings of the images via the [metaclip-2-worldwide-s16-384](https://huggingface.co/facebook/metaclip-2-worldwide-s16-384) model by Meta
|
| 71 |
+
- a subset `embeddings_metaclip-2-worldwide-s16-384-eng-32768` which contains precomputed embeddings of the images via the [metaclip-2-worldwide-s16-384-eng-32768](https://huggingface.co/alphaedge-ai/metaclip-2-worldwide-s16-384-eng-32768) model by AlphaEdge
|
| 72 |
+
|
| 73 |
+
These three precomputed embeddings subsets are useful for tutorial notebooks in the [Sentence Transformers documentation](https://sbert.net/examples/sentence_transformer/applications/image-search/README.html) showing how to use the lib to perform [(multi-lingual) 0-shot image classification](https://github.com/huggingface/sentence-transformers/blob/main/examples/sentence_transformer/applications/image-search/Image_Classification.ipynb), [monolingual](https://github.com/huggingface/sentence-transformers/blob/main/examples/sentence_transformer/applications/image-search/Image_Search.ipynb)/[multilingual](https://github.com/huggingface/sentence-transformers/blob/main/examples/sentence_transformer/applications/image-search/image_search_multilingual.ipynb), [image clustering](https://github.com/huggingface/sentence-transformers/blob/main/examples/sentence_transformer/applications/image-search/Image_Clustering.ipynb) and [image de-duplication](https://github.com/huggingface/sentence-transformers/blob/main/examples/sentence_transformer/applications/image-search/Image_Duplicates.ipynb).
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
# License
|
| 77 |
+
|
| 78 |
+
https://unsplash.com/license
|
| 79 |
+
|
| 80 |
+
TL;DR:
|
| 81 |
+
Unsplash images are designed to be used freely, and our license reflects this.
|
| 82 |
+
- It is possible to download and use all the images for free
|
| 83 |
+
- For commercial and non-commercial purposes
|
| 84 |
+
- No permission required (an assignment will always be appreciated!)
|
| 85 |
+
|
| 86 |
+
What is not allowed 👎
|
| 87 |
+
- It is not allowed to sell the images without significant modification.
|
| 88 |
+
- Compiling images from Unsplash to replicate a similar or competing service.
|
| 89 |
+
|
| 90 |
+
Credit to [lbourdois](https://huggingface.co/lbourdois) for collecting and uploading this dataset.
|
data/embeddings_clip-ViT-B-32/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96cb6c228031d3d24988be493acc1f32e052ecfd44ef4e4ee2c8239a033d341b
|
| 3 |
+
size 66797740
|
data/embeddings_metaclip-2-worldwide-s16-384-eng-32768/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d763420a6be74efbdbad7b7549294aad6401216c6c9a3311c6211334c21a857
|
| 3 |
+
size 53998780
|
data/embeddings_metaclip-2-worldwide-s16-384/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd8e4517aa8e1294e86e8cea1f2977679b3513ec2d281c0977a37a12458b7430
|
| 3 |
+
size 53998486
|