Commit
·
cfba7af
1
Parent(s):
999481b
Update embeddings generated by reproducible script and simplified template
Browse files
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
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
size 2664821888
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c72442de7b0cb7fcb55ab7ca08099d0f42fbd6769efe16ca64c1daa7a8b87db2
|
| 3 |
size 2664821888
|