nicolauduran45 commited on
Commit
e84b4ca
·
verified ·
1 Parent(s): 3668810

SIRIS-Lab/acty2de-roberta_lvl1_ctx

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: FacebookAI/roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: roberta_lvl2_ctx
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # roberta_lvl2_ctx
18
+
19
+ This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.8983
22
+ - Accuracy: 0.7565
23
+ - F1 Macro: 0.5022
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 4
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | No log | 1.0 | 388 | 1.1432 | 0.6551 | 0.3238 |
55
+ | 1.506 | 2.0 | 776 | 0.8958 | 0.7435 | 0.4554 |
56
+ | 0.783 | 3.0 | 1164 | 0.8896 | 0.7522 | 0.4774 |
57
+ | 0.5372 | 4.0 | 1552 | 0.8983 | 0.7565 | 0.5022 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.57.1
63
+ - Pytorch 2.9.0+cu126
64
+ - Datasets 4.0.0
65
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "EDU.primary",
15
+ "1": "EDU.secondary",
16
+ "2": "EDU.vocational",
17
+ "3": "HEA.hospital",
18
+ "4": "HEA.network",
19
+ "5": "HEA.non_hospital_care",
20
+ "6": "HEA.other",
21
+ "7": "HEI.institution",
22
+ "8": "HEI.other",
23
+ "9": "Individual",
24
+ "10": "OTH.general",
25
+ "11": "OTH.learned_society",
26
+ "12": "OTH.museum",
27
+ "13": "OTH.network",
28
+ "14": "OTH.oth",
29
+ "15": "PRC.large",
30
+ "16": "PRC.sme",
31
+ "17": "PUB.intl",
32
+ "18": "PUB.local",
33
+ "19": "PUB.national",
34
+ "20": "PUB.regional",
35
+ "21": "REC.facility",
36
+ "22": "REC.institute",
37
+ "23": "REC.lab",
38
+ "24": "REC.other",
39
+ "25": "Unknown"
40
+ },
41
+ "initializer_range": 0.02,
42
+ "intermediate_size": 3072,
43
+ "label2id": {
44
+ "EDU.primary": 0,
45
+ "EDU.secondary": 1,
46
+ "EDU.vocational": 2,
47
+ "HEA.hospital": 3,
48
+ "HEA.network": 4,
49
+ "HEA.non_hospital_care": 5,
50
+ "HEA.other": 6,
51
+ "HEI.institution": 7,
52
+ "HEI.other": 8,
53
+ "Individual": 9,
54
+ "OTH.general": 10,
55
+ "OTH.learned_society": 11,
56
+ "OTH.museum": 12,
57
+ "OTH.network": 13,
58
+ "OTH.oth": 14,
59
+ "PRC.large": 15,
60
+ "PRC.sme": 16,
61
+ "PUB.intl": 17,
62
+ "PUB.local": 18,
63
+ "PUB.national": 19,
64
+ "PUB.regional": 20,
65
+ "REC.facility": 21,
66
+ "REC.institute": 22,
67
+ "REC.lab": 23,
68
+ "REC.other": 24,
69
+ "Unknown": 25
70
+ },
71
+ "layer_norm_eps": 1e-05,
72
+ "max_position_embeddings": 514,
73
+ "model_type": "roberta",
74
+ "num_attention_heads": 12,
75
+ "num_hidden_layers": 12,
76
+ "pad_token_id": 1,
77
+ "position_embedding_type": "absolute",
78
+ "problem_type": "single_label_classification",
79
+ "transformers_version": "4.57.1",
80
+ "type_vocab_size": 1,
81
+ "use_cache": true,
82
+ "vocab_size": 50265
83
+ }
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:b88fb73760f5e0ea192b1d3108c234fce9fea98a672fb8aac1a19817a271f5e6
3
+ size 498686648
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:f4a5975ca660c22426f0679946e19096fb5d17fce2ed99944acd1b5472a88812
3
+ size 5777
vocab.json ADDED
The diff for this file is too large to render. See raw diff