thompsonmj commited on
Commit
41f7bd6
·
verified ·
1 Parent(s): 999481b

Update embeddings JSON using reproducible script (#12)

Browse files

- Update embeddings generated by reproducible script and simplified template (cfba7afca53f61b586f92068255f198e89208a4c)

embeddings/README.md CHANGED
@@ -4,10 +4,10 @@
4
 
5
  ## Taxonomic JSON Construction
6
 
7
- The `JSON` was created from the [TreeOfLife-200M catalog](../catalog.parquet) through the following process:
8
  * **Null Value Filtering:** Remove records where `kingdom` or `species` are `null`.
9
  * **Deduplication:** Rows are deduplicated based on the combination of `kingdom`, `phylum`, `class`, `order`, `family`, `genus`, and `species`. This ensures that each unique taxonomic combination appears exactly once.
10
- * **Common Name Handling:** Currently, the source metadata often contains multiple common names for a single unique taxonomic combination. During processing, **the first common name encountered** for a given unique taxonomic combination is retained. We plan future improvements to establish a definitive 1-to-1 mapping or a more comprehensive common name strategy.
11
 
12
  ### Structure
13
 
 
4
 
5
  ## Taxonomic JSON Construction
6
 
7
+ The `JSON` was created from the [TreeOfLife-200M catalog](../catalog.parquet) and [`VernacularName.tsv` component of the GBIF Backbone Taxonomy](https://doi.org/10.15468/39omei) using [`make_txt_embedding_json.py`](https://github.com/Imageomics/TreeOfLife-toolbox/blob/main/processing/scripts/make_txt_embedding_json.py) through the following process:
8
  * **Null Value Filtering:** Remove records where `kingdom` or `species` are `null`.
9
  * **Deduplication:** Rows are deduplicated based on the combination of `kingdom`, `phylum`, `class`, `order`, `family`, `genus`, and `species`. This ensures that each unique taxonomic combination appears exactly once.
10
+ * **Common Name Handling:** Currently, the catalog metadata often contains multiple common names for a single unique taxonomic combination. During processing, **the first English common name encountered** for a given unique taxonomic combination is retained. If English is not available, the first option of any language is used. We plan future improvements to establish a definitive 1-to-1 mapping or a more comprehensive common name strategy.
11
 
12
  ### Structure
13
 
embeddings/txt_emb_species.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:db3823284ba6663860f2c86e2cea6ab5592cce44ec31601981a8c64a708d47fd
3
- size 84688926
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4648928b006f85d83d28e5a27074ca9363465d82e778d708b369c5eaf54b8ef5
3
+ size 91586174
embeddings/txt_emb_species.npy CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1524804eb332b59f0b52457fb88c5f5a6bfff28c515d774023fdcc5335aa4ca3
3
  size 2664821888
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c72442de7b0cb7fcb55ab7ca08099d0f42fbd6769efe16ca64c1daa7a8b87db2
3
  size 2664821888