antypasd commited on
Commit
c4cd2e5
1 Parent(s): df13b9b

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +55 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./model_semeval/",
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
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "anger",
16
+ "1": "anticipation",
17
+ "2": "disgust",
18
+ "3": "fear",
19
+ "4": "joy",
20
+ "5": "love",
21
+ "6": "optimism",
22
+ "7": "pessimism",
23
+ "8": "sadness",
24
+ "9": "surprise",
25
+ "10": "trust"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "anger": 0,
31
+ "anticipation": 1,
32
+ "disgust": 2,
33
+ "fear": 3,
34
+ "joy": 4,
35
+ "love": 5,
36
+ "optimism": 6,
37
+ "pessimism": 7,
38
+ "sadness": 8,
39
+ "surprise": 9,
40
+ "trust": 10
41
+ },
42
+ "layer_norm_eps": 1e-05,
43
+ "max_position_embeddings": 514,
44
+ "model_type": "roberta",
45
+ "num_attention_heads": 12,
46
+ "num_hidden_layers": 12,
47
+ "pad_token_id": 1,
48
+ "position_embedding_type": "absolute",
49
+ "problem_type": "multi_label_classification",
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.26.1",
52
+ "type_vocab_size": 1,
53
+ "use_cache": true,
54
+ "vocab_size": 50265
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fdc78644d4d660132916388c4a58cfd29ca812ccb43e39ac678c9733df36cf8
3
+ size 498685165