IsmaelMousa
commited on
Commit
•
8f5ffc0
1
Parent(s):
4e04d1f
Upload config
Browse files- README.md +4 -4
- config.json +13 -15
README.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
-
base_model: bert-base-cased
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
6 |
datasets:
|
7 |
- emotion
|
|
|
8 |
model-index:
|
9 |
- name: bert-finetuned-emotion
|
10 |
results: []
|
11 |
-
language:
|
12 |
-
- en
|
13 |
-
pipeline_tag: text-classification
|
14 |
---
|
15 |
|
16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
license: apache-2.0
|
|
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
+
base_model: bert-base-cased
|
8 |
datasets:
|
9 |
- emotion
|
10 |
+
pipeline_tag: text-classification
|
11 |
model-index:
|
12 |
- name: bert-finetuned-emotion
|
13 |
results: []
|
|
|
|
|
|
|
14 |
---
|
15 |
|
16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_name_or_path": "bert-base-cased",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
@@ -10,22 +10,22 @@
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
-
"0": "
|
14 |
-
"1": "
|
15 |
-
"2": "
|
16 |
-
"3": "
|
17 |
-
"4": "
|
18 |
-
"5": "
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
},
|
30 |
"layer_norm_eps": 1e-12,
|
31 |
"max_position_embeddings": 512,
|
@@ -34,8 +34,6 @@
|
|
34 |
"num_hidden_layers": 12,
|
35 |
"pad_token_id": 0,
|
36 |
"position_embedding_type": "absolute",
|
37 |
-
"problem_type": "single_label_classification",
|
38 |
-
"torch_dtype": "float32",
|
39 |
"transformers_version": "4.40.1",
|
40 |
"type_vocab_size": 2,
|
41 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
"_name_or_path": "bert-base-cased",
|
3 |
"architectures": [
|
4 |
+
"BertForMaskedLM"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
+
"0": "sadness",
|
14 |
+
"1": "joy",
|
15 |
+
"2": "love",
|
16 |
+
"3": "anger",
|
17 |
+
"4": "fear",
|
18 |
+
"5": "surprise"
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
+
"anger": "3",
|
24 |
+
"fear": "4",
|
25 |
+
"joy": "1",
|
26 |
+
"love": "2",
|
27 |
+
"sadness": "0",
|
28 |
+
"surprise": "5"
|
29 |
},
|
30 |
"layer_norm_eps": 1e-12,
|
31 |
"max_position_embeddings": 512,
|
|
|
34 |
"num_hidden_layers": 12,
|
35 |
"pad_token_id": 0,
|
36 |
"position_embedding_type": "absolute",
|
|
|
|
|
37 |
"transformers_version": "4.40.1",
|
38 |
"type_vocab_size": 2,
|
39 |
"use_cache": true,
|