Masaki Hattori
commited on
Commit
•
821b8b5
1
Parent(s):
3b4fdde
jdrt_byclass_rinnna_hubert_asr_3
Browse files- README.md +97 -0
- config.json +72 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: rinna/japanese-hubert-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- wer
|
8 |
+
model-index:
|
9 |
+
- name: jdrt_byclass_rinnna_hubert_asr_3
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# jdrt_byclass_rinnna_hubert_asr_3
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [rinna/japanese-hubert-base](https://huggingface.co/rinna/japanese-hubert-base) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.4223
|
21 |
+
- Wer: 0.4080
|
22 |
+
- Cer: 0.2885
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 7.5e-05
|
42 |
+
- train_batch_size: 256
|
43 |
+
- eval_batch_size: 256
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: cosine
|
47 |
+
- lr_scheduler_warmup_steps: 260
|
48 |
+
- num_epochs: 50
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
|
54 |
+
| 11.2994 | 1.0 | 53 | 6.9048 | 0.9156 | 0.9495 |
|
55 |
+
| 5.5642 | 2.0 | 106 | 4.4074 | 0.9156 | 0.9495 |
|
56 |
+
| 4.1184 | 3.0 | 159 | 3.5723 | 0.9156 | 0.9495 |
|
57 |
+
| 3.2849 | 4.0 | 212 | 2.9362 | 0.9156 | 0.9495 |
|
58 |
+
| 2.7998 | 5.0 | 265 | 2.6897 | 0.9156 | 0.9495 |
|
59 |
+
| 2.6983 | 6.0 | 318 | 2.6367 | 0.9156 | 0.9495 |
|
60 |
+
| 2.4519 | 7.0 | 371 | 2.2030 | 0.9960 | 0.9112 |
|
61 |
+
| 2.1019 | 8.0 | 424 | 1.8801 | 1.0 | 0.8929 |
|
62 |
+
| 1.8091 | 9.0 | 477 | 1.5845 | 1.0 | 0.8639 |
|
63 |
+
| 1.5947 | 10.0 | 530 | 1.3550 | 1.0 | 0.7570 |
|
64 |
+
| 1.3709 | 11.0 | 583 | 1.2357 | 1.0000 | 0.7344 |
|
65 |
+
| 1.2377 | 12.0 | 636 | 1.0982 | 1.0000 | 0.6984 |
|
66 |
+
| 1.1595 | 13.0 | 689 | 0.9865 | 0.9997 | 0.6737 |
|
67 |
+
| 1.0386 | 14.0 | 742 | 0.9245 | 0.9125 | 0.5754 |
|
68 |
+
| 0.928 | 15.0 | 795 | 0.8553 | 0.8591 | 0.5117 |
|
69 |
+
| 0.8691 | 16.0 | 848 | 0.7590 | 0.8435 | 0.4966 |
|
70 |
+
| 0.7983 | 17.0 | 901 | 0.6782 | 0.5164 | 0.3451 |
|
71 |
+
| 0.6839 | 18.0 | 954 | 0.5806 | 0.4843 | 0.3323 |
|
72 |
+
| 0.5901 | 19.0 | 1007 | 0.5280 | 0.4438 | 0.3133 |
|
73 |
+
| 0.5553 | 20.0 | 1060 | 0.5312 | 0.4434 | 0.3143 |
|
74 |
+
| 0.5274 | 21.0 | 1113 | 0.5229 | 0.4357 | 0.2939 |
|
75 |
+
| 0.4843 | 22.0 | 1166 | 0.4674 | 0.4215 | 0.2844 |
|
76 |
+
| 0.477 | 23.0 | 1219 | 0.4996 | 0.4335 | 0.2984 |
|
77 |
+
| 0.4624 | 24.0 | 1272 | 0.4762 | 0.4334 | 0.3005 |
|
78 |
+
| 0.4485 | 25.0 | 1325 | 0.4241 | 0.4286 | 0.3003 |
|
79 |
+
| 0.4301 | 26.0 | 1378 | 0.4485 | 0.4247 | 0.2923 |
|
80 |
+
| 0.3953 | 27.0 | 1431 | 0.4292 | 0.4175 | 0.2944 |
|
81 |
+
| 0.401 | 28.0 | 1484 | 0.4241 | 0.4102 | 0.2868 |
|
82 |
+
| 0.3833 | 29.0 | 1537 | 0.4053 | 0.3995 | 0.2691 |
|
83 |
+
| 0.4125 | 30.0 | 1590 | 0.4210 | 0.4013 | 0.2690 |
|
84 |
+
| 0.3703 | 31.0 | 1643 | 0.4385 | 0.4070 | 0.2744 |
|
85 |
+
| 0.3441 | 32.0 | 1696 | 0.4126 | 0.4035 | 0.2718 |
|
86 |
+
| 0.3411 | 33.0 | 1749 | 0.4286 | 0.4125 | 0.2875 |
|
87 |
+
| 0.3302 | 34.0 | 1802 | 0.4311 | 0.4128 | 0.2943 |
|
88 |
+
| 0.3422 | 35.0 | 1855 | 0.4350 | 0.4084 | 0.2880 |
|
89 |
+
| 0.3428 | 36.0 | 1908 | 0.4223 | 0.4080 | 0.2885 |
|
90 |
+
|
91 |
+
|
92 |
+
### Framework versions
|
93 |
+
|
94 |
+
- Transformers 4.34.0.dev0
|
95 |
+
- Pytorch 2.0.1+cu118
|
96 |
+
- Datasets 2.14.5
|
97 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "rinna/japanese-hubert-base",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"apply_spec_augment": true,
|
5 |
+
"architectures": [
|
6 |
+
"HubertForCTC"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"conv_bias": false,
|
12 |
+
"conv_dim": [
|
13 |
+
512,
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"conv_kernel": [
|
22 |
+
10,
|
23 |
+
3,
|
24 |
+
3,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
2,
|
28 |
+
2
|
29 |
+
],
|
30 |
+
"conv_stride": [
|
31 |
+
5,
|
32 |
+
2,
|
33 |
+
2,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2
|
38 |
+
],
|
39 |
+
"ctc_loss_reduction": "mean",
|
40 |
+
"ctc_zero_infinity": false,
|
41 |
+
"do_stable_layer_norm": false,
|
42 |
+
"eos_token_id": 2,
|
43 |
+
"feat_extract_activation": "gelu",
|
44 |
+
"feat_extract_norm": "group",
|
45 |
+
"feat_proj_dropout": 0.1,
|
46 |
+
"feat_proj_layer_norm": true,
|
47 |
+
"final_dropout": 0.1,
|
48 |
+
"hidden_act": "gelu",
|
49 |
+
"hidden_dropout": 0,
|
50 |
+
"hidden_size": 768,
|
51 |
+
"initializer_range": 0.02,
|
52 |
+
"intermediate_size": 3072,
|
53 |
+
"layer_norm_eps": 1e-05,
|
54 |
+
"layerdrop": 0.1,
|
55 |
+
"mask_feature_length": 10,
|
56 |
+
"mask_feature_min_masks": 0,
|
57 |
+
"mask_feature_prob": 0.0,
|
58 |
+
"mask_time_length": 10,
|
59 |
+
"mask_time_min_masks": 2,
|
60 |
+
"mask_time_prob": 0.05,
|
61 |
+
"model_type": "hubert",
|
62 |
+
"num_attention_heads": 12,
|
63 |
+
"num_conv_pos_embedding_groups": 16,
|
64 |
+
"num_conv_pos_embeddings": 128,
|
65 |
+
"num_feat_extract_layers": 7,
|
66 |
+
"num_hidden_layers": 12,
|
67 |
+
"pad_token_id": 28,
|
68 |
+
"torch_dtype": "float32",
|
69 |
+
"transformers_version": "4.34.0.dev0",
|
70 |
+
"use_weighted_layer_sum": false,
|
71 |
+
"vocab_size": 29
|
72 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c70739a6efad0e5783c14fefe2dd489050ff5b20b893e8c2dff1af1276e05a04
|
3 |
+
size 377649057
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:137e9a859a9ac35f0900b47868f636bbf006bb6c0923d0de7f18e9cec9dba8cb
|
3 |
+
size 4027
|