luohy commited on
Commit
c9a4d31
1 Parent(s): 66c7a0d

Upload with huggingface_hub

Browse files
Files changed (2) hide show
  1. config.json +16 -17
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,18 +1,12 @@
1
  {
2
- "_name_or_path": "model_file/roberta-large-sc-3.pt",
3
- "adapters": {
4
- "adapters": {},
5
- "config_map": {},
6
- "fusion_config_map": {},
7
- "fusions": {}
8
- },
9
  "architectures": [
10
- "RobertaForSequenceClassification"
11
  ],
12
  "attention_probs_dropout_prob": 0.1,
13
- "bos_token_id": 0,
14
  "classifier_dropout": null,
15
- "eos_token_id": 2,
 
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.1,
18
  "hidden_size": 1024,
@@ -28,17 +22,22 @@
28
  "LABEL_1": 1,
29
  "LABEL_2": 2
30
  },
31
- "layer_norm_eps": 1e-05,
32
- "max_position_embeddings": 514,
33
- "model_type": "roberta",
34
  "num_attention_heads": 16,
35
  "num_hidden_layers": 24,
36
- "pad_token_id": 1,
 
 
 
 
 
37
  "position_embedding_type": "absolute",
38
  "problem_type": "single_label_classification",
39
  "torch_dtype": "float32",
40
- "transformers_version": "4.21.3",
41
- "type_vocab_size": 1,
42
  "use_cache": true,
43
- "vocab_size": 50265
44
  }
 
1
  {
2
+ "_name_or_path": "model_file/bert-large-sc-3.pt",
 
 
 
 
 
 
3
  "architectures": [
4
+ "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
 
7
  "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
 
22
  "LABEL_1": 1,
23
  "LABEL_2": 2
24
  },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
  "num_attention_heads": 16,
29
  "num_hidden_layers": 24,
30
+ "pad_token_id": 0,
31
+ "pooler_fc_size": 768,
32
+ "pooler_num_attention_heads": 12,
33
+ "pooler_num_fc_layers": 3,
34
+ "pooler_size_per_head": 128,
35
+ "pooler_type": "first_token_transform",
36
  "position_embedding_type": "absolute",
37
  "problem_type": "single_label_classification",
38
  "torch_dtype": "float32",
39
+ "transformers_version": "4.16.2",
40
+ "type_vocab_size": 2,
41
  "use_cache": true,
42
+ "vocab_size": 28996
43
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:191384b3e9b718243ef558cbe14e44ebed07e15fc683f6b62e84b0b3f1c81bb6
3
- size 1421588461
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:080e353b9d2f7e468393758d6a2403112407389a5d8bc14e023546e45e152871
3
+ size 1334500425