Dataset Viewer
Auto-converted to Parquet
taxon_id
stringclasses
232 values
species_name
stringclasses
232 values
timestamp
stringdate
2025-06-22 19:47:21
2025-06-22 20:17:07
token_position
int64
0
22
token_id
int64
0
127k
token_str
stringclasses
691 values
is_species_token
bool
2 classes
token_embedding
sequencelengths
7.17k
7.17k
species_mean_embedding
sequencelengths
7.17k
7.17k
all_tokens_mean_embedding
sequencelengths
7.17k
7.17k
num_tokens
int64
17
23
num_species_tokens
int64
3
9
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
0
0
nan
false
[-0.10535802692174911,0.08859444409608841,0.16232798993587494,-0.5053508281707764,0.1994785070419311(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
1
30
<
false
[-0.35436171293258667,0.09333660453557968,0.7267994284629822,-0.08728799223899841,-0.241443574428558(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
2
28,217
false
[0.06512296944856644,-0.04293491691350937,-0.41660255193710327,-0.3333204984664917,0.051320090889930(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
3
6,756
User
false
[-0.4885275661945343,-0.11909408122301102,0.4588749408721924,-0.3420475423336029,-0.1457143127918243(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
4
28,217
false
[-0.1015775129199028,-0.11912834644317627,0.19721177220344543,-0.3952507972717285,-0.085100561380386(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
5
32
>
false
[-0.43381351232528687,-0.09592822194099426,0.2426948845386505,-0.7152818441390991,0.0495574697852134(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
6
64,023
Ec
false
[-0.482455313205719,0.0020104595459997654,-0.0629429966211319,-0.5937959551811218,0.0580466128885746(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
7
70,053
ophysiology
false
[-0.278690367937088,0.2249414175748825,-0.137000173330307,-0.658737063407898,0.026216275990009308,0.(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
8
294
of
false
[-0.8463259339332581,-0.35802486538887024,0.15770253539085388,-0.4453234076499939,0.1785531640052795(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
2650927
Nephrolepis exaltata
2025-06-22T19:47:21.872173
9
77,299
Neph
true
[-0.285521924495697,-0.16244107484817505,0.08306793868541718,-0.5134513974189758,-0.3318581879138946(...TRUNCATED)
[-0.14116857945919037,-0.2229055017232895,-0.02291993983089924,-0.3359035551548004,-0.02043550834059(...TRUNCATED)
[-0.2500545382499695,-0.10093457996845245,0.024098439142107964,-0.5004387497901917,0.018393613398075(...TRUNCATED)
20
6
End of preview. Expand in Data Studio

Central Florida Native Plants Language Embeddings

This dataset contains language embeddings for 232 native plant species from Central Florida, extracted using the DeepSeek-V3 language model.

Dataset Summary

This dataset provides pre-computed language embeddings for Central Florida plant species. Each species has been encoded using the prompt "Ecophysiology of {species_name}:" to capture semantic information about the plant's ecological characteristics.

Dataset Structure

Data Instances

Each species is represented by:

  • A PyTorch file (.pt) containing a dictionary with embeddings and metadata
  • A CSV file containing the token mappings

Embedding File Structure

Each .pt file contains a dictionary with:

  • mean_embedding: Tensor of shape [7168] - mean-pooled embedding across all tokens (including prompt)
  • token_embeddings: Tensor of shape [num_tokens, 7168] - individual token embeddings
  • species_name: String - the species name
  • taxon_id: String - GBIF taxon ID
  • num_tokens: Integer - number of tokens (typically 18-20)
  • embedding_stats: Dictionary with embedding statistics
  • timestamp: String - when the embedding was created

Dataset Viewer Structure

The Parquet files in the dataset viewer contain:

  • taxon_id: GBIF taxonomic identifier
  • species_name: Scientific name of the plant species
  • timestamp: When the embedding was created
  • token_position: Position of token in sequence
  • token_id: Token ID in model vocabulary
  • token_str: String representation of token
  • is_species_token: Whether this token is part of the species name
  • token_embedding: 7168-dimensional embedding vector for this specific token
  • species_mean_embedding: 7168-dimensional mean embedding of species name tokens only
  • all_tokens_mean_embedding: 7168-dimensional mean embedding across all tokens (including prompt)
  • num_tokens: Total number of tokens for this species
  • num_species_tokens: Number of tokens that are part of the species name

Token Mapping Structure

Token mapping CSV files contain:

  • position: Token position in sequence
  • token_id: Token ID in model vocabulary
  • token: Token string representation

Data Splits

This dataset contains a single split with embeddings for all 232 species.

Important Note on Embeddings

This dataset provides two types of mean embeddings:

  1. species_mean_embedding (in dataset viewer): The mean embedding calculated from ONLY the tokens that represent the species name itself. This provides a more focused representation of the species.

  2. all_tokens_mean_embedding or mean_embedding (in .pt files): The mean embedding calculated from ALL tokens in the prompt, including "Ecophysiology of", the species name, and the ":" token. This is the original embedding as extracted from the model.

For most use cases, species_mean_embedding is recommended as it captures the semantic representation of the species name without the influence of the prompt template.

Dataset Creation

Model Information

  • Model: DeepSeek-V3-0324-UD-Q4_K_XL
  • Parameters: 671B (4.5-bit quantized GGUF format)
  • Embedding Dimension: 7168
  • Context: 2048 tokens
  • Prompt Template: "Ecophysiology of {species_name}:"

Source Data

Species names are based on GBIF (Global Biodiversity Information Facility) taxonomy for plants native to Central Florida.

Usage

Loading Embeddings

import torch
import pandas as pd
from huggingface_hub import hf_hub_download

# Download a specific embedding
repo_id = "deepearth/central_florida_native_plants"
species_id = "2650927"  # Example GBIF ID

# Download embedding file
embedding_path = hf_hub_download(
    repo_id=repo_id,
    filename=f"embeddings/{species_id}.pt",
    repo_type="dataset"
)

# Load embedding dictionary
data = torch.load(embedding_path)

# Access embeddings
mean_embedding = data['mean_embedding']  # Shape: [7168] - mean of all tokens
token_embeddings = data['token_embeddings']  # Shape: [num_tokens, 7168]
species_name = data['species_name']

print(f"Species: {species_name}")
print(f"Mean embedding shape: {mean_embedding.shape}")
print(f"Token embeddings shape: {token_embeddings.shape}")

# For species-only mean embedding, use the dataset viewer or compute from species tokens
# The dataset viewer provides 'species_mean_embedding' which is the mean of only
# the tokens that are part of the species name (excluding prompt tokens)

# Download and load token mapping
token_path = hf_hub_download(
    repo_id=repo_id,
    filename=f"tokens/{species_id}.csv",
    repo_type="dataset"
)
tokens = pd.read_csv(token_path)

Batch Download

from huggingface_hub import snapshot_download

# Download entire dataset
local_dir = snapshot_download(
    repo_id="deepearth/central_florida_native_plants",
    repo_type="dataset",
    local_dir="./florida_plants"
)

Additional Information

Dataset Curators

This dataset was created by the DeepEarth Project to enable machine learning research on biodiversity and ecology.

Licensing Information

This dataset is licensed under the MIT License.

Citation Information

@dataset{deepearth_florida_plants_2025,
  title={Central Florida Native Plants Language Embeddings},
  author={DeepEarth Project},
  year={2025},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/deepearth/central_florida_native_plants}}
}

Contributions

Thanks to @legel for creating this dataset.

Downloads last month
31