KobanBanan commited on
Commit
d7ee449
·
verified ·
1 Parent(s): a41ca37

End of training

Browse files
Files changed (4) hide show
  1. README.md +72 -0
  2. config.json +29 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: intfloat/multilingual-e5-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: multilingual-e5-base_censor_v0.1
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # multilingual-e5-base_censor_v0.1
20
+
21
+ This model is a fine-tuned version of [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.5077
24
+ - Accuracy: 0.7695
25
+ - Precision: 0.7729
26
+ - Recall: 0.7695
27
+ - F1: 0.7708
28
+ - Roc Auc: 0.8424
29
+ - Per Class F1: [0.8104358705451601, 0.7061407261629732]
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 2e-05
49
+ - train_batch_size: 64
50
+ - eval_batch_size: 64
51
+ - seed: 42
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - lr_scheduler_warmup_steps: 500
55
+ - num_epochs: 3
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Roc Auc | Per Class F1 |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|:----------------------------------------:|
62
+ | 0.5485 | 1.0 | 2795 | 0.5249 | 0.7349 | 0.7498 | 0.7349 | 0.7383 | 0.8169 | [0.7723692804179954, 0.6827648980028912] |
63
+ | 0.4871 | 2.0 | 5590 | 0.5059 | 0.7610 | 0.7667 | 0.7610 | 0.7629 | 0.8362 | [0.8013980033834657, 0.7000926419808541] |
64
+ | 0.4392 | 3.0 | 8385 | 0.5077 | 0.7695 | 0.7729 | 0.7695 | 0.7708 | 0.8424 | [0.8104358705451601, 0.7061407261629732] |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.43.4
70
+ - Pytorch 2.3.1+cu121
71
+ - Datasets 2.20.0
72
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "intfloat/multilingual-e5-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.43.4",
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:16300e1ba6628d38fba18437d43306d1afc283fb26ab2fcf6ef1cafa9c67912e
3
+ size 1112205008
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42667f9950ba65c615b1cf615b7aeee7c6c15630980558419be44cc0acec4331
3
+ size 5176