yurakuratov
commited on
Commit
•
405f485
1
Parent(s):
fb75836
update readme
Browse files
README.md
CHANGED
@@ -4,13 +4,15 @@ tags:
|
|
4 |
- human_genome
|
5 |
---
|
6 |
|
7 |
-
# GENA-LM
|
8 |
|
9 |
-
GENA-LM is a
|
10 |
|
11 |
-
|
|
|
|
|
12 |
- BPE tokenization instead of k-mers;
|
13 |
-
- input sequence size is about
|
14 |
- pre-training on T2T vs. GRCh38.p13 human genome assembly.
|
15 |
|
16 |
Source code and data: https://github.com/AIRI-Institute/GENA_LM
|
@@ -28,32 +30,22 @@ model = BertForSequenceClassification.from_pretrained('AIRI-Institute/gena-lm-be
|
|
28 |
```
|
29 |
|
30 |
## Model description
|
31 |
-
GENA-LM model is trained in a masked language model (MLM) fashion, following the methods proposed in the BigBird paper by masking
|
32 |
|
33 |
- 512 Maximum sequence length
|
34 |
- 12 Layers, 12 Attention heads
|
35 |
- 768 Hidden size
|
36 |
- 32k Vocabulary size
|
37 |
|
38 |
-
We pre-trained `gena-lm-bert-base` using the latest T2T human genome assembly (https://www.ncbi.nlm.nih.gov/assembly/GCA_009914755.3/). Pre-training was performed for 500,000 iterations with the same parameters as in BigBird, except sequence length was equal to 512 tokens
|
39 |
-
|
40 |
-
## Downstream tasks
|
41 |
-
Currently, gena-lm-bert-base model has been finetuned and tested on promoter prediction task. Its' performance is comparable to previous SOTA results. We plan to fine-tune and make available models for other downstream tasks in the near future.
|
42 |
-
|
43 |
-
### Fine-tuning GENA-LM on our data and scoring
|
44 |
-
After fine-tuning gena-lm-bert-base on promoter prediction dataset, following results were achieved:
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
| DeePromoter | 300 | 95.60 |
|
49 |
-
| GENA-LM bert-base (ours) | 2000 | 95.72 |
|
50 |
-
| BigBird | 16000 | 99.90 |
|
51 |
|
52 |
-
We can conclude that our model achieves comparable performance to the previously published results for promoter prediction task.
|
53 |
|
54 |
## Citation
|
55 |
-
```
|
56 |
-
@article
|
57 |
author = {Veniamin Fishman and Yuri Kuratov and Maxim Petrov and Aleksei Shmelev and Denis Shepelin and Nikolay Chekanov and Olga Kardymon and Mikhail Burtsev},
|
58 |
title = {GENA-LM: A Family of Open-Source Foundational Models for Long DNA Sequences},
|
59 |
elocation-id = {2023.06.12.544594},
|
@@ -64,4 +56,4 @@ We can conclude that our model achieves comparable performance to the previously
|
|
64 |
eprint = {https://www.biorxiv.org/content/early/2023/06/13/2023.06.12.544594.full.pdf},
|
65 |
journal = {bioRxiv}
|
66 |
}
|
67 |
-
```
|
|
|
4 |
- human_genome
|
5 |
---
|
6 |
|
7 |
+
# GENA-LM (gena-lm-bert-base)
|
8 |
|
9 |
+
GENA-LM is a Family of Open-Source Foundational Models for Long DNA Sequences.
|
10 |
|
11 |
+
GENA-LM models are transformer masked language models trained on human DNA sequence.
|
12 |
+
|
13 |
+
Differences between GENA-LM (`gena-lm-bert-base`) and DNABERT:
|
14 |
- BPE tokenization instead of k-mers;
|
15 |
+
- input sequence size is about 4500 nucleotides (512 BPE tokens) compared to 512 nucleotides of DNABERT
|
16 |
- pre-training on T2T vs. GRCh38.p13 human genome assembly.
|
17 |
|
18 |
Source code and data: https://github.com/AIRI-Institute/GENA_LM
|
|
|
30 |
```
|
31 |
|
32 |
## Model description
|
33 |
+
GENA-LM (`gena-lm-bert-base`) model is trained in a masked language model (MLM) fashion, following the methods proposed in the BigBird paper by masking 15% of tokens. Model config for `gena-lm-bert-base` is similar to the bert-base:
|
34 |
|
35 |
- 512 Maximum sequence length
|
36 |
- 12 Layers, 12 Attention heads
|
37 |
- 768 Hidden size
|
38 |
- 32k Vocabulary size
|
39 |
|
40 |
+
We pre-trained `gena-lm-bert-base` using the latest T2T human genome assembly (https://www.ncbi.nlm.nih.gov/assembly/GCA_009914755.3/). Pre-training was performed for 500,000 iterations with the same parameters as in BigBird, except sequence length was equal to 512 tokens. We modified Transformer with [Pre-Layer normalization](https://arxiv.org/abs/2002.04745), but without the final layer LayerNorm.
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
+
## Evaluation
|
43 |
+
For evaluation results, see our paper: https://www.biorxiv.org/content/10.1101/2023.06.12.544594v1
|
|
|
|
|
|
|
44 |
|
|
|
45 |
|
46 |
## Citation
|
47 |
+
```bibtex
|
48 |
+
@article{GENA_LM,
|
49 |
author = {Veniamin Fishman and Yuri Kuratov and Maxim Petrov and Aleksei Shmelev and Denis Shepelin and Nikolay Chekanov and Olga Kardymon and Mikhail Burtsev},
|
50 |
title = {GENA-LM: A Family of Open-Source Foundational Models for Long DNA Sequences},
|
51 |
elocation-id = {2023.06.12.544594},
|
|
|
56 |
eprint = {https://www.biorxiv.org/content/early/2023/06/13/2023.06.12.544594.full.pdf},
|
57 |
journal = {bioRxiv}
|
58 |
}
|
59 |
+
```
|