Bidirectional neural network checkpoints linking marine environmental variables to microalgal protein domain (Pfam) abundance profiles from the TARA Oceans metagenomic dataset.
Model Description
ELF-NET consists of two complementary prediction directions:
env2pfam (Environment → Pfam Abundance)
Predicts the abundance of thousands of Pfam protein domains at a marine sampling site given 94 environmental features (30 oceanographic/atmospheric variables + 64 AlphaEarth spectral eigenvectors).
R² is the mean across all output Pfam dimensions. The modest R² values reflect the high dimensionality of the output space (17K–20K Pfam domains) and the inherent stochasticity of metagenomic sampling.
pfam2env (Pfam → Environment)
Variant
Input Dim
LR
Test R²
Test MSE
Test MAE
full
9,611
1e-3
-0.0057
0.00931
0.0724
light
9,611
1e-3
-0.0055
0.00931
0.0724
Negative R² indicates performance near the mean-prediction baseline. These checkpoints document the pfam→env direction of the bidirectional framework and are included for completeness and reproducibility.
Input Features (env2pfam)
30 environmental variables:
Air temperature (mean, max, min, range °C)
Precipitation (mean mm)
Solar radiation (MJ/m²)
Elevation (m), bathymetry (m), distance to coast (km)
Land cover class
Sea surface temperature (SST mean, max, min, range °C; MODIS SST mean)
Both used SNAP gene prediction followed by hmmsearch against the Pfam database. The different extraction strategies yield different protein sets and domain profiles from the same underlying metagenomes.
Training Details
Framework
: PyTorch
Loss
: MSE
Optimizer
: Adam (weight_decay=1e-4 for pfam2env)
Scheduler
: Cosine annealing (pfam2env)
Early stopping
: Patience 20 (env2pfam) / 30 (pfam2env)
Batch size
: 32
Max epochs
: 200
Seed
: 42
Hardware
: CUDA GPU
Usage
import torch
import json
# Load model configwithopen("env2pfam/pythia_full/config.json") as f:
config = json.load(f)
# Load checkpoint
checkpoint = torch.load(
"env2pfam/pythia_full/best_model.pt",
map_location="cpu",
weights_only=False
)
state_dict = checkpoint["model_state_dict"]
# Reconstruct model (requires the ELF-NET model class)# model.load_state_dict(state_dict)
Citation
If you use these checkpoints, please cite the associated manuscript (citation forthcoming).
License
Apache 2.0
Runs of GreenGenomicsLab TARA-ELF-NET on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About TARA-ELF-NET huggingface.co Model
TARA-ELF-NET huggingface.co is an AI model on huggingface.co that provides TARA-ELF-NET's model effect (), which can be used instantly with this GreenGenomicsLab TARA-ELF-NET model. huggingface.co supports a free trial of the TARA-ELF-NET model, and also provides paid use of the TARA-ELF-NET. Support call TARA-ELF-NET model through api, including Node.js, Python, http.
TARA-ELF-NET huggingface.co is an online trial and call api platform, which integrates TARA-ELF-NET's modeling effects, including api services, and provides a free online trial of TARA-ELF-NET, you can try TARA-ELF-NET online for free by clicking the link below.
GreenGenomicsLab TARA-ELF-NET online free url in huggingface.co:
TARA-ELF-NET is an open source model from GitHub that offers a free installation service, and any user can find TARA-ELF-NET on GitHub to install. At the same time, huggingface.co provides the effect of TARA-ELF-NET install, users can directly use TARA-ELF-NET installed effect in huggingface.co for debugging and trial. It also supports api for free installation.