rasgaard commited on
Commit
8956e0c
1 Parent(s): a5816de

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +72 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/zhome/55/6/117776/repos/alignement_of_representations/models/20newsgroups-finetuned",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6",
21
+ "7": "LABEL_7",
22
+ "8": "LABEL_8",
23
+ "9": "LABEL_9",
24
+ "10": "LABEL_10",
25
+ "11": "LABEL_11",
26
+ "12": "LABEL_12",
27
+ "13": "LABEL_13",
28
+ "14": "LABEL_14",
29
+ "15": "LABEL_15",
30
+ "16": "LABEL_16",
31
+ "17": "LABEL_17",
32
+ "18": "LABEL_18",
33
+ "19": "LABEL_19"
34
+ },
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_10": 10,
41
+ "LABEL_11": 11,
42
+ "LABEL_12": 12,
43
+ "LABEL_13": 13,
44
+ "LABEL_14": 14,
45
+ "LABEL_15": 15,
46
+ "LABEL_16": 16,
47
+ "LABEL_17": 17,
48
+ "LABEL_18": 18,
49
+ "LABEL_19": 19,
50
+ "LABEL_2": 2,
51
+ "LABEL_3": 3,
52
+ "LABEL_4": 4,
53
+ "LABEL_5": 5,
54
+ "LABEL_6": 6,
55
+ "LABEL_7": 7,
56
+ "LABEL_8": 8,
57
+ "LABEL_9": 9
58
+ },
59
+ "layer_norm_eps": 1e-05,
60
+ "max_position_embeddings": 514,
61
+ "model_type": "roberta",
62
+ "num_attention_heads": 12,
63
+ "num_hidden_layers": 12,
64
+ "pad_token_id": 1,
65
+ "position_embedding_type": "absolute",
66
+ "problem_type": "single_label_classification",
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.27.2",
69
+ "type_vocab_size": 1,
70
+ "use_cache": true,
71
+ "vocab_size": 50265
72
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9847a2a39e88dcd200112e912f25b82139314f658da6b1c9a0520b3b3bb705f
3
+ size 498714613