We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7048cd0 commit 9c8521fCopy full SHA for 9c8521f
configs/model/electra.yml
@@ -3,8 +3,8 @@ init_args:
3
optimizer_kwargs:
4
lr: 1e-3
5
config:
6
- vocab_size: 1400
7
- max_position_embeddings: 1800
+ vocab_size: 31 # 21 amino acids (when n_gram=1) + 10 special tokens of LLM
+ max_position_embeddings: 1000 # max default sequence length for protein
8
num_attention_heads: 8
9
num_hidden_layers: 6
10
type_vocab_size: 1
0 commit comments