EnhancAR is an autoregressive generative model of enhancer homology families, trained on 233,158,475 enhancers extracted from 241 vertebrate genomes. By "unrolling" homology families (enhancer sequences are sorted into sets of homology sequences, and input data is sequences concatenated to each other with a separator token delimiting different sequences), EnhancAR learns to generate new sequences that conserve the function of prompt sequences. We demonstrate that this can be used to design new enhancers "by example", which is particularly useful when the function of enhancers is not known a priori.
Model Details
Developed by:
Kevin K. Yang, Alex J. Lee, Andrew G. Duncan, Micaela E Consens, Lorin Crawford, Jennifer A. Mitchell, and Alan M. Moses
Model type:
Hybrid state-space-model transformer architecture with mixture-of-experts
EnhancAR is a generative enhancer model that can be used for:
Unconditional generation of enhancer sequences
Conditional design of enhancer sequences from homologs
Getting Started with EnhancAR
Requirements
:
PyTorch: 2.7.1
CUDA: 12.8 and above
pip install transformers==4.48.2 huggingface_hub
Example generation
:
The following shows an example for generating an unconditional sequence. To generate a sequence conditionally, replace the input_sequence with a string of the form:
{homolog A/homolog B/.../homolog N}.
EnhancAR huggingface.co is an AI model on huggingface.co that provides EnhancAR's model effect (), which can be used instantly with this aduncan94 EnhancAR model. huggingface.co supports a free trial of the EnhancAR model, and also provides paid use of the EnhancAR. Support call EnhancAR model through api, including Node.js, Python, http.
EnhancAR huggingface.co is an online trial and call api platform, which integrates EnhancAR's modeling effects, including api services, and provides a free online trial of EnhancAR, you can try EnhancAR online for free by clicking the link below.
aduncan94 EnhancAR online free url in huggingface.co:
EnhancAR is an open source model from GitHub that offers a free installation service, and any user can find EnhancAR on GitHub to install. At the same time, huggingface.co provides the effect of EnhancAR install, users can directly use EnhancAR installed effect in huggingface.co for debugging and trial. It also supports api for free installation.