gritli commited on
Commit
cd1679b
·
verified ·
1 Parent(s): f9686d3

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +17 -25
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,35 +1,27 @@
1
  {
2
- "_name_or_path": "distilbert/distilbert-base-uncased-finetuned-sst-2-english",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "finetuning_task": "sst-2",
11
- "hidden_dim": 3072,
12
- "id2label": {
13
- "0": "NEGATIVE",
14
- "1": "POSITIVE"
15
- },
16
  "initializer_range": 0.02,
17
- "label2id": {
18
- "NEGATIVE": 0,
19
- "POSITIVE": 1
20
- },
21
  "max_position_embeddings": 512,
22
- "model_type": "distilbert",
23
- "n_heads": 12,
24
- "n_layers": 6,
25
- "output_past": true,
26
  "pad_token_id": 0,
 
27
  "problem_type": "single_label_classification",
28
- "qa_dropout": 0.1,
29
- "seq_classif_dropout": 0.2,
30
- "sinusoidal_pos_embds": false,
31
- "tie_weights_": true,
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.39.3",
34
- "vocab_size": 30522
 
 
35
  }
 
1
  {
2
+ "_name_or_path": "michiyasunaga/BioLinkBERT-large",
 
3
  "architectures": [
4
+ "BertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
 
 
 
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 4096,
14
+ "layer_norm_eps": 1e-12,
 
 
15
  "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 16,
18
+ "num_hidden_layers": 24,
 
19
  "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
  "problem_type": "single_label_classification",
 
 
 
 
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.39.3",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 28895
27
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b4e829f692a25ef519fb3d2fa9613b5fe8da649a5f33040d1e9275ec74c3201
3
- size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d70573ef3f882808b4c1e57486c7ff4179c01cc6ae6a06501ac4eb17135b52b
3
+ size 1333958568