ligeti commited on
Commit
e42ab24
·
verified ·
1 Parent(s): 3337595

Upload ProkBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +13 -4
  2. model.safetensors +3 -0
config.json CHANGED
@@ -1,23 +1,32 @@
1
  {
2
- "_name_or_path": "/home/c_evolb/scratch/pretrained_models/prokbert-mini-k6s2/checkpoint-6",
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": 4096,
 
12
  "layer_norm_eps": 1e-12,
13
  "max_position_embeddings": 2048,
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.33.1",
21
  "type_vocab_size": 2,
22
  "use_cache": true,
23
  "vocab_size": 4200
 
1
  {
2
+ "_name_or_path": "neuralbioinfo/prokbert-mini-long",
3
  "architectures": [
4
+ "ProkBertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
+ "auto_map": {
8
+ "AutoConfig": "neuralbioinfo/prokbert-mini-long--models.ProkBertConfig",
9
+ "AutoModel": "neuralbioinfo/prokbert-mini-long--models.ProkBertModel",
10
+ "AutoModelForMaskedLM": "neuralbioinfo/prokbert-mini-long--models.ProkBertForMaskedLM",
11
+ "AutoModelForSequenceClassification": "neuralbioinfo/prokbert-mini-long--models.ProkBertForSequenceClassification"
12
+ },
13
+ "classification_dropout_rate": 0.1,
14
  "hidden_act": "gelu",
15
  "hidden_dropout_prob": 0.1,
16
  "hidden_size": 384,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 4096,
19
+ "kmer": 6,
20
  "layer_norm_eps": 1e-12,
21
  "max_position_embeddings": 2048,
22
+ "model_type": "prokbert",
23
  "num_attention_heads": 6,
24
  "num_hidden_layers": 6,
25
  "pad_token_id": 0,
26
  "position_embedding_type": "relative_key_query",
27
+ "shift": 2,
28
  "torch_dtype": "float32",
29
+ "transformers_version": "4.48.0.dev0",
30
  "type_vocab_size": 2,
31
  "use_cache": true,
32
  "vocab_size": 4200
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:119a2802093735c277b8d6909e3330781b27326b83ce0452fec8a00a348f0391
3
+ size 106336124