nhidinh2 commited on
Commit
aa12a13
1 Parent(s): eb5aa58

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: xlm-roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: xlm-roberta-base-finetuned-ner-thesis-dseb
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # xlm-roberta-base-finetuned-ner-thesis-dseb
20
+
21
+ This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.1471
24
+ - Precision: 0.7995
25
+ - Recall: 0.9088
26
+ - F1: 0.8506
27
+ - Accuracy: 0.9605
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 32
48
+ - eval_batch_size: 32
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 1.7775 | 1.0 | 31 | 0.3746 | 0.6199 | 0.6839 | 0.6503 | 0.8978 |
59
+ | 0.1886 | 2.0 | 62 | 0.0734 | 0.9590 | 0.9301 | 0.9444 | 0.9875 |
60
+ | 0.0821 | 3.0 | 93 | 0.0413 | 0.9697 | 0.9651 | 0.9674 | 0.9928 |
61
+ | 0.0427 | 4.0 | 124 | 0.0400 | 0.9491 | 0.9635 | 0.9562 | 0.9911 |
62
+ | 0.0352 | 5.0 | 155 | 0.0397 | 0.9421 | 0.9571 | 0.9496 | 0.9899 |
63
+ | 0.0315 | 6.0 | 186 | 0.0410 | 0.9371 | 0.9579 | 0.9474 | 0.9895 |
64
+ | 0.0344 | 7.0 | 217 | 0.0386 | 0.9612 | 0.9643 | 0.9627 | 0.9922 |
65
+ | 0.0292 | 8.0 | 248 | 0.0383 | 0.9574 | 0.9651 | 0.9612 | 0.9921 |
66
+ | 0.0286 | 9.0 | 279 | 0.0387 | 0.9543 | 0.9619 | 0.9581 | 0.9913 |
67
+ | 0.0259 | 10.0 | 310 | 0.0415 | 0.9430 | 0.9595 | 0.9512 | 0.9901 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.42.3
73
+ - Pytorch 2.3.0+cu121
74
+ - Datasets 2.20.0
75
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
3
+ "architectures": [
4
+ "XLMRobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-NAME",
16
+ "2": "I-NAME",
17
+ "3": "B-DATE",
18
+ "4": "I-DATE",
19
+ "5": "B-UNI",
20
+ "6": "I-UNI",
21
+ "7": "B-MAJ",
22
+ "8": "I-MAJ",
23
+ "9": "B-MAIL",
24
+ "10": "I-MAIL",
25
+ "11": "B-UNI_ABRREV",
26
+ "12": "I-PHONE"
27
+ },
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "B-DATE": 3,
32
+ "B-MAIL": 9,
33
+ "B-MAJ": 7,
34
+ "B-NAME": 1,
35
+ "B-UNI": 5,
36
+ "B-UNI_ABBREV": 11,
37
+ "I-DATE": 4,
38
+ "I-MAIL": 10,
39
+ "I-MAJ": 8,
40
+ "I-NAME": 2,
41
+ "I-PHONE": 12,
42
+ "I-UNI": 6,
43
+ "O": 0
44
+ },
45
+ "layer_norm_eps": 1e-05,
46
+ "max_position_embeddings": 514,
47
+ "model_type": "xlm-roberta",
48
+ "num_attention_heads": 12,
49
+ "num_hidden_layers": 12,
50
+ "output_past": true,
51
+ "pad_token_id": 1,
52
+ "position_embedding_type": "absolute",
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.42.3",
55
+ "type_vocab_size": 1,
56
+ "use_cache": true,
57
+ "vocab_size": 250002
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13cecb2a6666b1ff8f1229bb2448e808e6c397b4542736c221a9a928e4522565
3
+ size 1109876260
runs/Jul02_08-39-37_20cb1e4754d1/events.out.tfevents.1719910174.20cb1e4754d1.282.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d21243dd7c73912d640dca834b0756480f831b496e6257e50055df2b068e0103
3
+ size 13638
runs/Jul02_08-39-37_20cb1e4754d1/events.out.tfevents.1719910363.20cb1e4754d1.282.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b914329ff735f2bc569d69325e1e2f2a72620464582a402c326d692a74cbf995
3
+ size 1032
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8373f9cd3d27591e1924426bcc1c8799bc5a9affc4fc857982c5d66668dd1f41
3
+ size 17082832
tokenizer_config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
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
+ "mask_token": "<mask>",
49
+ "model_max_length": 512,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "XLMRobertaTokenizer",
53
+ "unk_token": "<unk>"
54
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:527e9c3d048bd7bc6abe2e63ff7b8e37110134364244cee2292407ff334ca3b9
3
+ size 5176