End of training
Browse files- README.md +60 -1
- added_tokens.json +3 -0
- bpe.codes +0 -0
- config.json +30 -0
- model.safetensors +3 -0
- runs/Apr05_20-07-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712344076.LAPTOP-ANUS2U3C.14908.0 +3 -0
- runs/Apr05_20-07-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712346279.LAPTOP-ANUS2U3C.14908.1 +3 -0
- runs/Apr05_21-18-55_LAPTOP-ANUS2U3C/events.out.tfevents.1712348338.LAPTOP-ANUS2U3C.18032.0 +3 -0
- runs/Apr07_03-04-18_LAPTOP-ANUS2U3C/events.out.tfevents.1712455459.LAPTOP-ANUS2U3C.19316.0 +3 -0
- runs/Apr07_03-04-18_LAPTOP-ANUS2U3C/events.out.tfevents.1712457651.LAPTOP-ANUS2U3C.19316.1 +3 -0
- runs/Apr07_03-04-18_LAPTOP-ANUS2U3C/events.out.tfevents.1712460249.LAPTOP-ANUS2U3C.19316.2 +3 -0
- runs/Apr07_04-24-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712460297.LAPTOP-ANUS2U3C.19316.3 +3 -0
- runs/Apr07_04-24-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712462473.LAPTOP-ANUS2U3C.19316.4 +3 -0
- special_tokens_map.json +9 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
CHANGED
@@ -1,3 +1,62 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
base_model: finiteautomata/bertweet-base-sentiment-analysis
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- f1
|
8 |
+
- recall
|
9 |
+
- precision
|
10 |
+
model-index:
|
11 |
+
- name: finetuning-sentiment-model-1000-samples
|
12 |
+
results: []
|
13 |
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# finetuning-sentiment-model-1000-samples
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [finiteautomata/bertweet-base-sentiment-analysis](https://huggingface.co/finiteautomata/bertweet-base-sentiment-analysis) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.0417
|
23 |
+
- Accuracy: 0.9962
|
24 |
+
- F1: 0.9965
|
25 |
+
- Recall: 0.9977
|
26 |
+
- Precision: 0.9953
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 16
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 2
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.39.3
|
60 |
+
- Pytorch 1.13.1+cpu
|
61 |
+
- Datasets 2.18.0
|
62 |
+
- Tokenizers 0.15.2
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<mask>": 64000
|
3 |
+
}
|
bpe.codes
ADDED
The diff for this file is too large to render.
See raw diff
|
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "finiteautomata/bertweet-base-sentiment-analysis",
|
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 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 130,
|
18 |
+
"model_type": "roberta",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 12,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"problem_type": "single_label_classification",
|
24 |
+
"tokenizer_class": "BertweetTokenizer",
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.39.3",
|
27 |
+
"type_vocab_size": 1,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 64001
|
30 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed4a8e13f2b13f65ab4acf86aecc1d292350d29059d57669779c7e4d51530cfe
|
3 |
+
size 539630168
|
runs/Apr05_20-07-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712344076.LAPTOP-ANUS2U3C.14908.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:070f10b59186d9ca50239b69b3382f46eacfde3bd7b85347e0eabbaa064009be
|
3 |
+
size 5168
|
runs/Apr05_20-07-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712346279.LAPTOP-ANUS2U3C.14908.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3c0e1a92bd7171382d210cad578c6c9fd367771dd5452719c6ebdae28c64986
|
3 |
+
size 5182
|
runs/Apr05_21-18-55_LAPTOP-ANUS2U3C/events.out.tfevents.1712348338.LAPTOP-ANUS2U3C.18032.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a28e2778c4fe2434c21e8cc857be856514b78d0325917cd95a8d94c96ec8b6b
|
3 |
+
size 9948
|
runs/Apr07_03-04-18_LAPTOP-ANUS2U3C/events.out.tfevents.1712455459.LAPTOP-ANUS2U3C.19316.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15ab2aa6b21a8ce892df76f38aa804c850039716ce033f92d9063a0ff4a52dcf
|
3 |
+
size 5168
|
runs/Apr07_03-04-18_LAPTOP-ANUS2U3C/events.out.tfevents.1712457651.LAPTOP-ANUS2U3C.19316.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd1b0fd155d1971ed06d8844c693f0c4f61addaf1c7a5736542e35cbd78c0bb6
|
3 |
+
size 14728
|
runs/Apr07_03-04-18_LAPTOP-ANUS2U3C/events.out.tfevents.1712460249.LAPTOP-ANUS2U3C.19316.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58505a60ab3ac5297a9b0dbd6a6de0fd39390b52f32c1f268b513c7e90f26697
|
3 |
+
size 4820
|
runs/Apr07_04-24-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712460297.LAPTOP-ANUS2U3C.19316.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:844875d423b03731a079a01a44be34c7033e2fcacce7a3646d5d24651af71708
|
3 |
+
size 5168
|
runs/Apr07_04-24-56_LAPTOP-ANUS2U3C/events.out.tfevents.1712462473.LAPTOP-ANUS2U3C.19316.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3e8fdb879fa1d9d857319301fb9e510a64bafa8bd25c1fe8fd687c6460ec5f6
|
3 |
+
size 503
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"64000": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"ignore_mismatched_sizes": true,
|
49 |
+
"mask_token": "<mask>",
|
50 |
+
"model_max_length": 128,
|
51 |
+
"normalization": false,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "BertweetTokenizer",
|
55 |
+
"unk_token": "<unk>"
|
56 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84566d43c49a11fd65b84253db251d0bac32051e4427c0eba4bb1248f5d1a9fb
|
3 |
+
size 4539
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|