jjglilleberg commited on
Commit
fba6251
1 Parent(s): 22c27a8

Training completed!

Browse files
README.md CHANGED
@@ -1,27 +1,13 @@
1
  ---
2
  license: mit
 
3
  tags:
4
  - generated_from_trainer
5
- datasets:
6
- - xtreme
7
  metrics:
8
  - f1
9
  model-index:
10
  - name: xlm-roberta-base-finetuned-panx-fr
11
- results:
12
- - task:
13
- name: Token Classification
14
- type: token-classification
15
- dataset:
16
- name: xtreme
17
- type: xtreme
18
- config: PAN-X.fr
19
- split: train
20
- args: PAN-X.fr
21
- metrics:
22
- - name: F1
23
- type: f1
24
- value: 0.8366320026836633
25
  ---
26
 
27
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -29,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
29
 
30
  # xlm-roberta-base-finetuned-panx-fr
31
 
32
- This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the xtreme dataset.
33
  It achieves the following results on the evaluation set:
34
- - Loss: 0.3026
35
- - F1: 0.8366
36
 
37
  ## Model description
38
 
@@ -52,28 +38,25 @@ More information needed
52
 
53
  The following hyperparameters were used during training:
54
  - learning_rate: 5e-05
55
- - train_batch_size: 4
56
- - eval_batch_size: 4
57
  - seed: 42
58
- - gradient_accumulation_steps: 4
59
- - total_train_batch_size: 16
60
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
  - lr_scheduler_type: linear
62
  - num_epochs: 3
63
- - mixed_precision_training: Native AMP
64
 
65
  ### Training results
66
 
67
  | Training Loss | Epoch | Step | Validation Loss | F1 |
68
  |:-------------:|:-----:|:----:|:---------------:|:------:|
69
- | No log | 1.0 | 286 | 0.3632 | 0.7838 |
70
- | No log | 2.0 | 572 | 0.3108 | 0.8160 |
71
- | No log | 3.0 | 858 | 0.3026 | 0.8366 |
72
 
73
 
74
  ### Framework versions
75
 
76
- - Transformers 4.25.1
77
- - Pytorch 1.13.0+cu116
78
- - Datasets 2.8.0
79
- - Tokenizers 0.13.2
 
1
  ---
2
  license: mit
3
+ base_model: xlm-roberta-base
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - f1
8
  model-index:
9
  - name: xlm-roberta-base-finetuned-panx-fr
10
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
15
 
16
  # xlm-roberta-base-finetuned-panx-fr
17
 
18
+ This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.2750
21
+ - F1: 0.8495
22
 
23
  ## Model description
24
 
 
38
 
39
  The following hyperparameters were used during training:
40
  - learning_rate: 5e-05
41
+ - train_batch_size: 24
42
+ - eval_batch_size: 24
43
  - seed: 42
 
 
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
  - num_epochs: 3
 
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | F1 |
51
  |:-------------:|:-----:|:----:|:---------------:|:------:|
52
+ | 0.5647 | 1.0 | 191 | 0.3242 | 0.7728 |
53
+ | 0.2671 | 2.0 | 382 | 0.2672 | 0.8202 |
54
+ | 0.1744 | 3.0 | 573 | 0.2750 | 0.8495 |
55
 
56
 
57
  ### Framework versions
58
 
59
+ - Transformers 4.38.2
60
+ - Pytorch 2.2.1+cu121
61
+ - Datasets 2.18.0
62
+ - Tokenizers 0.15.2
config.json CHANGED
@@ -40,7 +40,7 @@
40
  "pad_token_id": 1,
41
  "position_embedding_type": "absolute",
42
  "torch_dtype": "float32",
43
- "transformers_version": "4.25.1",
44
  "type_vocab_size": 1,
45
  "use_cache": true,
46
  "vocab_size": 250002
 
40
  "pad_token_id": 1,
41
  "position_embedding_type": "absolute",
42
  "torch_dtype": "float32",
43
+ "transformers_version": "4.38.2",
44
  "type_vocab_size": 1,
45
  "use_cache": true,
46
  "vocab_size": 250002
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4b55830c5129ad0002e3e3d4274be61516b188f4caf925b7a55b2a9c38d58c8
3
+ size 1109860880
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2c509a525eb51aebb33fb59c24ee923c1d4c1db23c3ae81fe05ccf354084f7b
3
- size 17082758
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a4661b2cb6b8a1007906509fe18cbfbc03062a086102bf7b80cfedb80f16c37
3
+ size 17082854
tokenizer_config.json CHANGED
@@ -1,20 +1,54 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "bos_token": "<s>",
 
3
  "cls_token": "<s>",
4
  "eos_token": "</s>",
5
- "mask_token": {
6
- "__type": "AddedToken",
7
- "content": "<mask>",
8
- "lstrip": true,
9
- "normalized": true,
10
- "rstrip": false,
11
- "single_word": false
12
- },
13
  "model_max_length": 512,
14
- "name_or_path": "xlm-roberta-base",
15
  "pad_token": "<pad>",
16
  "sep_token": "</s>",
17
- "special_tokens_map_file": null,
18
  "tokenizer_class": "XLMRobertaTokenizer",
19
  "unk_token": "<unk>"
20
  }
 
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:26c0d1a09c36e34cfe6692f62527a8454ad39f35eec3acc68e8fb760ed4cb42e
3
- size 3515
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bcd026dcc32925a68f495a3bd70fd18901a2b789e20df994b9783b9bb32daf8
3
+ size 4984