Thamognya Kodi commited on
Commit
ad40560
1 Parent(s): ca7d843

update: added labels

Browse files
Files changed (4) hide show
  1. README.md +4 -3
  2. config.json +12 -12
  3. model.zip +2 -2
  4. pytorch_model.bin +1 -1
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  license: agpl-3.0
3
- widget:
4
- - text: "I am happy"
5
- example_title: "Sentiment analysis"
6
  ---
 
 
 
 
 
1
  ---
2
  license: agpl-3.0
 
 
 
3
  ---
4
+
5
+ # Bert-Base-Emotion-Sentiment-Analysis
6
+
7
+ Github Src: [https://github.com/LowLevelML/Bert-Base-Emotion-Sentiment-Analysis](https://github.com/LowLevelML/Bert-Base-Emotion-Sentiment-Analysis)
config.json CHANGED
@@ -10,22 +10,22 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
- "0": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2",
16
- "3": "LABEL_3",
17
- "4": "LABEL_4",
18
- "5": "LABEL_5"
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
  "label2id": {
23
- "LABEL_0": 0,
24
- "LABEL_1": 1,
25
- "LABEL_2": 2,
26
- "LABEL_3": 3,
27
- "LABEL_4": 4,
28
- "LABEL_5": 5
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "Anger": "3",
14
+ "Fear": "4",
15
+ "Joy": "1",
16
+ "Love": "2",
17
+ "Sad": "0",
18
+ "Surprise": "5"
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
  "label2id": {
23
+ "0": "Sad",
24
+ "1": "Joy",
25
+ "2": "Love",
26
+ "3": "Anger",
27
+ "4": "Fear",
28
+ "5": "Surprise"
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
model.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a81e68ced7a155244723ba829801d3a3dd1dcd9fb1b056f523e7298c45a07103
3
- size 405592251
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bf2ccd9d11dad6128dea1934914478575bee8216182b416b2995c5c9f7eddf8
3
+ size 405592634
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bcc25ab3d9f5df214cd77982544f413a6d608b880eca287ff2fa2cd0949f7cf3
3
  size 438018413
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5a9bc8cc93e975597dcd8f8fd51575105e126219aefeb33598254758d320fd0
3
  size 438018413