zerouani commited on
Commit
9c6362d
·
verified ·
1 Parent(s): 5cc1c6a

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,199 +1,64 @@
1
  ---
2
  library_name: transformers
3
- tags: []
 
 
 
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
 
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
9
 
 
 
 
 
 
 
 
10
 
 
11
 
12
- ## Model Details
13
 
14
- ### Model Description
15
 
16
- <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
- ### Model Sources [optional]
29
 
30
- <!-- Provide the basic links for the model. -->
31
 
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
 
 
 
 
 
35
 
36
- ## Uses
37
 
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
 
40
- ### Direct Use
41
 
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
 
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
 
1
  ---
2
  library_name: transformers
3
+ license: mit
4
+ base_model: camembert-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: camembert_emergency_classifier
14
+ results: []
15
  ---
16
 
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
 
20
+ # camembert_emergency_classifier
21
 
22
+ This model is a fine-tuned version of [camembert-base](https://huggingface.co/camembert-base) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0555
25
+ - Accuracy: {'accuracy': 0.9890965732087228}
26
+ - Precision: {'precision': 0.9885321100917431}
27
+ - Recall: {'recall': 0.9953810623556582}
28
+ - F1: {'f1': 0.9919447640966629}
29
 
30
+ ## Model description
31
 
32
+ More information needed
33
 
34
+ ## Intended uses & limitations
35
 
36
+ More information needed
37
 
38
+ ## Training and evaluation data
39
 
40
+ More information needed
 
 
 
 
 
 
41
 
42
+ ## Training procedure
43
 
44
+ ### Training hyperparameters
45
 
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 4
54
 
55
+ ### Training results
56
 
 
57
 
 
58
 
59
+ ### Framework versions
60
 
61
+ - Transformers 4.57.3
62
+ - Pytorch 2.9.0+cu126
63
+ - Datasets 4.0.0
64
+ - Tokenizers 0.22.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-500/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<unk>NOTUSED": 32005
3
+ }
checkpoint-500/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CamembertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 5,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 6,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "camembert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "problem_type": "single_label_classification",
24
+ "transformers_version": "4.57.3",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 32005
28
+ }
checkpoint-500/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4339bfd319c2bc5d61774a5469478ab3419665ad711a21d84348a370b8704ac1
3
+ size 442518104
checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8eb4b3f25c9f2b6d02091082436ac00a8e7cc1dd92aec9728accd996c96faf9
3
+ size 885150859
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3547c3e3397077494dfa1228a1502a2376fb47df5b728181f94d48e2c4180dd7
3
+ size 14455
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c444176ef70d45ed492a4e66632ad6b6d4bc3a5c3b95f1c9693db5bbdf1daf3
3
+ size 1465
checkpoint-500/sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:988bc5a00281c6d210a5d34bd143d0363741a432fefe741bf71e61b1869d4314
3
+ size 810912
checkpoint-500/special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED",
5
+ "<unk>NOTUSED"
6
+ ],
7
+ "bos_token": "<s>",
8
+ "cls_token": "<s>",
9
+ "eos_token": "</s>",
10
+ "mask_token": {
11
+ "content": "<mask>",
12
+ "lstrip": true,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "unk_token": "<unk>"
20
+ }
checkpoint-500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "4": {
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
+ "32005": {
60
+ "content": "<unk>NOTUSED",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ }
67
+ },
68
+ "additional_special_tokens": [
69
+ "<s>NOTUSED",
70
+ "</s>NOTUSED",
71
+ "<unk>NOTUSED"
72
+ ],
73
+ "bos_token": "<s>",
74
+ "clean_up_tokenization_spaces": false,
75
+ "cls_token": "<s>",
76
+ "eos_token": "</s>",
77
+ "extra_special_tokens": {},
78
+ "mask_token": "<mask>",
79
+ "model_max_length": 512,
80
+ "pad_token": "<pad>",
81
+ "sep_token": "</s>",
82
+ "tokenizer_class": "CamembertTokenizer",
83
+ "unk_token": "<unk>"
84
+ }
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.6595744680851063,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.26595744680851063,
14
+ "grad_norm": 1.2328425645828247,
15
+ "learning_rate": 1.86968085106383e-05,
16
+ "loss": 0.4686,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.5319148936170213,
21
+ "grad_norm": 0.386553555727005,
22
+ "learning_rate": 1.7367021276595745e-05,
23
+ "loss": 0.1176,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.7978723404255319,
28
+ "grad_norm": 0.22374024987220764,
29
+ "learning_rate": 1.6037234042553193e-05,
30
+ "loss": 0.0762,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 1.0638297872340425,
35
+ "grad_norm": 0.14693760871887207,
36
+ "learning_rate": 1.470744680851064e-05,
37
+ "loss": 0.0313,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 1.3297872340425532,
42
+ "grad_norm": 0.11578439176082611,
43
+ "learning_rate": 1.3377659574468087e-05,
44
+ "loss": 0.037,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 1.5957446808510638,
49
+ "grad_norm": 0.6394256949424744,
50
+ "learning_rate": 1.2047872340425532e-05,
51
+ "loss": 0.0457,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 1.8617021276595744,
56
+ "grad_norm": 0.06856352090835571,
57
+ "learning_rate": 1.071808510638298e-05,
58
+ "loss": 0.0243,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 2.127659574468085,
63
+ "grad_norm": 2.1185781955718994,
64
+ "learning_rate": 9.388297872340426e-06,
65
+ "loss": 0.0478,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 2.393617021276596,
70
+ "grad_norm": 0.05935892090201378,
71
+ "learning_rate": 8.058510638297873e-06,
72
+ "loss": 0.0082,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 2.6595744680851063,
77
+ "grad_norm": 0.10355275124311447,
78
+ "learning_rate": 6.72872340425532e-06,
79
+ "loss": 0.0273,
80
+ "step": 500
81
+ }
82
+ ],
83
+ "logging_steps": 50,
84
+ "max_steps": 752,
85
+ "num_input_tokens_seen": 0,
86
+ "num_train_epochs": 4,
87
+ "save_steps": 500,
88
+ "stateful_callbacks": {
89
+ "TrainerControl": {
90
+ "args": {
91
+ "should_epoch_stop": false,
92
+ "should_evaluate": false,
93
+ "should_log": false,
94
+ "should_save": true,
95
+ "should_training_stop": false
96
+ },
97
+ "attributes": {}
98
+ }
99
+ },
100
+ "total_flos": 262190166666240.0,
101
+ "train_batch_size": 8,
102
+ "trial_name": null,
103
+ "trial_params": null
104
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1528523878f18f360534f9a172deb21768487cfb046b964b9d5e520a2c79661
3
+ size 5841
checkpoint-752/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<unk>NOTUSED": 32005
3
+ }
checkpoint-752/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CamembertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 5,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 6,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "camembert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "problem_type": "single_label_classification",
24
+ "transformers_version": "4.57.3",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 32005
28
+ }
checkpoint-752/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30724ddf7a4b756d3d0f4f4cb3ba8c64d05153f92d464e8eddd9602246f278f9
3
+ size 442518104
checkpoint-752/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a75cffc7fc54bb7edf6e3c1241ec6e427e1d5cf2714909e7ba53804a6884e1
3
+ size 885150859
checkpoint-752/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:074e32bab35ccc92fd03ae613dc1fa0736c7d3f6e08e2a1963cb2bd7ebcc066b
3
+ size 14455
checkpoint-752/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2eeca89c9436d22364c31777a81478ab1f757b2c551f81758ef417d331c47f4
3
+ size 1465
checkpoint-752/sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:988bc5a00281c6d210a5d34bd143d0363741a432fefe741bf71e61b1869d4314
3
+ size 810912
checkpoint-752/special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED",
5
+ "<unk>NOTUSED"
6
+ ],
7
+ "bos_token": "<s>",
8
+ "cls_token": "<s>",
9
+ "eos_token": "</s>",
10
+ "mask_token": {
11
+ "content": "<mask>",
12
+ "lstrip": true,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "unk_token": "<unk>"
20
+ }
checkpoint-752/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-752/tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "4": {
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
+ "32005": {
60
+ "content": "<unk>NOTUSED",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ }
67
+ },
68
+ "additional_special_tokens": [
69
+ "<s>NOTUSED",
70
+ "</s>NOTUSED",
71
+ "<unk>NOTUSED"
72
+ ],
73
+ "bos_token": "<s>",
74
+ "clean_up_tokenization_spaces": false,
75
+ "cls_token": "<s>",
76
+ "eos_token": "</s>",
77
+ "extra_special_tokens": {},
78
+ "mask_token": "<mask>",
79
+ "model_max_length": 512,
80
+ "pad_token": "<pad>",
81
+ "sep_token": "</s>",
82
+ "tokenizer_class": "CamembertTokenizer",
83
+ "unk_token": "<unk>"
84
+ }
checkpoint-752/trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 752,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.26595744680851063,
14
+ "grad_norm": 1.2328425645828247,
15
+ "learning_rate": 1.86968085106383e-05,
16
+ "loss": 0.4686,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.5319148936170213,
21
+ "grad_norm": 0.386553555727005,
22
+ "learning_rate": 1.7367021276595745e-05,
23
+ "loss": 0.1176,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.7978723404255319,
28
+ "grad_norm": 0.22374024987220764,
29
+ "learning_rate": 1.6037234042553193e-05,
30
+ "loss": 0.0762,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 1.0638297872340425,
35
+ "grad_norm": 0.14693760871887207,
36
+ "learning_rate": 1.470744680851064e-05,
37
+ "loss": 0.0313,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 1.3297872340425532,
42
+ "grad_norm": 0.11578439176082611,
43
+ "learning_rate": 1.3377659574468087e-05,
44
+ "loss": 0.037,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 1.5957446808510638,
49
+ "grad_norm": 0.6394256949424744,
50
+ "learning_rate": 1.2047872340425532e-05,
51
+ "loss": 0.0457,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 1.8617021276595744,
56
+ "grad_norm": 0.06856352090835571,
57
+ "learning_rate": 1.071808510638298e-05,
58
+ "loss": 0.0243,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 2.127659574468085,
63
+ "grad_norm": 2.1185781955718994,
64
+ "learning_rate": 9.388297872340426e-06,
65
+ "loss": 0.0478,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 2.393617021276596,
70
+ "grad_norm": 0.05935892090201378,
71
+ "learning_rate": 8.058510638297873e-06,
72
+ "loss": 0.0082,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 2.6595744680851063,
77
+ "grad_norm": 0.10355275124311447,
78
+ "learning_rate": 6.72872340425532e-06,
79
+ "loss": 0.0273,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 2.925531914893617,
84
+ "grad_norm": 0.04787156358361244,
85
+ "learning_rate": 5.398936170212766e-06,
86
+ "loss": 0.0454,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 3.1914893617021276,
91
+ "grad_norm": 0.05281802639365196,
92
+ "learning_rate": 4.069148936170213e-06,
93
+ "loss": 0.0138,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 3.4574468085106385,
98
+ "grad_norm": 0.05166658014059067,
99
+ "learning_rate": 2.73936170212766e-06,
100
+ "loss": 0.0218,
101
+ "step": 650
102
+ },
103
+ {
104
+ "epoch": 3.723404255319149,
105
+ "grad_norm": 0.03987126052379608,
106
+ "learning_rate": 1.4095744680851064e-06,
107
+ "loss": 0.0061,
108
+ "step": 700
109
+ },
110
+ {
111
+ "epoch": 3.9893617021276597,
112
+ "grad_norm": 0.04937225580215454,
113
+ "learning_rate": 7.978723404255319e-08,
114
+ "loss": 0.0303,
115
+ "step": 750
116
+ }
117
+ ],
118
+ "logging_steps": 50,
119
+ "max_steps": 752,
120
+ "num_input_tokens_seen": 0,
121
+ "num_train_epochs": 4,
122
+ "save_steps": 500,
123
+ "stateful_callbacks": {
124
+ "TrainerControl": {
125
+ "args": {
126
+ "should_epoch_stop": false,
127
+ "should_evaluate": false,
128
+ "should_log": false,
129
+ "should_save": true,
130
+ "should_training_stop": true
131
+ },
132
+ "attributes": {}
133
+ }
134
+ },
135
+ "total_flos": 393877249873920.0,
136
+ "train_batch_size": 8,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
checkpoint-752/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1528523878f18f360534f9a172deb21768487cfb046b964b9d5e520a2c79661
3
+ size 5841
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CamembertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 5,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 6,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "camembert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "problem_type": "single_label_classification",
24
+ "transformers_version": "4.57.3",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 32005
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30724ddf7a4b756d3d0f4f4cb3ba8c64d05153f92d464e8eddd9602246f278f9
3
+ size 442518104
runs/Nov30_20-48-12_f02ac49e0d67/events.out.tfevents.1764535696.f02ac49e0d67.2792.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2344aaabe2c932b8a319fe2c7b645844479b3cc9d3a342ba8d441073353b3a5
3
+ size 8598
runs/Nov30_20-48-12_f02ac49e0d67/events.out.tfevents.1764545363.f02ac49e0d67.2792.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6255e01795898e80cd3db0121a3ce4fc1892d809cbd683577a53d3aeff6169da
3
+ size 359
special_tokens_map.json CHANGED
@@ -4,9 +4,27 @@
4
  "</s>NOTUSED",
5
  "<unk>NOTUSED"
6
  ],
7
- "bos_token": "<s>",
8
- "cls_token": "<s>",
9
- "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "mask_token": {
11
  "content": "<mask>",
12
  "lstrip": true,
@@ -14,7 +32,25 @@
14
  "rstrip": false,
15
  "single_word": false
16
  },
17
- "pad_token": "<pad>",
18
- "sep_token": "</s>",
19
- "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
 
4
  "</s>NOTUSED",
5
  "<unk>NOTUSED"
6
  ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "cls_token": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "eos_token": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
  "mask_token": {
29
  "content": "<mask>",
30
  "lstrip": true,
 
32
  "rstrip": false,
33
  "single_word": false
34
  },
35
+ "pad_token": {
36
+ "content": "<pad>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false
41
+ },
42
+ "sep_token": {
43
+ "content": "</s>",
44
+ "lstrip": false,
45
+ "normalized": false,
46
+ "rstrip": false,
47
+ "single_word": false
48
+ },
49
+ "unk_token": {
50
+ "content": "<unk>",
51
+ "lstrip": false,
52
+ "normalized": false,
53
+ "rstrip": false,
54
+ "single_word": false
55
+ }
56
  }
tokenizer_config.json CHANGED
@@ -76,9 +76,16 @@
76
  "eos_token": "</s>",
77
  "extra_special_tokens": {},
78
  "mask_token": "<mask>",
 
79
  "model_max_length": 512,
 
80
  "pad_token": "<pad>",
 
 
81
  "sep_token": "</s>",
 
82
  "tokenizer_class": "CamembertTokenizer",
 
 
83
  "unk_token": "<unk>"
84
  }
 
76
  "eos_token": "</s>",
77
  "extra_special_tokens": {},
78
  "mask_token": "<mask>",
79
+ "max_length": 128,
80
  "model_max_length": 512,
81
+ "pad_to_multiple_of": null,
82
  "pad_token": "<pad>",
83
+ "pad_token_type_id": 0,
84
+ "padding_side": "right",
85
  "sep_token": "</s>",
86
+ "stride": 0,
87
  "tokenizer_class": "CamembertTokenizer",
88
+ "truncation_side": "right",
89
+ "truncation_strategy": "longest_first",
90
  "unk_token": "<unk>"
91
  }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1528523878f18f360534f9a172deb21768487cfb046b964b9d5e520a2c79661
3
+ size 5841