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

update embeddings to include species with empty intermediate levels (#11)

Browse files

- update embeddings to include species with empty intermediate levels (fe486eed6b6831df351396b25d2efb7d0542ba16)
- Update null value filtering approach (9ca9539b8a562ef2ebfa54b202f7fc6e0a53eb66)


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

embeddings/README.md CHANGED
@@ -5,7 +5,7 @@
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`, `phylum`, `class`, `order`, `family`, `genus`, 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
 
 
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
 
embeddings/txt_emb_species.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0891ca519a72cb310f966094ae4290277b12b98595fd9fb179c0a6623282285
3
- size 79255292
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db3823284ba6663860f2c86e2cea6ab5592cce44ec31601981a8c64a708d47fd
3
+ size 84688926
embeddings/txt_emb_species.npy CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8d4fd62e156e773d64e1dced9d39a1a935a93f41fb8c4a01f5e85242701c9b71
3
- size 2493398144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1524804eb332b59f0b52457fb88c5f5a6bfff28c515d774023fdcc5335aa4ca3
3
+ size 2664821888