aduncan94 / EnhancAR

huggingface.co
Total runs: 90
24-hour runs: 4
7-day runs: -20
30-day runs: -141
Model's Last Updated: April 16 2026
text-generation

Introduction of EnhancAR

Model Details of EnhancAR

EnhancAR

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
  • License: MIT
Model Sources
Uses

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}.

For a full example, please see the Google Colab

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, AutoConfig

config = AutoConfig.from_pretrained("aduncan94/EnhancAR-Sorted", trust_remote_code=True)
config.use_mamba_kernels = False
model = AutoModelForCausalLM.from_pretrained("aduncan94/EnhancAR-Sorted", trust_remote_code=True, config=config).to("cuda")
tokenizer = AutoTokenizer.from_pretrained("aduncan94/EnhancAR-Sorted", trust_remote_code=True)

input_sequence = "{"
inputs = tokenizer(input_sequence, return_tensors="pt", return_token_type_ids=False, add_special_tokens=False)

outputs = generate_sequence(inputs, model, tokenizer)
output = tokenizer.batch_decode(outputs, skip_special_tokens=False)[0]

print(output)
Technical Specifications
Compute Infrastructure
  • The 170M-parameter model was trained on 8 MI300X GPUs
Citation

If you use the code, models, or results, please cite our preprint

Runs of aduncan94 EnhancAR on huggingface.co

90
Total runs
4
24-hour runs
-5
3-day runs
-20
7-day runs
-141
30-day runs

More Information About EnhancAR huggingface.co Model

More EnhancAR license Visit here:

https://choosealicense.com/licenses/mit

EnhancAR huggingface.co

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.

aduncan94 EnhancAR online free

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:

https://huggingface.co/aduncan94/EnhancAR

EnhancAR install

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.

EnhancAR install url in huggingface.co:

https://huggingface.co/aduncan94/EnhancAR

Url of EnhancAR

Provider of EnhancAR huggingface.co

aduncan94
ORGANIZATIONS

Other API from aduncan94