Porameht commited on
Commit
8fff44d
·
verified ·
1 Parent(s): df27b53

Training in progress, epoch 1

Browse files
Files changed (4) hide show
  1. README.md +72 -0
  2. config.json +57 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-multilingual-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: bert-base-multilingual-cased-intent-booking
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
+ # bert-base-multilingual-cased-intent-booking
21
+
22
+ This model is a fine-tuned version of [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.3146
25
+ - Accuracy: 0.9324
26
+ - F1: 0.9285
27
+ - Precision: 0.9441
28
+ - Recall: 0.9324
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: 5e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 64
54
+ - num_epochs: 5
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 1.9892 | 1.0 | 65 | 0.9275 | 0.8243 | 0.8111 | 0.8700 | 0.8243 |
61
+ | 0.6259 | 2.0 | 130 | 0.3690 | 0.8964 | 0.8974 | 0.9044 | 0.8964 |
62
+ | 0.2477 | 3.0 | 195 | 0.2750 | 0.9144 | 0.9153 | 0.9272 | 0.9144 |
63
+ | 0.1497 | 4.0 | 260 | 0.1910 | 0.9414 | 0.9412 | 0.9472 | 0.9414 |
64
+ | 0.071 | 5.0 | 325 | 0.2016 | 0.9324 | 0.9330 | 0.9376 | 0.9324 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.44.2
70
+ - Pytorch 2.4.1+cu121
71
+ - Datasets 3.0.1
72
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-multilingual-cased",
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
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6",
20
+ "7": "LABEL_7",
21
+ "8": "LABEL_8",
22
+ "9": "LABEL_9"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5,
33
+ "LABEL_6": 6,
34
+ "LABEL_7": 7,
35
+ "LABEL_8": 8,
36
+ "LABEL_9": 9
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "max_position_embeddings": 512,
40
+ "model_type": "bert",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 0,
44
+ "pooler_fc_size": 768,
45
+ "pooler_num_attention_heads": 12,
46
+ "pooler_num_fc_layers": 3,
47
+ "pooler_size_per_head": 128,
48
+ "pooler_type": "first_token_transform",
49
+ "position_embedding_type": "absolute",
50
+ "pretraining_tp": 1,
51
+ "problem_type": "single_label_classification",
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.44.2",
54
+ "type_vocab_size": 2,
55
+ "use_cache": false,
56
+ "vocab_size": 119547
57
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50db9de43d9e02e63cd7a49d16938ed3693a2d6315e81e2917035df902003ae4
3
+ size 711468072
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0987d350f07dc5eb5247eb5676cfb2511af7bd4ab8136e9dc458029be81fa9c2
3
+ size 5240