PyTorch
megatron-bert
ligeti commited on
Commit
a97eefb
1 Parent(s): 7e9693d

ProkBERT PhaStyle model (based on mini, supporting length 512)

Browse files
Files changed (2) hide show
  1. config.json +24 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "neuralbioinfo/prokbert-mini",
3
+ "architectures": [
4
+ "MegatronBertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 384,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_norm_eps": 1e-12,
13
+ "max_position_embeddings": 1024,
14
+ "model_type": "megatron-bert",
15
+ "num_attention_heads": 6,
16
+ "num_hidden_layers": 6,
17
+ "pad_token_id": 0,
18
+ "position_embedding_type": "relative_key_query",
19
+ "torch_dtype": "float32",
20
+ "transformers_version": "4.39.3",
21
+ "type_vocab_size": 2,
22
+ "use_cache": true,
23
+ "vocab_size": 4101
24
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30c73e6eb37c5c8ea75cc07ddde8cbe558f1526eb2b2b5faeb4cae9cb0499e9a
3
+ size 82601230