jaycentg commited on
Commit
e0aaf30
·
verified ·
1 Parent(s): eb6c9d5
README.md CHANGED
@@ -1,7 +1,7 @@
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
  model-index:
@@ -14,9 +14,11 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # som
16
 
17
- 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.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.3424
 
 
20
 
21
  ## Model description
22
 
@@ -35,22 +37,23 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - learning_rate: 0.0003
39
  - train_batch_size: 32
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: 4
45
 
46
  ### Training results
47
 
48
- | Training Loss | Epoch | Step | Validation Loss |
49
- |:-------------:|:-----:|:----:|:---------------:|
50
- | No log | 1.0 | 85 | 0.3474 |
51
- | No log | 2.0 | 170 | 0.3450 |
52
- | No log | 3.0 | 255 | 0.3426 |
53
- | No log | 4.0 | 340 | 0.3424 |
54
 
55
 
56
  ### Framework versions
 
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
  model-index:
 
14
 
15
  # som
16
 
17
+ This model is a fine-tuned version of [google-bert/bert-base-multilingual-uncased](https://huggingface.co/google-bert/bert-base-multilingual-uncased) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 0.3043
20
+ - F1-micro: 0.1964
21
+ - F1-macro: 0.0818
22
 
23
  ## Model description
24
 
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - learning_rate: 3e-05
41
  - train_batch_size: 32
42
  - eval_batch_size: 8
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 33
47
  - num_epochs: 4
48
 
49
  ### Training results
50
 
51
+ | Training Loss | Epoch | Step | Validation Loss | F1-micro | F1-macro |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
53
+ | 0.428 | 1.0 | 85 | 0.3427 | 0.0 | 0.0 |
54
+ | 0.3365 | 2.0 | 170 | 0.3249 | 0.0 | 0.0 |
55
+ | 0.3146 | 3.0 | 255 | 0.3108 | 0.0898 | 0.0476 |
56
+ | 0.2924 | 4.0 | 340 | 0.3043 | 0.1964 | 0.0818 |
57
 
58
 
59
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google-bert/bert-base-multilingual-cased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -44,5 +44,5 @@
44
  "transformers_version": "4.44.2",
45
  "type_vocab_size": 2,
46
  "use_cache": true,
47
- "vocab_size": 119547
48
  }
 
1
  {
2
+ "_name_or_path": "google-bert/bert-base-multilingual-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
44
  "transformers_version": "4.44.2",
45
  "type_vocab_size": 2,
46
  "use_cache": true,
47
+ "vocab_size": 105879
48
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f11612dbdf03439ccf96bdadbb86630cbce0a5f84ff73135d84c96e06495926e
3
- size 711455760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb078ac4697b1c1d492d4792583638ee05a5ce053078627c25f08183a674c7ca
3
+ size 669467664
runs/Jan13_12-06-52_c43d02b615eb/events.out.tfevents.1736770013.c43d02b615eb.40.26 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ad925430145960a6b5bcc6027fe45327e76c6d9f5a00f9e407138e231f7b86c
3
+ size 8028
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6937524f0dbb320d7be431fb771d68ca3e4588b08ab473cca4c987cc10211679
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95bd678d0a9cfd5241f581603fc91ef56d7c401687de30a9de49b3c36c6914b4
3
  size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff