Kimata commited on
Commit
170455a
·
verified ·
1 Parent(s): 8f2e3d9

Kimata/roberta-rawtext2

Browse files
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: results1
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # results1
21
+
22
+ This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0207
25
+ - Accuracy: 0.9960
26
+ - Precision: 0.9960
27
+ - Recall: 0.9960
28
+ - F1: 0.9960
29
+ - Roc Auc: 0.9998
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 1e-05
49
+ - train_batch_size: 64
50
+ - eval_batch_size: 64
51
+ - seed: 42
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: linear
54
+ - num_epochs: 3
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Roc Auc |
59
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|
60
+ | 0.0672 | 0.2202 | 500 | 0.0532 | 0.9832 | 0.9833 | 0.9832 | 0.9832 | 0.9985 |
61
+ | 0.0369 | 0.4403 | 1000 | 0.0380 | 0.9886 | 0.9886 | 0.9886 | 0.9886 | 0.9992 |
62
+ | 0.0347 | 0.6605 | 1500 | 0.0298 | 0.9910 | 0.9910 | 0.9910 | 0.9910 | 0.9995 |
63
+ | 0.0382 | 0.8807 | 2000 | 0.0265 | 0.9922 | 0.9922 | 0.9922 | 0.9922 | 0.9995 |
64
+ | 0.0209 | 1.1008 | 2500 | 0.0228 | 0.9942 | 0.9942 | 0.9942 | 0.9942 | 0.9997 |
65
+ | 0.0558 | 1.3210 | 3000 | 0.0245 | 0.9947 | 0.9947 | 0.9947 | 0.9947 | 0.9997 |
66
+ | 0.0184 | 1.5412 | 3500 | 0.0299 | 0.9931 | 0.9932 | 0.9931 | 0.9931 | 0.9997 |
67
+ | 0.0021 | 1.7613 | 4000 | 0.0215 | 0.9949 | 0.9949 | 0.9949 | 0.9949 | 0.9998 |
68
+ | 0.0296 | 1.9815 | 4500 | 0.0250 | 0.9936 | 0.9936 | 0.9936 | 0.9936 | 0.9998 |
69
+ | 0.0012 | 2.2017 | 5000 | 0.0211 | 0.9955 | 0.9955 | 0.9955 | 0.9955 | 0.9998 |
70
+ | 0.0078 | 2.4218 | 5500 | 0.0212 | 0.9961 | 0.9961 | 0.9961 | 0.9961 | 0.9998 |
71
+ | 0.0009 | 2.6420 | 6000 | 0.0239 | 0.9952 | 0.9952 | 0.9952 | 0.9952 | 0.9998 |
72
+ | 0.0105 | 2.8622 | 6500 | 0.0209 | 0.9956 | 0.9956 | 0.9956 | 0.9956 | 0.9998 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.53.3
78
+ - Pytorch 2.6.0+cu124
79
+ - Datasets 4.4.1
80
+ - Tokenizers 0.21.2
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 514,
16
+ "model_type": "roberta",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 1,
20
+ "position_embedding_type": "absolute",
21
+ "problem_type": "single_label_classification",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.53.3",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 50265
27
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d9367d7c466d2324f788d95474de6ddb376d110e2d1cd2a3a7065e62704c105
3
+ size 498612824
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "model_max_length": 512,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6100e54df3c7930b4856b9dbf725ac68042b7d490b6d9c9f76d7f6caf5d73883
3
+ size 5304
vocab.json ADDED
The diff for this file is too large to render. See raw diff