xhorvat9 commited on
Commit
c2b74be
1 Parent(s): fd4e36e

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +41 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "zhihan1996/DNA_bert_6",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_bert.BertConfig",
9
+ "AutoModel": "dnabert_layer.BertModel",
10
+ "AutoModelForMaskedLM": "dnabert_layer.BertForMaskedLM",
11
+ "AutoModelForPreTraining": "dnabert_layer.BertForPreTraining",
12
+ "AutoModelForSequenceClassification": "dnabert_layer.DNABertForSequenceClassification"
13
+ },
14
+ "bos_token_id": 0,
15
+ "classifier_dropout": null,
16
+ "eos_token_ids": 0,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_size": 768,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "num_rnn_layer": 1,
28
+ "output_past": true,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "rnn": "lstm",
33
+ "rnn_dropout": 0.0,
34
+ "rnn_hidden": 768,
35
+ "split": 10,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.24.0",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 4101
41
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdf0f902e9aa392b2ee7029170451d7779706cae381d667cd48e99fb41a27ddb
3
+ size 356840813