Downloads · 30 days
8
3% of all-time downloads
transhumanist-already-exists/C2S-Scale-Gemma-2-27B-age-prediction-fullft
C2S-Scale-Gemma-2-27B-age-prediction-fullft is a text generation model from transhumanist-already-exists. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
This model is a fully fine-tuned version of vandijklab/C2S-Scale-Gemma-2-27B for predicting donor age from single-cell RNA-seq data.
Downloads · 30 days
8
3% of all-time downloads
All-time downloads
241
Public
Parameters
27.2B
54.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors54.5 GB · 100%
From the Hugging Face model README
This model is a fully fine-tuned version of vandijklab/C2S-Scale-Gemma-2-27B for predicting donor age from single-cell RNA-seq data.
The model was trained with Liger optimizations:
We compared the performance of the base model (before fine-tuning) against our fine-tuned model on the age prediction task:
| Model | Pearson Correlation | MAE (years) | RMSE (years) |
|---|---|---|---|
| Base Model (before fine-tuning) | -0.09 | 16.2 | 20.3 |
| Our Fine-tuned Model | 0.20 | 10.2 | 12.9 |
| Improvement | +0.29 | -6.0 | -7.4 |
The table below compares our model with other published age prediction models from scAgeClock (Xie et al., 2025):
| Model | Pearson r | MAE (years) | RMSE (years) | Reference |
|---|---|---|---|---|
| GMA (scAgeClock) | 0.78 | 10.7 | 13.5 | Xie, 2025 |
| XGBoost | 0.77 | 10.8 | 13.6 | Xie, 2025 |
| MLP | 0.75 | 11.1 | 13.8 | Xie, 2025 |
| CatBoost | 0.74 | 10.9 | 14.2 | Xie, 2025 |
| Elastic Net | 0.73 | 12.0 | 15.3 | Xie, 2025 |
| Our Model (C2S-Gemma) | 0.20 | 10.2 | 12.9 | This work |
Important Note: The published models were evaluated on different datasets than ours, making direct comparison not fully appropriate. However, this comparison provides useful context for understanding the general performance landscape of age prediction models:
Key Observations:

The training loss curve demonstrates consistent and steady improvement throughout the training process:
Important observation: The absence of a plateau in the training loss suggests that extending training duration would likely yield further improvements in model performance. The current results represent a snapshot of the model's capabilities, with potential for enhanced accuracy through additional training steps.
The model was trained using the following prompt structure with aging-related genes from the Open Genes database:
The following is a list of {num_genes} gene aging related gene names from Open Genes database ordered by descending expression level in a {organism} cell.
Sex: {sex}
Smoking status: {smoking_status}
Tissue: {tissue}
Cell type: {cell_type}
Aging related cell sentence: {gene_sentence_opengenes}
Predict the Age of the donor from whom these cells were taken.
Answer only with age value in years:
The following is a list of 1000 gene aging related gene names from Open Genes database ordered by descending expression level in a Homo sapiens cell.
Sex: female
Smoking status: non-smoker
Tissue: blood
Cell type: CD4+ T cell
Aging related cell sentence: FOXP3 IL2RA CTLA4 TNFRSF18 IKZF2 CCR4 IL32 TIGIT TNFRSF4 LAG3 CD3D CD3E IL7R LTB TRAC CD2 CD52 TRBC2 ...
Predict the Age of the donor from whom these cells were taken.
Answer only with age value in years:
45
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"transhumanist-already-exists/C2S-Scale-Gemma-2-27B-age-prediction-fullft",
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(
"transhumanist-already-exists/C2S-Scale-Gemma-2-27B-age-prediction-fullft",
trust_remote_code=True
)
# Example prompt
prompt = """The following is a list of 1000 gene aging related gene names from Open Genes database ordered by descending expression level in a Homo sapiens cell.
Sex: female
Smoking status: non-smoker
Tissue: blood
Cell type: CD4+ T cell
Aging related cell sentence: FOXP3 IL2RA CTLA4 TNFRSF18 IKZF2 CCR4 IL32 TIGIT TNFRSF4 LAG3 CD3D CD3E IL7R LTB TRAC CD2 CD52 TRBC2 ...
Predict the Age of the donor from whom these cells were taken.
Answer only with age value in years:"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=20, temperature=0.0)
predicted_age = tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True)
print(f"Predicted age: {predicted_age}")
The model was trained on single-cell RNA-seq data with aging-related gene signatures from the Open Genes database. The dataset includes:
This model is designed for:
If you use this model, please cite:
@misc{c2s-gemma2-27b-age,
title={C2S-Scale-Gemma-2-27B Age Prediction},
author={Transhumanist Research},
year={2025},
publisher={HuggingFace},
url={https://huggingface.co/transhumanist-already-exists/C2S-Scale-Gemma-2-27B-age-prediction-fullft}
}
Also cite the base Cell2Sentence model and Open Genes database.
scAgeClock (GMA): Xie, G. (2025). scAgeClock: a single-cell transcriptome based human aging clock model using gated multi-head attention neural networks. bioRxiv. https://doi.org/10.1101/2025.08.29.673183
XGBoost: Chen, T., & Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. KDD '16.
CatBoost: Prokhorenkova, L., et al. (2018). CatBoost: unbiased boosting with categorical features. NeurIPS.
MLP & Elastic Net: PyTorch implementations from scAgeClock framework
This model inherits the Gemma license from the base model.
This model was developed during the Evolved 2025 Hackathon.
We would like to thank the hackathon organizers and our GPU compute providers for making this work possible: