D. Vle
commited on
Commit
•
2d4beeb
1
Parent(s):
59b96e4
Training complete.
Browse files- README.md +14 -10
- config.json +15 -15
- model.safetensors +2 -2
- runs/Apr01_22-16-46_Asus-ProArt-H7600ZX/events.out.tfevents.1712006206.Asus-ProArt-H7600ZX.40410.0 +3 -0
- runs/Apr01_22-19-09_Asus-ProArt-H7600ZX/events.out.tfevents.1712006349.Asus-ProArt-H7600ZX.42172.0 +3 -0
- runs/Apr01_22-19-50_Asus-ProArt-H7600ZX/events.out.tfevents.1712006391.Asus-ProArt-H7600ZX.42631.0 +3 -0
- runs/Apr01_22-20-26_Asus-ProArt-H7600ZX/events.out.tfevents.1712006427.Asus-ProArt-H7600ZX.43108.0 +3 -0
- tokenizer.json +8 -1
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
|
|
6 |
model-index:
|
7 |
- name: sentiment-analysis-model
|
8 |
results: []
|
@@ -13,9 +16,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# sentiment-analysis-model
|
15 |
|
16 |
-
This model is a fine-tuned version of [
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Loss: 0.
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -34,21 +39,20 @@ More information needed
|
|
34 |
### Training hyperparameters
|
35 |
|
36 |
The following hyperparameters were used during training:
|
37 |
-
- learning_rate:
|
38 |
- train_batch_size: 32
|
39 |
- eval_batch_size: 32
|
40 |
- seed: 42
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
- lr_scheduler_type: linear
|
43 |
-
- num_epochs:
|
44 |
|
45 |
### Training results
|
46 |
|
47 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
-
|
49 |
-
| No log | 1.0 |
|
50 |
-
| No log | 2.0 |
|
51 |
-
| No log | 3.0 | 339 | 0.2801 |
|
52 |
|
53 |
|
54 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: dumitrescustefan/bert-base-romanian-cased-v1
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
model-index:
|
10 |
- name: sentiment-analysis-model
|
11 |
results: []
|
|
|
16 |
|
17 |
# sentiment-analysis-model
|
18 |
|
19 |
+
This model is a fine-tuned version of [dumitrescustefan/bert-base-romanian-cased-v1](https://huggingface.co/dumitrescustefan/bert-base-romanian-cased-v1) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.2753
|
22 |
+
- Accuracy: 0.8974
|
23 |
+
- F1: 0.8976
|
24 |
|
25 |
## Model description
|
26 |
|
|
|
39 |
### Training hyperparameters
|
40 |
|
41 |
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 2e-05
|
43 |
- train_batch_size: 32
|
44 |
- eval_batch_size: 32
|
45 |
- seed: 42
|
46 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 2
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
54 |
+
| No log | 1.0 | 57 | 0.3388 | 0.8656 | 0.8639 |
|
55 |
+
| No log | 2.0 | 114 | 0.2753 | 0.8974 | 0.8976 |
|
|
|
56 |
|
57 |
|
58 |
### Framework versions
|
config.json
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
|
|
11 |
"initializer_range": 0.02,
|
|
|
|
|
12 |
"max_position_embeddings": 512,
|
13 |
-
"model_type": "
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"output_hidden_states": true,
|
17 |
"pad_token_id": 0,
|
|
|
18 |
"problem_type": "single_label_classification",
|
19 |
-
"qa_dropout": 0.1,
|
20 |
-
"seq_classif_dropout": 0.2,
|
21 |
-
"sinusoidal_pos_embds": true,
|
22 |
-
"tie_weights_": true,
|
23 |
"torch_dtype": "float32",
|
24 |
"transformers_version": "4.39.2",
|
|
|
|
|
25 |
"vocab_size": 50000
|
26 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dumitrescustefan/bert-base-romanian-cased-v1",
|
|
|
3 |
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"layer_norm_eps": 1e-12,
|
14 |
"max_position_embeddings": 512,
|
15 |
+
"model_type": "bert",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 12,
|
|
|
18 |
"pad_token_id": 0,
|
19 |
+
"position_embedding_type": "absolute",
|
20 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.39.2",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
"vocab_size": 50000
|
26 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f784c4f129ba71afaf6f738d74c85041fb3d7fd9d72da9f1a082185da4211320
|
3 |
+
size 497795072
|
runs/Apr01_22-16-46_Asus-ProArt-H7600ZX/events.out.tfevents.1712006206.Asus-ProArt-H7600ZX.40410.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:309a79080d95b70337f72ffd314475003fb385091d0570b5fb858a59556950f4
|
3 |
+
size 4184
|
runs/Apr01_22-19-09_Asus-ProArt-H7600ZX/events.out.tfevents.1712006349.Asus-ProArt-H7600ZX.42172.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34422d4ef1a6135aae013516f77ad25fb4514ca8a8a9bc4009ecbf9e6f9b061a
|
3 |
+
size 4562
|
runs/Apr01_22-19-50_Asus-ProArt-H7600ZX/events.out.tfevents.1712006391.Asus-ProArt-H7600ZX.42631.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1524492dc59e40a45474a0f626453eab3bd52e07d344b668df9970bdfee50f61
|
3 |
+
size 4184
|
runs/Apr01_22-20-26_Asus-ProArt-H7600ZX/events.out.tfevents.1712006427.Asus-ProArt-H7600ZX.43108.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ef0f76d792b2a2b47f7d096d5e728b908f90b1daa45bc303e8e8372ada4fd28
|
3 |
+
size 5634
|
tokenizer.json
CHANGED
@@ -1,7 +1,14 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
"truncation": null,
|
4 |
-
"padding":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
"truncation": null,
|
4 |
+
"padding": {
|
5 |
+
"strategy": "BatchLongest",
|
6 |
+
"direction": "Right",
|
7 |
+
"pad_to_multiple_of": null,
|
8 |
+
"pad_id": 0,
|
9 |
+
"pad_type_id": 0,
|
10 |
+
"pad_token": "[PAD]"
|
11 |
+
},
|
12 |
"added_tokens": [
|
13 |
{
|
14 |
"id": 0,
|
tokenizer_config.json
CHANGED
@@ -52,6 +52,6 @@
|
|
52 |
"sep_token": "[SEP]",
|
53 |
"strip_accents": null,
|
54 |
"tokenize_chinese_chars": true,
|
55 |
-
"tokenizer_class": "
|
56 |
"unk_token": "[UNK]"
|
57 |
}
|
|
|
52 |
"sep_token": "[SEP]",
|
53 |
"strip_accents": null,
|
54 |
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
"unk_token": "[UNK]"
|
57 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4920
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48b162ff6413de2ca7f8c24e7c67771d9aef10261758bd3bf39070b67e0d14d0
|
3 |
size 4920
|