Run this model with HF Jobs
Run omicseye/seqLens_8192_512_30M on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/omicseye/seqLens_8192_512_30M. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/omicseye/seqLens_8192_512_30M on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use omicseye/seqLens_8192_512_30M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use omicseye/seqLens_8192_512_30M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="omicseye/seqLens_8192_512_30M")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("omicseye/seqLens_8192_512_30M") model = AutoModelForMaskedLM.from_pretrained("omicseye/seqLens_8192_512_30M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Introduction
The seqLens models are a collection of genomic language models. seqLens models leverage an extensive dataset of 19,551 reference genomes, including over 18,000 prokaryotic genomes (115B nucleotides), alongside a more balanced dataset of 1,354 genomes spanning 1,166 prokaryotic and 188 eukaryotic reference genomes (180B nucleotides). Through systematic evaluation of 52 DNA language models with varying architectures, hyperparameters, and classification heads, we developed seqLens, a family of models based on disentangled attention with relative positional encoding. These models demonstrate superior performance, outperforming state-of-the-art methods in phenotypic predictions. The seqLens models provide a robust foundation for optimizing DNA language models and advancing genome annotations across diverse biological contexts.
Developed by: omicseye
Model type: Encoder
Language(s) (NLP): DNA
pretraining dataset: omicseye/prok_heavy
License: The model is made available under the [CC-BY-NC 4.0 License]. For inquiries about commercial licensing, please contact rahnavard@gwu.edu.
Model Sources
- Repository: https://github.com/omicsEye/seqLens
- Paper: https://doi.org/10.1101/2025.03.12.642848
How to Get Started with the Model
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("omicseye/seqLens_8192_512_30M")
model = AutoModelForMaskedLM.from_pretrained("omicseye/seqLens_8192_512_30M")
Citation
@article {seqLens,
author = {Baghbanzadeh, Mahdi and Mann, Brendan and Crandall, Keith A and Rahnavard, Ali},
title = {seqLens: optimizing language models for genomic predictions},
elocation-id = {2025.03.12.642848},
year = {2025},
doi = {10.1101/2025.03.12.642848},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2025/03/14/2025.03.12.642848},
eprint = {https://www.biorxiv.org/content/early/2025/03/14/2025.03.12.642848.full.pdf},
journal = {bioRxiv}
}
- Downloads last month
- 10