wendys-llc commited on
Commit
cb55933
1 Parent(s): 3496b6b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: FacebookAI/xlm-roberta-base
4
+ tags:
5
+ - text-classification
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: nsfw-pt-br
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # nsfw-pt-br
16
+
17
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.6324
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 3.0
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | No log | 1.0 | 9 | 0.6437 |
51
+ | No log | 2.0 | 18 | 0.6364 |
52
+ | No log | 3.0 | 27 | 0.6324 |
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - Transformers 4.40.0
58
+ - Pytorch 2.2.1+cu121
59
+ - Datasets 2.19.0
60
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 56042654791680.0,
4
+ "train_loss": 0.6852263697871456,
5
+ "train_runtime": 23.2921,
6
+ "train_samples_per_second": 9.145,
7
+ "train_steps_per_second": 1.159
8
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
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
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.40.0",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 250002
29
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37ac30346dc23712f20f38e7be707468d9cca0327f000e7c317c4ea1318a9f5d
3
+ size 1112205008
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 56042654791680.0,
4
+ "train_loss": 0.6852263697871456,
5
+ "train_runtime": 23.2921,
6
+ "train_samples_per_second": 9.145,
7
+ "train_steps_per_second": 1.159
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 27,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_loss": 0.6436542272567749,
14
+ "eval_runtime": 0.5454,
15
+ "eval_samples_per_second": 33.001,
16
+ "eval_steps_per_second": 5.5,
17
+ "step": 9
18
+ },
19
+ {
20
+ "epoch": 2.0,
21
+ "eval_loss": 0.6364022493362427,
22
+ "eval_runtime": 0.5564,
23
+ "eval_samples_per_second": 32.353,
24
+ "eval_steps_per_second": 5.392,
25
+ "step": 18
26
+ },
27
+ {
28
+ "epoch": 3.0,
29
+ "eval_loss": 0.6323569416999817,
30
+ "eval_runtime": 0.56,
31
+ "eval_samples_per_second": 32.145,
32
+ "eval_steps_per_second": 5.357,
33
+ "step": 27
34
+ },
35
+ {
36
+ "epoch": 3.0,
37
+ "step": 27,
38
+ "total_flos": 56042654791680.0,
39
+ "train_loss": 0.6852263697871456,
40
+ "train_runtime": 23.2921,
41
+ "train_samples_per_second": 9.145,
42
+ "train_steps_per_second": 1.159
43
+ }
44
+ ],
45
+ "logging_steps": 500,
46
+ "max_steps": 27,
47
+ "num_input_tokens_seen": 0,
48
+ "num_train_epochs": 3,
49
+ "save_steps": 500,
50
+ "total_flos": 56042654791680.0,
51
+ "train_batch_size": 8,
52
+ "trial_name": null,
53
+ "trial_params": null
54
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17f00475ef398edc44de50ea120735a8c40c7d01a19053ead291a9de708985cf
3
+ size 4984