nicolauduran45 commited on
Commit
9d233a3
·
verified ·
1 Parent(s): bfeadd2

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +29 -26
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,42 +1,45 @@
1
  {
2
- "_name_or_path": "distilbert/distilbert-base-cased",
3
- "activation": "gelu",
 
 
 
 
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
11
  "id2label": {
12
  "0": "Contextual & Other",
13
- "1": "Institutional reference",
14
- "2": "Location of research",
15
- "3": "Object of study",
16
- "4": "Policy or regulation reference",
17
- "5": "Target audience, beneficiary or impacted entity"
18
  },
19
  "initializer_range": 0.02,
 
20
  "label2id": {
21
  "Contextual & Other": 0,
22
- "Institutional reference": 1,
23
- "Location of research": 2,
24
- "Object of study": 3,
25
  "Policy or regulation reference": 4,
26
- "Target audience, beneficiary or impacted entity": 5
27
  },
 
28
  "max_position_embeddings": 512,
29
- "model_type": "distilbert",
30
- "n_heads": 12,
31
- "n_layers": 6,
32
- "output_past": true,
33
  "pad_token_id": 0,
 
34
  "problem_type": "single_label_classification",
35
- "qa_dropout": 0.1,
36
- "seq_classif_dropout": 0.2,
37
- "sinusoidal_pos_embds": false,
38
- "tie_weights_": true,
39
  "torch_dtype": "float32",
40
- "transformers_version": "4.46.2",
41
- "vocab_size": 28998
 
 
42
  }
 
1
  {
2
+ "adapters": {
3
+ "adapters": {},
4
+ "config_map": {},
5
+ "fusion_config_map": {},
6
+ "fusions": {}
7
+ },
8
  "architectures": [
9
+ "BertForSequenceClassification"
10
  ],
11
+ "attention_probs_dropout_prob": 0.1,
12
+ "classifier_dropout": null,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
  "id2label": {
17
  "0": "Contextual & Other",
18
+ "1": "Target audience, beneficiary or impacted entity",
19
+ "2": "Object of study",
20
+ "3": "Location of research",
21
+ "4": "Policy or regulation reference"
 
22
  },
23
  "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
  "label2id": {
26
  "Contextual & Other": 0,
27
+ "Location of research": 3,
28
+ "Object of study": 2,
 
29
  "Policy or regulation reference": 4,
30
+ "Target audience, beneficiary or impacted entity": 1
31
  },
32
+ "layer_norm_eps": 1e-12,
33
  "max_position_embeddings": 512,
34
+ "model_type": "bert",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 12,
 
37
  "pad_token_id": 0,
38
+ "position_embedding_type": "absolute",
39
  "problem_type": "single_label_classification",
 
 
 
 
40
  "torch_dtype": "float32",
41
+ "transformers_version": "4.52.2",
42
+ "type_vocab_size": 2,
43
+ "use_cache": true,
44
+ "vocab_size": 31092
45
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:32b1376aa4ac4c919f2fd1f59efb2f26f931aa8bc7f2a632afabb986b1d676a2
3
- size 263163136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65a253a1a8f6579215b37f12b882d9ab2ebc53c75da72538ab378892e185a611
3
+ size 439718916