finetuning complete
Browse files- README.md +3 -12
- config.json +8 -0
README.md
CHANGED
@@ -4,22 +4,18 @@ base_model: roberta-base
|
|
4 |
tags:
|
5 |
- generated_from_keras_callback
|
6 |
model-index:
|
7 |
-
- name:
|
8 |
results: []
|
9 |
---
|
10 |
|
11 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
probably proofread and complete it, then remove this comment. -->
|
13 |
|
14 |
-
#
|
15 |
|
16 |
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
|
19 |
-
- Train Accuracy: 0.9736
|
20 |
-
- Validation Loss: 0.2081
|
21 |
-
- Validation Accuracy: 0.9346
|
22 |
-
- Epoch: 2
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -43,11 +39,6 @@ The following hyperparameters were used during training:
|
|
43 |
|
44 |
### Training results
|
45 |
|
46 |
-
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
47 |
-
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
48 |
-
| 0.2126 | 0.9165 | 0.1748 | 0.9335 | 0 |
|
49 |
-
| 0.1223 | 0.9562 | 0.1806 | 0.9381 | 1 |
|
50 |
-
| 0.0760 | 0.9736 | 0.2081 | 0.9346 | 2 |
|
51 |
|
52 |
|
53 |
### Framework versions
|
|
|
4 |
tags:
|
5 |
- generated_from_keras_callback
|
6 |
model-index:
|
7 |
+
- name: roberta-base-finetuned-sst2
|
8 |
results: []
|
9 |
---
|
10 |
|
11 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
probably proofread and complete it, then remove this comment. -->
|
13 |
|
14 |
+
# roberta-base-finetuned-sst2
|
15 |
|
16 |
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
39 |
|
40 |
### Training results
|
41 |
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
|
44 |
### Framework versions
|
config.json
CHANGED
@@ -10,8 +10,16 @@
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
15 |
"layer_norm_eps": 1e-05,
|
16 |
"max_position_embeddings": 514,
|
17 |
"model_type": "roberta",
|
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "negative",
|
15 |
+
"1": "positive"
|
16 |
+
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"negative": "0",
|
21 |
+
"positive": "1"
|
22 |
+
},
|
23 |
"layer_norm_eps": 1e-05,
|
24 |
"max_position_embeddings": 514,
|
25 |
"model_type": "roberta",
|