xhorvat9 commited on
Commit
28d7b4e
1 Parent(s): c8258c1

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +65 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "id2label": {
21
+ "0": "LABEL_0",
22
+ "1": "LABEL_1",
23
+ "2": "LABEL_2",
24
+ "3": "LABEL_3",
25
+ "4": "LABEL_4",
26
+ "5": "LABEL_5",
27
+ "6": "LABEL_6",
28
+ "7": "LABEL_7",
29
+ "8": "LABEL_8",
30
+ "9": "LABEL_9"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "LABEL_0": 0,
36
+ "LABEL_1": 1,
37
+ "LABEL_2": 2,
38
+ "LABEL_3": 3,
39
+ "LABEL_4": 4,
40
+ "LABEL_5": 5,
41
+ "LABEL_6": 6,
42
+ "LABEL_7": 7,
43
+ "LABEL_8": 8,
44
+ "LABEL_9": 9
45
+ },
46
+ "layer_norm_eps": 1e-12,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "bert",
49
+ "num_attention_heads": 12,
50
+ "num_hidden_layers": 12,
51
+ "num_rnn_layer": 1,
52
+ "output_past": true,
53
+ "pad_token_id": 0,
54
+ "position_embedding_type": "absolute",
55
+ "problem_type": "single_label_classification",
56
+ "rnn": "lstm",
57
+ "rnn_dropout": 0.0,
58
+ "rnn_hidden": 768,
59
+ "split": 10,
60
+ "torch_dtype": "float32",
61
+ "transformers_version": "4.24.0",
62
+ "type_vocab_size": 2,
63
+ "use_cache": true,
64
+ "vocab_size": 4101
65
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4dc4def6a8c1c2f37c1b1433b3859c4d6dc856a9387c58486494140ffb884b7
3
+ size 356865389