/ Модель

Характеристики

Параметры
8,6 млрд
Размер весов
12,9 ГБ
Лицензия
Apache 2.0
Архитектура
stripedhyena · dense
Опубликована
20 фев 2024

evo-1-131k-base

Генерация текстаТекст → текст3 профессии

Биологическая модель Together AI для анализа и генерации длинных генетических последовательностей вплоть до масштаба генома.

695скачиваний за 30 дней116лайковвеса обновлены18 ноя 2024

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Evo-1-131k-base — биологическая фундаментальная модель, разработанная Together AI для моделирования и генерации генетических последовательностей. Она предназначена для анализа на уровне отдельных нуклеотидов и задач масштаба целого генома.

Модель использует гибридную архитектуру StripedHyena с многоголовочным вниманием и управляемыми свёртками. В карточке указаны 8,6 млрд параметров; модель обучена на данных OpenGenome и имеет контекстное окно 131 072 токена. В README также описана генерация последовательностей длиной более 650 тысяч символов.

Evo-1-131k-base построена на базе Evo-1-8k-base и обучалась для работы с длинным контекстом. Для запуска требуются пользовательские ядра StripedHyena; README сообщает об исправленной ревизии 1.1_fix, поскольку прежняя перестановка некоторых проекций снижала качество генерации. Весы распространяются по лицензии Apache-2.0.

Сценарии применения

  • генерация длинных последовательностей ДНК
  • моделирование геномных последовательностей
  • анализ закономерностей в геномах прокариот
  • продолжение генетической последовательности с длинным контекстом

Ограничения

Для запуска требуются пользовательские ядра StripedHyena. Для корректного качества генерации README рекомендует использовать ревизию 1.1_fix.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Evo-1 (Phase 2)

News

We identified and fixed an issue related to a wrong permutation of some projections, which affects generation quality. To use the new model revision, please load as follows:

config = AutoConfig.from_pretrained(model_name, trust_remote_code=True, revision="1.1_fix")
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    config=config,
    trust_remote_code=True,
    revision="1.1_fix"
)

About

Evo is a biological foundation model capable of long-context modeling and design.

Evo uses the StripedHyena architecture to enable modeling of sequences at a single-nucleotide, byte-level resolution with near-linear scaling of compute and memory relative to context length. Evo has 7 billion parameters and is trained on OpenGenome, a prokaryotic whole-genome dataset containing ~300 billion tokens.

We describe Evo in the paper “Sequence modeling and design from molecular to genome scale with Evo”.

As part of our commitment to open science, we release weights of 15 intermediate pretraining checkpoints for phase 1 and phase 2 of pretraining. The checkpoints are available as branches of the corresponding HuggingFace repository.

Evo-1 (Phase 2) is our longer context model in the Evo family, trained at a context length of 131k and tested on generation of sequences of length >650k

We provide the following model checkpoints:

Checkpoint NameDescription
evo-1-8k-baseA model pretrained with 8,192 context. We use this model as the base model for molecular-scale finetuning tasks.
evo-1-131k-baseA model pretrained with 131,072 context using evo-1-8k-base as the base model. We use this model to reason about and generate sequences at the genome scale.
evo-1-8k-crisprA model finetuned using evo-1-8k-base as the base model to generate CRISPR-Cas systems.
evo-1-8k-transposonA model finetuned using evo-1-8k-base as the base model to generate IS200/IS605 transposons.

Model Architecture

StripedHyena is a deep signal processing, hybrid architecture composed of multi-head attention and gated convolutions arranged in Hyena blocks, improving over decoder-only Transformers.

StripedHyena is designed to leverage the specialization of each of its layer classes, with Hyena layers implementing the bulk of the computation required for sequence processing and attention layers supplementing the ability to perform targeted pattern recall.

Some highlights of the architecture:

  • Efficient autoregressive generation via a recurrent mode (>500k generation with a single 80GB GPU)
  • Significantly faster training and finetuning at long context (>3x at 131k)
  • Improved scaling laws over state-of-the-art architectures (e.g., Transformer++) on both natural language and biological sequences.
  • Robust to training beyond the compute-optimal frontier e.g., training way beyond Chinchilla-optimal token amounts (see preprint for details -- more details to come)

How to use Evo

Example usage is provided in the standalone repo.

Parametrization for Inference and Finetuning

One of the advantages of deep signal processing models is their flexibility. Different parametrizations of convolutions can be used depending on the memory, expressivity and causality requirements of pretraining, finetuning or inference workloads.

The main classes are:

StripedHyena is a mixed precision model. Make sure to keep your poles and residues in float32 precision, especially for longer prompts or training.

Disclaimer

To use StripedHyena, you will need to install custom kernels. Please follow the instructions from the standalone repository.

Cite

@article{nguyen2024sequence,
   author = {Eric Nguyen and Michael Poli and Matthew G. Durrant and Brian Kang and Dhruva Katrekar and David B. Li and Liam J. Bartie and Armin W. Thomas and Samuel H. King and Garyk Brixi and Jeremy Sullivan and Madelena Y. Ng and Ashley Lewis and Aaron Lou and Stefano Ermon and Stephen A. Baccus and Tina Hernandez-Boussard and Christopher Ré and Patrick D. Hsu and Brian L. Hie },
   title = {Sequence modeling and design from molecular to genome scale with Evo},
   journal = {Science},
   volume = {386},
   number = {6723},
   pages = {eado9336},
   year = {2024},
   doi = {10.1126/science.ado9336},
   URL = {https://www.science.org/doi/abs/10.1126/science.ado9336},

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
StripedHyenaModelForCausalLM
Ревизия весов
78c715a

0 моделей