jsl5710 commited on
Commit
355964f
·
verified ·
1 Parent(s): 7e7d287

jslai/MBERT_uncased_GeneralizedCrossEntropy_full_ft_genetic_head_to_tail_20241212-030032

Browse files
Files changed (4) hide show
  1. README.md +74 -0
  2. config.json +32 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-multilingual-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: MBERT_uncased_GeneralizedCrossEntropy_full_ft
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
+ # MBERT_uncased_GeneralizedCrossEntropy_full_ft
21
+
22
+ This model is a fine-tuned version of [google-bert/bert-base-multilingual-uncased](https://huggingface.co/google-bert/bert-base-multilingual-uncased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Accuracy: 0.802
25
+ - F1: 0.8584
26
+ - Precision: 0.8310
27
+ - Recall: 0.8876
28
+ - Roc Auc: 0.7555
29
+ - Loss: 0.2729
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: 8
50
+ - eval_batch_size: 8
51
+ - seed: 42
52
+ - gradient_accumulation_steps: 2
53
+ - total_train_batch_size: 16
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - lr_scheduler_warmup_ratio: 0.1
57
+ - num_epochs: 3
58
+ - mixed_precision_training: Native AMP
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Accuracy | F1 | Precision | Recall | Roc Auc | Validation Loss |
63
+ |:-------------:|:-----:|:----:|:--------:|:------:|:---------:|:------:|:-------:|:---------------:|
64
+ | No log | 0.992 | 62 | 0.77 | 0.8487 | 0.7642 | 0.9541 | 0.6700 | 0.3336 |
65
+ | 0.3578 | 2.0 | 125 | 0.805 | 0.8567 | 0.8511 | 0.8624 | 0.7738 | 0.2695 |
66
+ | 0.3578 | 2.976 | 186 | 0.802 | 0.8584 | 0.8310 | 0.8876 | 0.7555 | 0.2729 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.45.2
72
+ - Pytorch 2.5.1+cu121
73
+ - Datasets 3.2.0
74
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-multilingual-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "pooler_fc_size": 768,
21
+ "pooler_num_attention_heads": 12,
22
+ "pooler_num_fc_layers": 3,
23
+ "pooler_size_per_head": 128,
24
+ "pooler_type": "first_token_transform",
25
+ "position_embedding_type": "absolute",
26
+ "problem_type": "single_label_classification",
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.45.2",
29
+ "type_vocab_size": 2,
30
+ "use_cache": true,
31
+ "vocab_size": 105879
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a7b6e90fe0ecf7b052b37af90cf2bb6c4783af191ce327b00084cf004e59f80
3
+ size 669455360
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a445c5551d488ceedfeee3e0be9fd9bf1a75a0a5a5b5032fbca13ca4c2a6fbf
3
+ size 5304