egrace479 vimar commited on
Commit
9f67079
·
verified ·
1 Parent(s): 7cab5ab

adding text embeddings (#4)

Browse files

- adding text embeddings (fe96686b5b050f97bbed1db4e95c97b8f4400521)
- Add text embeddings description (b0683642b891a49dec23edfa20a3f3842e33f7dc)
- delete extraneous file (86efd00f400d065164d362206d857a0d2cfb6c04)
- clarify embedding description (b1f3258fc0a7ae645f44328e473afdfb6e3b1d7b)


Co-authored-by: Jianyang Gu <[email protected]>

.gitattributes CHANGED
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
  dataset/metadata/eol_metadata/taxon.tab filter=lfs diff=lfs merge=lfs -text
61
  dataset/metadata/eol_metadata/media_manifest.csv filter=lfs diff=lfs merge=lfs -text
 
 
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
  dataset/metadata/eol_metadata/taxon.tab filter=lfs diff=lfs merge=lfs -text
61
  dataset/metadata/eol_metadata/media_manifest.csv filter=lfs diff=lfs merge=lfs -text
62
+ embeddings/txt_emb_species.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -52,9 +52,12 @@ Image Classification, Zero-shot and few-shot Classification.
52
 
53
  ## Dataset Contents
54
 
55
- ```​
56
  /dataset/
57
  catalog.parquet
 
 
 
58
  metadata/
59
  Darwin-finches.csv
60
  eol_metadata/
@@ -69,6 +72,9 @@ Image Classification, Zero-shot and few-shot Classification.
69
  source=gbif/
70
  ```
71
 
 
 
 
72
  To avoid republishing existing datasets or interfering with original data source providers' ability to track use of their data, we provide all metadata here with step-by-step reproduction instructions in the [GitHub repository](https://github.com/Imageomics/TreeOfLife-toolbox/tree/main/docs#treeoflife200m-dataset-download-guide) to download the images and recreate the proper webdataset structure. This process will produce a collection of files named `shard-######.tar` in a `train` folder with which to work.
73
 
74
  Inside each shard is a collection of images (named `<uuid>.jpg`), for which each has the following files:
 
52
 
53
  ## Dataset Contents
54
 
55
+ ```
56
  /dataset/
57
  catalog.parquet
58
+ embeddings/
59
+ txt_emb_species.json
60
+ txt_emb_species.npy
61
  metadata/
62
  Darwin-finches.csv
63
  eol_metadata/
 
72
  source=gbif/
73
  ```
74
 
75
+ The `embeddings/` directory contains the [BioCLIP 2](https://huggingface.co/imageomics/bioclip-2) text embeddings for all 190,988,120 images with full taxonomic labels in the TreeOfLife-200M dataset.
76
+
77
+
78
  To avoid republishing existing datasets or interfering with original data source providers' ability to track use of their data, we provide all metadata here with step-by-step reproduction instructions in the [GitHub repository](https://github.com/Imageomics/TreeOfLife-toolbox/tree/main/docs#treeoflife200m-dataset-download-guide) to download the images and recreate the proper webdataset structure. This process will produce a collection of files named `shard-######.tar` in a `train` folder with which to work.
79
 
80
  Inside each shard is a collection of images (named `<uuid>.jpg`), for which each has the following files:
embeddings/txt_emb_species.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cf6fdd07c7642f7a2f06f7cf7f1c85754a310e8b69edf8e4399c0f91c495fc4
3
+ size 115573913
embeddings/txt_emb_species.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b64953c13d35cab0339249b73de09e7062128e617f3a965627b34b8f45a3707f
3
+ size 2493398144