hichamH commited on
Commit
37af360
1 Parent(s): d2c7035

End of training

Browse files
README.md CHANGED
@@ -1,8 +1,10 @@
1
  ---
2
- license: apache-2.0
3
- base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
 
 
6
  model-index:
7
  - name: fine-tuned-distilbert-base-uncased
8
  results: []
@@ -13,15 +15,11 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # fine-tuned-distilbert-base-uncased
15
 
16
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - eval_loss: 0.6919
19
- - eval_accuracy: {'accuracy': 0.8823529411764706}
20
- - eval_f1score: {'f1': 0.8823529411764706}
21
- - eval_runtime: 1.7269
22
- - eval_samples_per_second: 9.844
23
- - eval_steps_per_second: 1.737
24
- - step: 0
25
 
26
  ## Model description
27
 
@@ -49,6 +47,10 @@ The following hyperparameters were used during training:
49
  - lr_scheduler_warmup_steps: 85
50
  - num_epochs: 50
51
 
 
 
 
 
52
  ### Framework versions
53
 
54
  - Transformers 4.35.0
 
1
  ---
2
+ license: mit
3
+ base_model: cmarkea/distilcamembert-base-sentiment
4
  tags:
5
  - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
  model-index:
9
  - name: fine-tuned-distilbert-base-uncased
10
  results: []
 
15
 
16
  # fine-tuned-distilbert-base-uncased
17
 
18
+ This model is a fine-tuned version of [cmarkea/distilcamembert-base-sentiment](https://huggingface.co/cmarkea/distilcamembert-base-sentiment) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.0005
21
+ - Accuracy: {'accuracy': 1.0}
22
+ - F1score: {'f1': 1.0}
 
 
 
 
23
 
24
  ## Model description
25
 
 
47
  - lr_scheduler_warmup_steps: 85
48
  - num_epochs: 50
49
 
50
+ ### Training results
51
+
52
+
53
+
54
  ### Framework versions
55
 
56
  - Transformers 4.35.0
config.json CHANGED
@@ -1,25 +1,29 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased",
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
  "initializer_range": 0.02,
12
- "max_position_embeddings": 512,
13
- "model_type": "distilbert",
14
- "n_heads": 12,
15
- "n_layers": 6,
16
- "pad_token_id": 0,
 
 
 
17
  "problem_type": "single_label_classification",
18
- "qa_dropout": 0.1,
19
- "seq_classif_dropout": 0.2,
20
- "sinusoidal_pos_embds": false,
21
- "tie_weights_": true,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.35.0",
24
- "vocab_size": 30522
 
 
25
  }
 
1
  {
2
+ "_name_or_path": "cmarkea/distilcamembert-base-sentiment",
 
3
  "architectures": [
4
+ "CamembertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
  "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 514,
18
+ "model_type": "camembert",
19
+ "num_attention_heads": 12,
20
+ "num_hidden_layers": 6,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
  "problem_type": "single_label_classification",
 
 
 
 
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.35.0",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 32005
29
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c48a8f4d4a6ba7d2e2ab0ce78639142f3f34eee13d9737d8fa62ea285d345e59
3
- size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a5564144606d7b989f347b2d2bb36f9018e84995b77a38c9d97bc0883f4dca2
3
+ size 272397560
runs/Nov05_15-32-57_f50f745bb4ea/events.out.tfevents.1699198392.f50f745bb4ea.175.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6af4a5fa3b7eb042570566c1e420a3f6dea1d9a4ccba4212ab899e14dd2eaabb
3
+ size 13534
runs/Nov05_15-32-57_f50f745bb4ea/events.out.tfevents.1699198578.f50f745bb4ea.175.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b95268910c2f17ffb506baaccc548c6a7f0690463a6e50e5f327034c383a8478
3
+ size 359
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:988bc5a00281c6d210a5d34bd143d0363741a432fefe741bf71e61b1869d4314
3
+ size 810912
special_tokens_map.json CHANGED
@@ -1,7 +1,19 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED"
5
+ ],
6
+ "bos_token": "<s>",
7
+ "cls_token": "<s>",
8
+ "eos_token": "</s>",
9
+ "mask_token": {
10
+ "content": "<mask>",
11
+ "lstrip": true,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<pad>",
17
+ "sep_token": "</s>",
18
+ "unk_token": "<unk>"
19
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,55 +1,75 @@
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": true,
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>NOTUSED",
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>NOTUSED",
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
+ "5": {
36
+ "content": "<s>",
37
  "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
+ },
43
+ "6": {
44
+ "content": "</s>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "32004": {
52
+ "content": "<mask>",
53
+ "lstrip": true,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
  }
59
  },
60
+ "additional_special_tokens": [
61
+ "<s>NOTUSED",
62
+ "</s>NOTUSED"
63
+ ],
64
+ "bos_token": "<s>",
65
  "clean_up_tokenization_spaces": true,
66
+ "cls_token": "<s>",
67
+ "eos_token": "</s>",
68
+ "mask_token": "<mask>",
69
  "model_max_length": 512,
70
+ "pad_token": "<pad>",
71
+ "sep_token": "</s>",
72
+ "sp_model_kwargs": {},
73
+ "tokenizer_class": "CamembertTokenizer",
74
+ "unk_token": "<unk>"
 
75
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:03796e34329323309a49ad77d63cbd5d0f38cea0b517ef0b7fa368a6276cf85d
3
  size 4600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c87137a3d47e8938749684e49c9591ba0e0f3f6e02483c97d4ce7d06e84da548
3
  size 4600