MichaelOnly commited on
Commit
9394f3c
1 Parent(s): 4c1b5d7

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +67 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-emotion",
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": "Attack",
16
+ "1": "Complete quest",
17
+ "2": "Deliver",
18
+ "3": "Drival",
19
+ "4": "Exchange",
20
+ "5": "Farewell",
21
+ "6": "Follow",
22
+ "7": "General",
23
+ "8": "Greeting",
24
+ "9": "Join",
25
+ "10": "Joke",
26
+ "11": "Knowledge",
27
+ "12": "Move",
28
+ "13": "Protect",
29
+ "14": "Recieve quest",
30
+ "15": "Message",
31
+ "16": "Threat"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 3072,
35
+ "label2id": {
36
+ "Attack": 0,
37
+ "Complete quest": 1,
38
+ "Deliver": 2,
39
+ "Drival": 3,
40
+ "Exchange": 4,
41
+ "Farewell": 5,
42
+ "Follow": 6,
43
+ "General": 7,
44
+ "Greeting": 8,
45
+ "Join": 9,
46
+ "Joke": 10,
47
+ "Knowledge": 11,
48
+ "Message": 15,
49
+ "Move": 12,
50
+ "Protect": 13,
51
+ "Recieve quest": 14,
52
+ "Threat": 16
53
+ },
54
+ "layer_norm_eps": 1e-05,
55
+ "max_position_embeddings": 514,
56
+ "model_type": "roberta",
57
+ "num_attention_heads": 12,
58
+ "num_hidden_layers": 12,
59
+ "pad_token_id": 1,
60
+ "position_embedding_type": "absolute",
61
+ "problem_type": "single_label_classification",
62
+ "torch_dtype": "float32",
63
+ "transformers_version": "4.29.1",
64
+ "type_vocab_size": 1,
65
+ "use_cache": true,
66
+ "vocab_size": 50265
67
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adf51b54f3715d646293eaf41a64c516a36f5f14e86c3aaf82925d4a186023c2
3
+ size 498708213