Downloads · 30 days
13
12% of all-time downloads
EabhaSeq/cfdna-gen
cfdna-gen is a text generation model from EabhaSeq. Use it when you need the model to write or continue text. It is set up for cfdna-gen. The card lists the license as other.
Conditional Causal Transformer for Cell-Free DNA Sequence Generation
Downloads · 30 days
13
12% of all-time downloads
All-time downloads
108
Public
Parameters
132M
530 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors530 MB · 100%
From the Hugging Face model README
Conditional Causal Transformer for Cell-Free DNA Sequence Generation
A 120M parameter transformer model that generates realistic synthetic cell-free DNA (cfDNA) sequences for NIPT simulation, benchmark development, and genomics research.
cfDNA-Gen is trained on real cell-free DNA data and generates synthetic sequences with controllable properties:
The model captures realistic patterns found in cfDNA including:
from cfdna_gen import CfDNAGenerator
# Load model
generator = CfDNAGenerator.from_pretrained("EabhaSeq/cfdna-gen")
# Generate sequences
sequences = generator.generate(
n_sequences=100,
fragment_lengths=165,
target_gc=0.42,
target_ff=0.10,
)
for seq in sequences[:5]:
print(seq)
pip install cfdna-gen[hub]
| Metric | Score |
|---|---|
| Overall Similarity | 92.9% |
| Fragment Length Match | 98.4% |
| GC Content Match | 93.3% |
| Nucleotide Frequency | 99.0% |
| Bimodal Peaks Detection | 100% |
| Nucleosome Periodicity | 100% |
@software{cfdna_gen,
title={cfDNA-Gen: Conditional Causal Transformer for cfDNA Sequence Generation},
author={Redelinghuys, Kyle},
year={2025},
url={https://github.com/eabhaseq/cfdna-gen}
}
This model is dual-licensed:
See the LICENSE file for full terms.