ecodash commited on
Commit
5b6fa6f
·
verified ·
1 Parent(s): 800ed8b

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
README.md CHANGED
@@ -1,3 +1,66 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Central Florida Native Plants Dataset
2
+
3
+ This dataset contains language embeddings for 232 native plant species from Central Florida.
4
+
5
+ ## Contents
6
+
7
+ - **embeddings/**: PyTorch tensor files (.pt) containing 5120-dimensional language embeddings
8
+ - **tokens/**: CSV files containing token mappings for each species
9
+ - **metadata.json**: Dataset metadata including model information
10
+
11
+ ## Model Information
12
+
13
+ - **Model**: DeepSeek-V3-0324-UD-Q4_K_XL (671B parameters, 4.5-bit quantized)
14
+ - **Embedding Dimension**: 5120
15
+ - **Prompt Template**: "Ecophysiology of {species_name}:"
16
+
17
+ ## Download Instructions
18
+
19
+ ### Prerequisites
20
+
21
+ 1. Install Google Cloud SDK: https://cloud.google.com/sdk/install
22
+ 2. Authenticate with Google Cloud:
23
+ ```bash
24
+ gcloud auth login
25
+ ```
26
+
27
+ ### Download Dataset
28
+
29
+ Run the download script:
30
+ ```bash
31
+ ./download_dataset.sh
32
+ ```
33
+
34
+ This will download:
35
+ - 232 embedding files (`.pt` format)
36
+ - 232 token mapping files (`.csv` format)
37
+ - Dataset metadata
38
+
39
+ ## File Format
40
+
41
+ ### Embeddings
42
+ Each `.pt` file contains a PyTorch tensor of shape `[5120]` representing the language embedding for one species. Files are named by GBIF taxon ID.
43
+
44
+ ### Token Mappings
45
+ Each `.csv` file contains the tokenization information with columns:
46
+ - `position`: Token position in sequence
47
+ - `token_id`: Token ID in model vocabulary
48
+ - `token`: Token string
49
+
50
+ ## Usage Example
51
+
52
+ ```python
53
+ import torch
54
+ import pandas as pd
55
+
56
+ # Load embedding
57
+ species_id = "2650927" # Example GBIF ID
58
+ embedding = torch.load(f"embeddings/{species_id}.pt")
59
+
60
+ # Load token mapping
61
+ tokens = pd.read_csv(f"tokens/{species_id}.csv")
62
+ ```
63
+
64
+ ## Citation
65
+
66
+ If you use this dataset, please cite the DeepEarth project and DeepSeek model.
download_dataset.sh ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Download script for Central Florida Native Plants dataset
3
+ # This script downloads language embeddings and token mappings from Google Cloud Storage
4
+
5
+ DATASET_NAME="central_florida_native_plants"
6
+ GCS_BUCKET="gs://deepearth"
7
+ GCS_PATH="${GCS_BUCKET}/encodings/language/taxa"
8
+ LOCAL_DIR="$(dirname "$0")"
9
+
10
+ echo "======================================"
11
+ echo "Central Florida Native Plants Dataset"
12
+ echo "======================================"
13
+ echo ""
14
+
15
+ # Check if gsutil is installed
16
+ if ! command -v gsutil &> /dev/null; then
17
+ echo "Error: gsutil is not installed."
18
+ echo "Please install Google Cloud SDK: https://cloud.google.com/sdk/install"
19
+ exit 1
20
+ fi
21
+
22
+ # Check authentication
23
+ echo "Checking Google Cloud authentication..."
24
+ if ! gsutil ls "$GCS_BUCKET" &> /dev/null; then
25
+ echo ""
26
+ echo "Authentication required. Please run:"
27
+ echo " gcloud auth login"
28
+ echo ""
29
+ echo "Then try this script again."
30
+ exit 1
31
+ fi
32
+
33
+ echo "Downloading ${DATASET_NAME} dataset..."
34
+ echo "Source: ${GCS_PATH}"
35
+ echo "Destination: ${LOCAL_DIR}"
36
+
37
+ # Create local directories
38
+ mkdir -p "${LOCAL_DIR}/embeddings"
39
+ mkdir -p "${LOCAL_DIR}/tokens"
40
+
41
+ # Download embeddings
42
+ echo ""
43
+ echo "Downloading embeddings (.pt files)..."
44
+ gsutil -m cp "${GCS_PATH}/embeddings/*.pt" "${LOCAL_DIR}/embeddings/"
45
+
46
+ # Download token mappings
47
+ echo ""
48
+ echo "Downloading token mappings (.csv files)..."
49
+ gsutil -m cp "${GCS_PATH}/tokens/*.csv" "${LOCAL_DIR}/tokens/"
50
+
51
+ # Download metadata
52
+ echo ""
53
+ echo "Downloading metadata..."
54
+ gsutil cp "${GCS_PATH}/metadata.json" "${LOCAL_DIR}/"
55
+
56
+ # Count downloaded files
57
+ echo ""
58
+ echo "Download complete!"
59
+ echo "Embeddings: $(ls -1 ${LOCAL_DIR}/embeddings/*.pt 2>/dev/null | wc -l) files"
60
+ echo "Token mappings: $(ls -1 ${LOCAL_DIR}/tokens/*.csv 2>/dev/null | wc -l) files"
61
+ echo ""
62
+ echo "Total size: $(du -sh ${LOCAL_DIR} | cut -f1)"
embeddings/2650927.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a58688888477e7da709460f1aafbf24ac6d1d1b764b3c1a4508e21e1d956b43b
3
+ size 604133
embeddings/2651707.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2778d24717baae053d18dbb5db77210c29a436eee619f1cc3cdac17a157c3d0
3
+ size 690213
embeddings/2684191.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:025f708ea6c8e9601d73cceb0b299e27bf8d394a8b45f8a9103b2b9746d53bc5
3
+ size 575461
embeddings/2684391.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d6c1464a0ef9defb47cec8f5bbf81e7b28586c4fae0048f5b7b125887019c3c
3
+ size 575461
embeddings/2701311.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae4df3936fd023182dd3c837af53daec849f9f831782e9ad2b76a6165067a8ad
3
+ size 604133
embeddings/2701817.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a94223152093ba37bdc8da69b071123848ed2410114b88465e31b05a586a251
3
+ size 604133
embeddings/2702847.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50e5e780ffa1c888f3f61076b6c73c532cac8baa0d8f5d065765fcbb53e7107d
3
+ size 575461
embeddings/2704016.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0868a8c43f4603978f914d0a4d673b315e30e0ef00c86f7509908080191109e4
3
+ size 604197
embeddings/2704421.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75d5cb5cb612866573d7e0875b3e1bcd654695449ff4a81a61acedaee512ef6
3
+ size 604133
embeddings/2704432.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8854027d40e8b96660013ada7a94687dd8a2ec8509d16d573d577a9e1ae7b432
3
+ size 604197
embeddings/2704776.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4b8506e17251fd2511d05e73c8d6b041646350ab9ff6a742dde2300953ae803
3
+ size 632805
embeddings/2705081.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ff47728f540f89c6728f14584322f7679f584e4fe5100fbc0928ec0fb34c7cb
3
+ size 575461
embeddings/2705089.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb8560b06c70aaa0393998aaad801b40993b64934c179f4ce9003ef0dc1a40ab
3
+ size 546789
embeddings/2705124.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb2fea4bd5e68e0c26e021d964dca3a7c7b9fe67d48cf33cdcb0595de8fbaf34
3
+ size 575461
embeddings/2705344.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c95c879344871eca4ac403361600f50e28419676f73829b8afcef641db40c837
3
+ size 661477
embeddings/2705413.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfb0d98efde5e7431d864e5135690709ac36e540a10031be21c6a48d1ced6261
3
+ size 632805
embeddings/2705536.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f45f373808c563202002dd94dbd93523289d48253d15bf18f18c77897b9b2a53
3
+ size 661477
embeddings/2706080.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3736ecc5585ab8821af29c01fbd2b2bfe9e2acee17a2995388e8c29fc69a1520
3
+ size 575461
embeddings/2706082.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acf86dcb3171a44ac66fb41e3dfe97d9eeef73f024887a1fa16ab1313aef57cc
3
+ size 575461
embeddings/2706097.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc5cdc7fe6305d9ee2a1d2c8020c3d5042ec5e007fcbbfee510d1a2b5641be02
3
+ size 575461
embeddings/2706113.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40981fa2a4cff1fd2e922a5f9396282cad8d0d733b27f04539fada0ebeadd77e
3
+ size 661541
embeddings/2706263.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d38ee4ef71bdd6f0f76e4d0e3c4521e7e36c14fd5a77f61c3159fd76af75f4d1
3
+ size 546789
embeddings/2711157.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09abcb54e167e80ebe05dbfce31e83fe0f0f8c632ba69b668d5a0ced84a46a3a
3
+ size 690213
embeddings/2716972.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a87fc99032182b9d051e9511532f473301935d13d6bd0ceb6a74cb194f0b1a3b
3
+ size 632869
embeddings/2717763.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c0e099b0d7288342907fca26d29803d02020912a0df56bb7094d9cbc5f41fc
3
+ size 575461
embeddings/2721618.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fedb22d62ae38248459e9632a89ef410e0e94f5530a069d978a93195e010be5
3
+ size 604133
embeddings/2732511.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4194bf060e0cf50eff93607285c6e28293f2898dc87a4e0cad5915646b22bb24
3
+ size 547041
embeddings/2732552.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:289021bb4bc3a319c4d935f62f99200433ad21c3706d39113594d7b9b02d720a
3
+ size 546789
embeddings/2735055.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe7f68cf8676b3db3beac42f698e588aa5484e6473d5756cb056ace3ada3c1f6
3
+ size 575461
embeddings/2765175.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b43c75ebd998fce0af72411a7cf4427654604d2fa25bcd6b690fb7992adf386
3
+ size 632805
embeddings/2766030.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4247411c0b3dee5b295adbd4fdf2c65d5e50c31c701f6e805c06fc99b62e69d2
3
+ size 575461
embeddings/2775561.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c46832855a408c3d0da42767ef40737a2d9fe4551afcbfc107a11194f88f9e58
3
+ size 546789
embeddings/2775744.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b693b02eef77cc65cd7d299912d31506dbffc0876ce0eeaa933725f1af3776dd
3
+ size 575461
embeddings/2776991.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f138e88781ef78bce8b980a48cb2a87a2c590a51f14d82f9e1590824c5243ea4
3
+ size 575461
embeddings/2874173.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:546353b46bdddb2b6536261d87c43e48b70b2d127a1c8aa34b70b6b8143462d9
3
+ size 575461
embeddings/2874218.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30a7651f56a1c505b875add9b1e8823dbdf94d4734e68c9fc8c78c0a9f687c68
3
+ size 546789
embeddings/2877708.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:588abf3a5102c216a100179eaed8f3795f3705f7bb9952793cc960566c770d8e
3
+ size 604133
embeddings/2878060.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2243e5896da99a3b9df006595dc067da0f3c118dc2f9705296cff8e1e520d94
3
+ size 575461
embeddings/2878092.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c59a216a2aac22c64265c4157de1adbbc976c442cfeba6649cd05132750fd9a3
3
+ size 575461
embeddings/2878192.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45d109d46ab50797e263ae0f9e63bba232ba28e359e079fcdc522051f79444a3
3
+ size 604133
embeddings/2878250.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54a6cb2bdc79fdadebd9b591bb861bb1d5c20febee3038c395d4d25ceb403008
3
+ size 604133
embeddings/2878545.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48a9011d5b7165104754aebc7593c65072c04255299a6d95b7d00262613b30d3
3
+ size 604133
embeddings/2878626.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0b5916a4d1439150a4e42278eb3a39610c1464dbe6a521dc077af7f4a80eb9d
3
+ size 604133
embeddings/2879328.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c46415d310834239f53ca7debd1761c19d91f53b30192750bfdfbad7f94e9d5
3
+ size 575461
embeddings/2879533.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c4973a90fe8b02e09d10162627ecad441ade1a36b588935303903d8b9f2daf7
3
+ size 604133
embeddings/2880652.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11f0f66f76d8171dccd504bdf03010cae4842d5687e74341be0dc55d5d904933
3
+ size 604133
embeddings/2880834.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fff99a8646c8fa85abf27cd43cdb04c97ea0a087ea24b0e53cdb6fc7e8445de
3
+ size 604133
embeddings/2882722.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8841c545486c4534359a264d955e09630198e8b0a040656912a3eec48e3295d5
3
+ size 604133