Zlovoblachko commited on
Commit
f8a2f0e
·
verified ·
1 Parent(s): d92126b

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 CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
- license: apache-2.0
3
- base_model: distilbert-base-cased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
7
- - accuracy
8
  model-index:
9
  - name: L1-classifier-CopExp
10
  results: []
@@ -15,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # L1-classifier-CopExp
17
 
18
- This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.3605
21
- - Accuracy: 0.8664
22
 
23
  ## Model description
24
 
@@ -43,19 +43,22 @@ The following hyperparameters were used during training:
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
- - num_epochs: 2
47
 
48
  ### Training results
49
 
50
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
- | No log | 1.0 | 75 | 0.4595 | 0.8046 |
53
- | No log | 2.0 | 150 | 0.3605 | 0.8664 |
 
 
 
54
 
55
 
56
  ### Framework versions
57
 
58
- - Transformers 4.38.2
59
  - Pytorch 2.2.1+cu121
60
- - Datasets 2.18.0
61
- - Tokenizers 0.15.2
 
1
  ---
2
+ license: mit
3
+ base_model: FacebookAI/xlm-roberta-base
4
  tags:
5
  - generated_from_trainer
6
  metrics:
7
+ - f1
8
  model-index:
9
  - name: L1-classifier-CopExp
10
  results: []
 
15
 
16
  # L1-classifier-CopExp
17
 
18
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.4412
21
+ - F1: 0.7117
22
 
23
  ## Model description
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: 5
47
 
48
  ### Training results
49
 
50
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
51
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
52
+ | No log | 1.0 | 182 | 0.4110 | 0.6570 |
53
+ | No log | 2.0 | 364 | 0.3837 | 0.7136 |
54
+ | 0.1347 | 3.0 | 546 | 0.4063 | 0.6975 |
55
+ | 0.1347 | 4.0 | 728 | 0.3830 | 0.7240 |
56
+ | 0.1347 | 5.0 | 910 | 0.4412 | 0.7117 |
57
 
58
 
59
  ### Framework versions
60
 
61
+ - Transformers 4.40.1
62
  - Pytorch 2.2.1+cu121
63
+ - Datasets 2.19.1
64
+ - Tokenizers 0.19.1
config.json CHANGED
@@ -1,34 +1,37 @@
1
  {
2
- "_name_or_path": "distilbert-base-cased",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
 
 
11
  "id2label": {
12
  "0": "Other",
13
  "1": "CopExp"
14
  },
15
  "initializer_range": 0.02,
 
16
  "label2id": {
17
  "CopExp": 1,
18
  "Other": 0
19
  },
20
- "max_position_embeddings": 512,
21
- "model_type": "distilbert",
22
- "n_heads": 12,
23
- "n_layers": 6,
 
24
  "output_past": true,
25
- "pad_token_id": 0,
 
26
  "problem_type": "single_label_classification",
27
- "qa_dropout": 0.1,
28
- "seq_classif_dropout": 0.2,
29
- "sinusoidal_pos_embds": false,
30
- "tie_weights_": true,
31
  "torch_dtype": "float32",
32
- "transformers_version": "4.38.2",
33
- "vocab_size": 28996
 
 
34
  }
 
1
  {
2
+ "_name_or_path": "FacebookAI/xlm-roberta-base",
 
3
  "architectures": [
4
+ "XLMRobertaForSequenceClassification"
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": "Other",
15
  "1": "CopExp"
16
  },
17
  "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
  "label2id": {
20
  "CopExp": 1,
21
  "Other": 0
22
  },
23
+ "layer_norm_eps": 1e-05,
24
+ "max_position_embeddings": 514,
25
+ "model_type": "xlm-roberta",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
  "output_past": true,
29
+ "pad_token_id": 1,
30
+ "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
 
 
 
 
32
  "torch_dtype": "float32",
33
+ "transformers_version": "4.40.1",
34
+ "type_vocab_size": 1,
35
+ "use_cache": true,
36
+ "vocab_size": 250002
37
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:64e0b56f9526c62ace53938e1bc2df0c60eabccc65b3eced9062f19b120c093d
3
- size 263144680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03a401275c0af16193e660162b81e88e65a2c7bf43fdb1e57c67be45dec55d8e
3
+ size 1112205008
runs/May07_18-18-06_adaac59f58e7/events.out.tfevents.1715105887.adaac59f58e7.373.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:458702b83a40626d59c2a9fde9d835a164c7995414359db838f8e8f758cd8b7d
3
+ size 7083
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 CHANGED
@@ -1,7 +1,15 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
7
  }
 
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 CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,55 +1,54 @@
1
  {
2
  "added_tokens_decoder": {
3
  "0": {
4
- "content": "[PAD]",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
- "100": {
12
- "content": "[UNK]",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
- "101": {
20
- "content": "[CLS]",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
- "102": {
28
- "content": "[SEP]",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
- "103": {
36
- "content": "[MASK]",
37
- "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  }
43
  },
 
44
  "clean_up_tokenization_spaces": true,
45
- "cls_token": "[CLS]",
46
- "do_lower_case": false,
47
- "mask_token": "[MASK]",
48
  "model_max_length": 512,
49
- "pad_token": "[PAD]",
50
- "sep_token": "[SEP]",
51
- "strip_accents": null,
52
- "tokenize_chinese_chars": true,
53
- "tokenizer_class": "DistilBertTokenizer",
54
- "unk_token": "[UNK]"
55
  }
 
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:af81fac0dabfaf1aa0a52cf8e5faa2408990e7f1ccdb1e96ff49a5048e85bd13
3
- size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a5e930923accab177e14f5899d46bfe6719fbc2c57d7d2ec7f9a9294ba5c5c2
3
+ size 4984