pasithbas159 commited on
Commit
36f7346
·
verified ·
1 Parent(s): 211a251

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +47 -45
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,67 +1,69 @@
1
  {
2
- "_name_or_path": "bert-large-uncased",
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
  "id2label": {
13
- "0": "AGRI",
14
- "1": "BME",
15
- "2": "CE",
16
- "3": "CHE",
17
- "4": "CPE",
18
- "5": "EDU",
19
  "6": "EE",
20
- "7": "ENV",
21
- "8": "IE",
22
- "9": "MATENG",
23
- "10": "MATH",
24
- "11": "MATSCI",
25
- "12": "ME",
26
- "13": "METAL",
27
- "14": "NANO",
28
- "15": "OPTIC",
29
- "16": "PE",
30
- "17": "SAFETY"
31
  },
32
  "initializer_range": 0.02,
33
  "intermediate_size": 4096,
34
  "label2id": {
35
- "AGRI": 0,
36
- "BME": 1,
37
- "CE": 2,
38
- "CHE": 3,
39
- "CPE": 4,
40
- "EDU": 5,
41
  "EE": 6,
42
- "ENV": 7,
43
- "IE": 8,
44
- "MATENG": 9,
45
- "MATH": 10,
46
- "MATSCI": 11,
47
- "ME": 12,
48
- "METAL": 13,
49
- "NANO": 14,
50
- "OPTIC": 15,
51
- "PE": 16,
52
- "SAFETY": 17
53
  },
54
- "layer_norm_eps": 1e-12,
55
- "max_position_embeddings": 512,
56
- "model_type": "bert",
57
  "num_attention_heads": 16,
58
  "num_hidden_layers": 24,
59
- "pad_token_id": 0,
 
60
  "position_embedding_type": "absolute",
61
  "problem_type": "multi_label_classification",
62
  "torch_dtype": "float32",
63
  "transformers_version": "4.44.2",
64
- "type_vocab_size": 2,
65
  "use_cache": true,
66
- "vocab_size": 30522
67
  }
 
1
  {
2
+ "_name_or_path": "xlm-roberta-large",
3
  "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.15,
7
+ "bos_token_id": 0,
8
  "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
  "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.15,
12
  "hidden_size": 1024,
13
  "id2label": {
14
+ "0": "CE",
15
+ "1": "ENV",
16
+ "2": "BME",
17
+ "3": "PE",
18
+ "4": "METAL",
19
+ "5": "ME",
20
  "6": "EE",
21
+ "7": "CPE",
22
+ "8": "OPTIC",
23
+ "9": "NANO",
24
+ "10": "CHE",
25
+ "11": "MATENG",
26
+ "12": "AGRI",
27
+ "13": "EDU",
28
+ "14": "IE",
29
+ "15": "SAFETY",
30
+ "16": "MATH",
31
+ "17": "MATSCI"
32
  },
33
  "initializer_range": 0.02,
34
  "intermediate_size": 4096,
35
  "label2id": {
36
+ "AGRI": 12,
37
+ "BME": 2,
38
+ "CE": 0,
39
+ "CHE": 10,
40
+ "CPE": 7,
41
+ "EDU": 13,
42
  "EE": 6,
43
+ "ENV": 1,
44
+ "IE": 14,
45
+ "MATENG": 11,
46
+ "MATH": 16,
47
+ "MATSCI": 17,
48
+ "ME": 5,
49
+ "METAL": 4,
50
+ "NANO": 9,
51
+ "OPTIC": 8,
52
+ "PE": 3,
53
+ "SAFETY": 15
54
  },
55
+ "layer_norm_eps": 1e-05,
56
+ "max_position_embeddings": 514,
57
+ "model_type": "xlm-roberta",
58
  "num_attention_heads": 16,
59
  "num_hidden_layers": 24,
60
+ "output_past": true,
61
+ "pad_token_id": 1,
62
  "position_embedding_type": "absolute",
63
  "problem_type": "multi_label_classification",
64
  "torch_dtype": "float32",
65
  "transformers_version": "4.44.2",
66
+ "type_vocab_size": 1,
67
  "use_cache": true,
68
+ "vocab_size": 250002
69
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ec6d6ee4b9a8c0545dfc1c8ec23e52683f97ddf8e66f185c0bf60ecf00cb5d5
3
- size 1340688368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa8657157925a2532048858f4570fc7a13b9686e6ca156559c201cffee86c9f1
3
+ size 2239684272