/ Модель

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

Контекст
1 024 токена
Параметры
26,3 млн
Лицензия
CC BY-NC 4.0
Архитектура
prokbert · dense
Опубликована
31 янв 2024

prokbert-mini-promoter

Заполнение пропусковТекст → текст3 профессии

Дообученная ProkBERT-mini для классификации последовательностей ДНК как промоторных или непромоторных.

746скачиваний за 30 дней0лайковвеса обновлены9 янв 2025

Бенчмарки

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

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

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

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

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

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

ProkBERT-mini-promoter — модель Neural Bioinformatics Research Group для бинарной классификации последовательностей ДНК на промоторы и неп promotоры. Это дообученная версия ProkBERT-mini с архитектурой ProkBertForSequenceClassification; при классификации она объединяет информацию по нуклеотидам с помощью pooling-слоя. В репозитории указаны 26,3 млн параметров и контекст до 1024 токенов; для описанного сценария ожидаются последовательности длиной 80 пар оснований, а токенизатор использует 6-меры со сдвигом 1.

Модель предназначена для анализа геномных последовательностей, в частности для поиска промоторных участков. Карточка приводит результаты оценки на наборах промоторов E. coli Sigma70 и разнообразном тестовом наборе, но качество в других геномных контекстах не гарантируется и требует отдельной проверки. Лицензия CC BY-NC 4.0 разрешает использование с указанием авторства, но запрещает коммерческое использование.

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

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

Ограничения

Описанный сценарий рассчитан на последовательности длиной 80 пар оснований; применение в других геномных контекстах не гарантировано и требует дополнительной оценки. Лицензия CC BY-NC 4.0 запрещает коммерческое использование.

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

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

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

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

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

Открыть на Hugging Face

ProkBERT-mini-promoter Model

This finetuned model is specifically designed for promoter identification and is based on the ProkBERT-mini model.

For more details, refer to the promoter dataset description used for training and evaluating this model.

Example Usage

For practical examples on how to use this model, see the following Jupyter notebooks:

  • Training Notebook: A guide to fine-tuning the ProkBERT-mini model for promoter identification tasks.
  • Evaluation Notebook: Demonstrates how to evaluate the finetuned ProkBERT-mini-promoter model on test datasets.

Model Application

The model was trained for binary classification to distinguish between promoter and non-promoter sequences. The length and composition of the promoter sequences were standardized to ensure compatibility with alternative methods and to facilitate direct comparison of model performance.

Simple Usage Example

The following example demonstrates how to use the ProkBERT-mini-promoter model for processing a DNA sequence:

from prokbert.prokbert_tokenizer import ProkBERTTokenizer
from prokbert.models import BertForBinaryClassificationWithPooling
finetuned_model = "neuralbioinfo/prokbert-mini-promoter"
kmer = 6
shift= 1

tok_params = {'kmer' : kmer,
             'shift' : shift}
tokenizer = ProkBERTTokenizer(tokenization_params=tok_params)
model = BertForBinaryClassificationWithPooling.from_pretrained(finetuned_model)
sequence = 'TAGCGCATAATGATTTCCTTATAAGCGATCGCTCTGAAAGCGTTCTACGATAATAATGATATCCTTTCAATAATAGCGTAT'
inputs = tokenizer(sequence, return_tensors="pt")
# Ensure that inputs have a batch dimension
inputs = {key: value.unsqueeze(0) for key, value in inputs.items()}
# Generate outputs from the model
outputs = model(**inputs)
print(outputs)

Model Details

Developed by: Neural Bioinformatics Research Group

Architecture:

Traditionally, models like ...SequenceClassification classify sequences based on the hidden representation of the [CLS] or starting token. However, in our approach, we utilize the base model enhanced with a pooling layer that integrates information across all nucleotides in the sequence. The input is expected to be 80bp long, same as in the dataset.

Tokenizer: The model uses a 6-mer tokenizer with a shift of 1 (k6s1), specifically designed to handle DNA sequences efficiently.

Parameters:

ParameterDescription
Model Size20.6 million parameters
Max. Context Size1024 bp
Training Data206.65 billion nucleotides
Layers6
Attention Heads6

Intended Use

Intended Use Cases: ProkBERT-mini-k6-s1 is intended for bioinformatics researchers and practitioners focusing on genomic sequence analysis, including:

  • sequence classification tasks
  • Exploration of genomic patterns and features

Installation of ProkBERT (if needed)

For setting up ProkBERT in your environment, you can install it using the following command (if not already installed):

try:
    import prokbert
    print("ProkBERT is already installed.")
except ImportError:
    !pip install prokbert
    print("Installed ProkBERT.")

Training Data and Process

Overview: The model was pretrained on a comprehensive dataset of genomic sequences to ensure broad coverage and robust learning.

Masking performance of the ProkBERT family.

Evaluation of Promoter Prediction Tools on E-coli Sigma70 Dataset

ToolAccuracyMCCSensitivitySpecificity
ProkBERT-mini0.870.740.900.85
ProkBERT-mini-c0.870.730.880.85
ProkBERT-mini-long0.870.740.890.85
CNNProm0.720.500.950.51
iPro70-FMWin0.760.530.840.69
70ProPred0.740.510.900.60
iPromoter-2L0.640.370.940.37
Multiply0.500.050.810.23
bTSSfinder0.46-0.070.480.45
BPROM0.560.100.200.87
IBPP0.50-0.030.260.71
Promotech0.710.430.490.90
Sigma70Pred0.660.420.950.41
iPromoter-BnCNN0.550.270.990.18
MULTiPly0.540.190.920.22

The ProkBERT family models exhibit remarkably consistent performance across the metrics assessed. With respect to accuracy, all three tools achieve an impressive

MetricProkBERT-miniProkBERT-mini-cProkBERT-mini-longPromotechSigma70PrediPromoter-BnCNNMULTiPly
Accuracy0.810.790.810.610.620.610.58
F10.810.780.810.430.580.650.58
MCC0.630.570.620.290.240.210.16
Sensitivity0.810.750.790.290.520.660.57
Specificity0.820.820.830.930.710.550.59

Promoter prediction performance metrics on a diverse test set. A comparative analysis of various promoter prediction tools, showcasing their performance across key metrics including accuracy, F1 score, MCC, sensitivity, and specificity.

Ethical Considerations and Limitations

As with all models in the bioinformatics domain, ProkBERT-mini-promoter should be used responsibly. Testing and evaluation have been conducted within specific genomic contexts, and the model's outputs in other scenarios are not guaranteed. Users should exercise caution and perform additional testing as necessary for their specific use cases.

Reporting Issues

Please report any issues with the model or its outputs to the Neural Bioinformatics Research Group through the following means:

Reference

If you use ProkBERT-mini in your research, please cite the following paper:

@ARTICLE{10.3389/fmicb.2023.1331233,
    AUTHOR={Ligeti, Balázs and Szepesi-Nagy, István and Bodnár, Babett and Ligeti-Nagy, Noémi and Juhász, János},
    TITLE={ProkBERT family: genomic language models for microbiome applications},
    JOURNAL={Frontiers in Microbiology},
    VOLUME={14},
    YEAR={2024},
    URL={https://www.frontiersin.org/articles/10.3389/fmicb.2023.1331233},
    DOI={10.3389/fmicb.2023.1331233},
    ISSN={1664-302X},
    ABSTRACT={...}
}

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

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

GPU в ailist

Универсальный рантайм · fill-mask

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

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

Класс архитектуры
ProkBertForSequenceClassification
Ревизия весов
8502f02

0 моделей