neuralbioinfo_prokbert-mini-promoter
neuralbioinfo · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
license: cc-by-nc-4.0 tags:
- prokbert
- bioinformatics
- genomics
- sequence embedding
- genomic language models
- nucleotide
- dna-sequence
- promoter-prediction
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:
| Parameter | Description |
|---|---|
| Model Size | 20.6 million parameters |
| Max. Context Size | 1024 bp |
| Training Data | 206.65 billion nucleotides |
| Layers | 6 |
| Attention Heads | 6 |
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
| Tool | Accuracy | MCC | Sensitivity | Specificity |
|---|---|---|---|---|
| ProkBERT-mini | 0.87 | 0.74 | 0.90 | 0.85 |
| ProkBERT-mini-c | 0.87 | 0.73 | 0.88 | 0.85 |
| ProkBERT-mini-long | 0.87 | 0.74 | 0.89 | 0.85 |
| CNNProm | 0.72 | 0.50 | 0.95 | 0.51 |
| iPro70-FMWin | 0.76 | 0.53 | 0.84 | 0.69 |
| 70ProPred | 0.74 | 0.51 | 0.90 | 0.60 |
| iPromoter-2L | 0.64 | 0.37 | 0.94 | 0.37 |
| Multiply | 0.50 | 0.05 | 0.81 | 0.23 |
| bTSSfinder | 0.46 | -0.07 | 0.48 | 0.45 |
| BPROM | 0.56 | 0.10 | 0.20 | 0.87 |
| IBPP | 0.50 | -0.03 | 0.26 | 0.71 |
| Promotech | 0.71 | 0.43 | 0.49 | 0.90 |
| Sigma70Pred | 0.66 | 0.42 | 0.95 | 0.41 |
| iPromoter-BnCNN | 0.55 | 0.27 | 0.99 | 0.18 |
| MULTiPly | 0.54 | 0.19 | 0.92 | 0.22 |
The ProkBERT family models exhibit remarkably consistent performance across the metrics assessed. With respect to accuracy, all three tools achieve an impressive
| Metric | ProkBERT-mini | ProkBERT-mini-c | ProkBERT-mini-long | Promotech | Sigma70Pred | iPromoter-BnCNN | MULTiPly |
|---|---|---|---|---|---|---|---|
| Accuracy | 0.81 | 0.79 | 0.81 | 0.61 | 0.62 | 0.61 | 0.58 |
| F1 | 0.81 | 0.78 | 0.81 | 0.43 | 0.58 | 0.65 | 0.58 |
| MCC | 0.63 | 0.57 | 0.62 | 0.29 | 0.24 | 0.21 | 0.16 |
| Sensitivity | 0.81 | 0.75 | 0.79 | 0.29 | 0.52 | 0.66 | 0.57 |
| Specificity | 0.82 | 0.82 | 0.83 | 0.93 | 0.71 | 0.55 | 0.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:
- Model issues: GitHub repository link
- Feedback and inquiries: [email protected]
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={...}
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:1830400dd42711ff12e6d0526fe3328377efbc9c&dn=neuralbioinfo_prokbert-mini-promoterOpen magnet in torrent client · infohash 1830400dd42711ff12e6d0526fe3328377efbc9c
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 7.8 KB (7,996 B) | 1cae29f06b0e67ea69b6bf1c7b3611ab2abd2549 | f0f0b72d2c4077bb73bded206b5baeb6058744628596e8ed36b85929ac5591e2 |
| config.json | 1.0 KB (1,073 B) | c72b5d16df400c634af78a8922f6ab5b8d6a2cce | e59256189b910ad7706be17d7ff8816887e19224867dd34e83a80cd73f8b9b20 |
| model.safetensors | 78.7 MB (82,566,500 B) | 359a6bfbe759427f2177208218d9e946f2762de9 | 463c8c27b6fed8299b59fe932fc0e346a2723de97a31680f96babdea1c3ca138 |
| pytorch_model.bin | 78.8 MB (82,601,230 B) | e1d719e73d6726ae0ccd7a8f515bc14a4bcd5a50 | 3d1feb5fe5969aa88ab79abc470b64c44fc73a7f9e9e4b093ce20ffbb6257734 |
| special_tokens_map.json | 125 B (125 B) | a8b3208c2884c4efb86e49300fdd3dc877220cdf | b6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3 |
| tokenizer.py | 16.0 KB (16,415 B) | 0e73f1294f6f7b4908ec4bea18050575bc88541a | 5852d0a28aed9d2fde3d24d596e6d52dc4f4190d2ed2c3a5108bf64893654320 |
| tokenizer_config.json | 1.3 KB (1,304 B) | 0cd0933320f8b07eaeea8f9f5df16114d7f2b388 | f6bd371a64fb8678e9873d47507f3d1260ab9bd08916256ef8dcf43144d3895a |
| vocab.txt | 28.0 KB (28,703 B) | 73a738a7a2dd26f4ebf4b724a8a70fab475cc616 | 09ac66138ad9a2a5cbf2ae7f4057021489986c85f2772ddf3b1d9a7c4e408603 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/neuralbioinfo_prokbert-mini-promoter/
- Slug
- neuralbioinfo_prokbert-mini-promoter
- Infohash
- 1830400dd42711ff12e6d0526fe3328377efbc9c
- License
- cc-by-nc-4.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: neuralbioinfo_prokbert-mini-promoter.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | neuralbioinfo/prokbert-mini-promoter |
|---|---|
| Revision (pinned) | 8502f02d1019017fb44244274664e17e0e30ce1e |
| Fetched at | 2026-09-04T03:18:13Z |
| License at fetch | cc-by-nc-4.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-04T03:18:17Z
cc-by-nc-4.0non-commercial use only157.6 MB (165,223,346 bytes)transformerspytorchsafetensorsprokberttext-classificationbioinformaticsgenomicssequence embeddinggenomic language modelsnucleotidedna-sequencepromoter-predictioncustom_code