End of training
Browse files- README.md +2 -25
- config.json +18 -9
- model.safetensors +2 -2
- predictions_test_wer94.29.csv +3 -0
- predictions_test_wer94.29_hyp.trn +2 -0
- predictions_test_wer94.29_hyp.trn.dtl +102 -0
- predictions_test_wer94.29_hyp.trn.snt.utt +47 -0
- predictions_test_wer94.29_hyp.trn.sys +18 -0
- predictions_test_wer94.29_ref.trn +2 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
---
|
|
|
2 |
tags:
|
3 |
- generated_from_trainer
|
4 |
datasets:
|
5 |
- fleurs
|
6 |
-
metrics:
|
7 |
-
- wer
|
8 |
model-index:
|
9 |
- name: experiment
|
10 |
results: []
|
@@ -15,18 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# experiment
|
17 |
|
18 |
-
This model is a fine-tuned version of [](https://huggingface.co/) on the fleurs dataset.
|
19 |
-
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 7.9280
|
21 |
-
- Cer: 1.0
|
22 |
-
- Wer: 1.0
|
23 |
-
- Mer: 1.0
|
24 |
-
- Wil: 1
|
25 |
-
- Wip: 0
|
26 |
-
- Hits: 0
|
27 |
-
- Substitutions: 0
|
28 |
-
- Deletions: 34
|
29 |
-
- Insertions: 0
|
30 |
|
31 |
## Model description
|
32 |
|
@@ -53,20 +41,9 @@ The following hyperparameters were used during training:
|
|
53 |
- lr_scheduler_type: linear
|
54 |
- training_steps: 10
|
55 |
|
56 |
-
### Training results
|
57 |
-
|
58 |
-
| Training Loss | Epoch | Step | Validation Loss | Cer | Wer | Mer | Wil | Wip | Hits | Substitutions | Deletions | Insertions |
|
59 |
-
|:-------------:|:-----:|:----:|:---------------:|:---:|:---:|:---:|:---:|:---:|:----:|:-------------:|:---------:|:----------:|
|
60 |
-
| 8.0922 | 0.0 | 4 | 7.9783 | 1.0 | 1.0 | 1.0 | 1 | 0 | 0 | 0 | 34 | 0 |
|
61 |
-
| 7.9733 | 0.01 | 8 | 7.9280 | 1.0 | 1.0 | 1.0 | 1 | 0 | 0 | 0 | 34 | 0 |
|
62 |
-
|
63 |
-
|
64 |
### Framework versions
|
65 |
|
66 |
- Transformers 4.39.3
|
67 |
- Pytorch 2.1.0
|
68 |
- Datasets 2.18.0
|
69 |
- Tokenizers 0.15.2
|
70 |
-
|
71 |
-
### Wandb run
|
72 |
-
https://wandb.ai/alexander-polok/huggingface/runs/imoe89wk
|
|
|
1 |
---
|
2 |
+
base_model: Lakoc/DeCRED_small_cv
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
datasets:
|
6 |
- fleurs
|
|
|
|
|
7 |
model-index:
|
8 |
- name: experiment
|
9 |
results: []
|
|
|
14 |
|
15 |
# experiment
|
16 |
|
17 |
+
This model is a fine-tuned version of [Lakoc/DeCRED_small_cv](https://huggingface.co/Lakoc/DeCRED_small_cv) on the fleurs dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
## Model description
|
20 |
|
|
|
41 |
- lr_scheduler_type: linear
|
42 |
- training_steps: 10
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
### Framework versions
|
45 |
|
46 |
- Transformers 4.39.3
|
47 |
- Pytorch 2.1.0
|
48 |
- Datasets 2.18.0
|
49 |
- Tokenizers 0.15.2
|
|
|
|
|
|
config.json
CHANGED
@@ -1,18 +1,20 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"JointCTCAttentionEncoderDecoder"
|
4 |
],
|
5 |
"bos_token_id": 0,
|
6 |
-
"ctc_weight": 0.
|
7 |
"decoder": {
|
8 |
-
"_name_or_path": "Lakoc/
|
9 |
"activation_function": "gelu_new",
|
10 |
"add_cross_attention": true,
|
11 |
"architectures": null,
|
12 |
"attn_pdrop": 0.1,
|
|
|
13 |
"bad_words_ids": null,
|
14 |
"begin_suppress_tokens": null,
|
15 |
-
"bos_token_id":
|
16 |
"chunk_size_feed_forward": 0,
|
17 |
"cross_attention_hidden_size": null,
|
18 |
"decoder_start_token_id": null,
|
@@ -21,11 +23,18 @@
|
|
21 |
"early_stopping": false,
|
22 |
"embd_pdrop": 0.1,
|
23 |
"encoder_no_repeat_ngram_size": 0,
|
24 |
-
"eos_token_id":
|
25 |
"exponential_decay_length_penalty": null,
|
26 |
"finetuning_task": null,
|
27 |
"forced_bos_token_id": null,
|
28 |
"forced_eos_token_id": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"id2label": {
|
30 |
"0": "LABEL_0",
|
31 |
"1": "LABEL_1"
|
@@ -41,7 +50,7 @@
|
|
41 |
"length_penalty": 1.0,
|
42 |
"max_length": 20,
|
43 |
"min_length": 0,
|
44 |
-
"model_type": "gpt2",
|
45 |
"n_embd": 256,
|
46 |
"n_head": 4,
|
47 |
"n_inner": 2048,
|
@@ -52,7 +61,6 @@
|
|
52 |
"num_beams": 1,
|
53 |
"num_return_sequences": 1,
|
54 |
"output_attentions": false,
|
55 |
-
"output_hidden_size": 256,
|
56 |
"output_hidden_states": false,
|
57 |
"output_scores": false,
|
58 |
"pad_token_id": null,
|
@@ -78,6 +86,7 @@
|
|
78 |
"task_specific_params": null,
|
79 |
"temperature": 1.0,
|
80 |
"tf_legacy_loss": false,
|
|
|
81 |
"tie_encoder_decoder": false,
|
82 |
"tie_word_embeddings": false,
|
83 |
"tokenizer_class": null,
|
@@ -88,7 +97,7 @@
|
|
88 |
"typical_p": 1.0,
|
89 |
"use_bfloat16": false,
|
90 |
"use_cache": true,
|
91 |
-
"vocab_size":
|
92 |
},
|
93 |
"decoder_start_token_id": 0,
|
94 |
"encoder": {
|
@@ -251,12 +260,12 @@
|
|
251 |
"use_fbanks": true,
|
252 |
"use_macaron_ff": true,
|
253 |
"use_weighted_layer_sum": false,
|
254 |
-
"vocab_size":
|
255 |
"xvector_output_dim": 512
|
256 |
},
|
257 |
"eos_token_id": 1,
|
258 |
"is_encoder_decoder": true,
|
259 |
-
"lsm_factor": 0,
|
260 |
"mask_token_id": 4,
|
261 |
"model_type": "joint_aed_ctc_speech-encoder-decoder",
|
262 |
"pad_token_id": 3,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Lakoc/DeCRED_small_cv",
|
3 |
"architectures": [
|
4 |
"JointCTCAttentionEncoderDecoder"
|
5 |
],
|
6 |
"bos_token_id": 0,
|
7 |
+
"ctc_weight": 0.3,
|
8 |
"decoder": {
|
9 |
+
"_name_or_path": "Lakoc/gpt2_256h_6l_add_head3_04",
|
10 |
"activation_function": "gelu_new",
|
11 |
"add_cross_attention": true,
|
12 |
"architectures": null,
|
13 |
"attn_pdrop": 0.1,
|
14 |
+
"average_logits": false,
|
15 |
"bad_words_ids": null,
|
16 |
"begin_suppress_tokens": null,
|
17 |
+
"bos_token_id": 0,
|
18 |
"chunk_size_feed_forward": 0,
|
19 |
"cross_attention_hidden_size": null,
|
20 |
"decoder_start_token_id": null,
|
|
|
23 |
"early_stopping": false,
|
24 |
"embd_pdrop": 0.1,
|
25 |
"encoder_no_repeat_ngram_size": 0,
|
26 |
+
"eos_token_id": 1,
|
27 |
"exponential_decay_length_penalty": null,
|
28 |
"finetuning_task": null,
|
29 |
"forced_bos_token_id": null,
|
30 |
"forced_eos_token_id": null,
|
31 |
+
"head_locations": [
|
32 |
+
3
|
33 |
+
],
|
34 |
+
"head_weights": [
|
35 |
+
0.6,
|
36 |
+
0.4
|
37 |
+
],
|
38 |
"id2label": {
|
39 |
"0": "LABEL_0",
|
40 |
"1": "LABEL_1"
|
|
|
50 |
"length_penalty": 1.0,
|
51 |
"max_length": 20,
|
52 |
"min_length": 0,
|
53 |
+
"model_type": "gpt2-multi-head",
|
54 |
"n_embd": 256,
|
55 |
"n_head": 4,
|
56 |
"n_inner": 2048,
|
|
|
61 |
"num_beams": 1,
|
62 |
"num_return_sequences": 1,
|
63 |
"output_attentions": false,
|
|
|
64 |
"output_hidden_states": false,
|
65 |
"output_scores": false,
|
66 |
"pad_token_id": null,
|
|
|
86 |
"task_specific_params": null,
|
87 |
"temperature": 1.0,
|
88 |
"tf_legacy_loss": false,
|
89 |
+
"tie_additional_weights": false,
|
90 |
"tie_encoder_decoder": false,
|
91 |
"tie_word_embeddings": false,
|
92 |
"tokenizer_class": null,
|
|
|
97 |
"typical_p": 1.0,
|
98 |
"use_bfloat16": false,
|
99 |
"use_cache": true,
|
100 |
+
"vocab_size": 1000
|
101 |
},
|
102 |
"decoder_start_token_id": 0,
|
103 |
"encoder": {
|
|
|
260 |
"use_fbanks": true,
|
261 |
"use_macaron_ff": true,
|
262 |
"use_weighted_layer_sum": false,
|
263 |
+
"vocab_size": 1000,
|
264 |
"xvector_output_dim": 512
|
265 |
},
|
266 |
"eos_token_id": 1,
|
267 |
"is_encoder_decoder": true,
|
268 |
+
"lsm_factor": 0.0,
|
269 |
"mask_token_id": 4,
|
270 |
"model_type": "joint_aed_ctc_speech-encoder-decoder",
|
271 |
"pad_token_id": 3,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:497190bb024e75b6d0e560b39282d01acefc76355f3940c66b2ac852a3d3a9c5
|
3 |
+
size 144243216
|
predictions_test_wer94.29.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
label,prediction
|
2 |
+
however due to theslow communication channels styles in the west could lag behind by to year,however
|
3 |
+
all nouns alongside the wordsie for you always begin with a capital letter even in the middle of asentence,all
|
predictions_test_wer94.29_hyp.trn
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
however (utterance_0)
|
2 |
+
all (utterance_1)
|
predictions_test_wer94.29_hyp.trn.dtl
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
DETAILED OVERALL REPORT FOR THE SYSTEM: experiment/predictions_test_wer94.29_hyp.trn
|
2 |
+
|
3 |
+
SENTENCE RECOGNITION PERFORMANCE
|
4 |
+
|
5 |
+
sentences 2
|
6 |
+
with errors 100.0% ( 2)
|
7 |
+
|
8 |
+
with substitutions 0.0% ( 0)
|
9 |
+
with deletions 100.0% ( 2)
|
10 |
+
with insertions 0.0% ( 0)
|
11 |
+
|
12 |
+
|
13 |
+
WORD RECOGNITION PERFORMANCE
|
14 |
+
|
15 |
+
Percent Total Error = 94.3% ( 33)
|
16 |
+
|
17 |
+
Percent Correct = 5.7% ( 2)
|
18 |
+
|
19 |
+
Percent Substitution = 0.0% ( 0)
|
20 |
+
Percent Deletions = 94.3% ( 33)
|
21 |
+
Percent Insertions = 0.0% ( 0)
|
22 |
+
Percent Word Accuracy = 5.7%
|
23 |
+
|
24 |
+
|
25 |
+
Ref. words = ( 35)
|
26 |
+
Hyp. words = ( 2)
|
27 |
+
Aligned words = ( 35)
|
28 |
+
|
29 |
+
CONFUSION PAIRS Total (0)
|
30 |
+
With >= 1 occurrences (0)
|
31 |
+
|
32 |
+
-------
|
33 |
+
0
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
INSERTIONS Total (0)
|
38 |
+
With >= 1 occurrences (0)
|
39 |
+
|
40 |
+
-------
|
41 |
+
0
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
DELETIONS Total (29)
|
46 |
+
With >= 1 occurrences (29)
|
47 |
+
|
48 |
+
1: 3 -> the
|
49 |
+
2: 2 -> in
|
50 |
+
3: 2 -> to
|
51 |
+
4: 1 -> a
|
52 |
+
5: 1 -> alongside
|
53 |
+
6: 1 -> always
|
54 |
+
7: 1 -> asentence
|
55 |
+
8: 1 -> begin
|
56 |
+
9: 1 -> behind
|
57 |
+
10: 1 -> by
|
58 |
+
11: 1 -> capital
|
59 |
+
12: 1 -> channels
|
60 |
+
13: 1 -> communication
|
61 |
+
14: 1 -> could
|
62 |
+
15: 1 -> due
|
63 |
+
16: 1 -> even
|
64 |
+
17: 1 -> for
|
65 |
+
18: 1 -> lag
|
66 |
+
19: 1 -> letter
|
67 |
+
20: 1 -> middle
|
68 |
+
21: 1 -> nouns
|
69 |
+
22: 1 -> of
|
70 |
+
23: 1 -> styles
|
71 |
+
24: 1 -> theslow
|
72 |
+
25: 1 -> west
|
73 |
+
26: 1 -> with
|
74 |
+
27: 1 -> wordsie
|
75 |
+
28: 1 -> year
|
76 |
+
29: 1 -> you
|
77 |
+
-------
|
78 |
+
33
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
SUBSTITUTIONS Total (0)
|
83 |
+
With >= 1 occurrences (0)
|
84 |
+
|
85 |
+
-------
|
86 |
+
0
|
87 |
+
|
88 |
+
|
89 |
+
* NOTE: The 'Substitution' words are those reference words
|
90 |
+
for which the recognizer supplied an incorrect word.
|
91 |
+
|
92 |
+
|
93 |
+
FALSELY RECOGNIZED Total (0)
|
94 |
+
With >= 1 occurrences (0)
|
95 |
+
|
96 |
+
-------
|
97 |
+
0
|
98 |
+
|
99 |
+
|
100 |
+
* NOTE: The 'Falsely Recognized' words are those hypothesis words
|
101 |
+
which the recognizer incorrectly substituted for a reference word.
|
102 |
+
|
predictions_test_wer94.29_hyp.trn.snt.utt
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
===============================================================================
|
2 |
+
|
3 |
+
SENTENCE LEVEL REPORT FOR THE SYSTEM:
|
4 |
+
Name: experiment/predictions_test_wer94.29_hyp.trn
|
5 |
+
|
6 |
+
===============================================================================
|
7 |
+
|
8 |
+
|
9 |
+
SPEAKER utt
|
10 |
+
id: (utterance_0)
|
11 |
+
Scores: (#C #S #D #I) 1 0 15 0
|
12 |
+
REF: however DUE TO THESLOW COMMUNICATION CHANNELS STYLES IN THE WEST COULD LAG BEHIND BY TO YEAR
|
13 |
+
HYP: however *** ** ******* ************* ******** ****** ** *** **** ***** *** ****** ** ** ****
|
14 |
+
Eval: D D D D D D D D D D D D D D D
|
15 |
+
|
16 |
+
Correct = 6.3% 1 ( 1)
|
17 |
+
Substitutions = 0.0% 0 ( 0)
|
18 |
+
Deletions = 93.8% 15 ( 15)
|
19 |
+
Insertions = 0.0% 0 ( 0)
|
20 |
+
|
21 |
+
Errors = 93.8% 15 ( 15)
|
22 |
+
|
23 |
+
Ref. words = 16 ( 16)
|
24 |
+
Hyp. words = 1 ( 1)
|
25 |
+
Aligned words = 16 ( 16)
|
26 |
+
|
27 |
+
-------------------------------------------------------------------------------
|
28 |
+
|
29 |
+
id: (utterance_1)
|
30 |
+
Scores: (#C #S #D #I) 1 0 18 0
|
31 |
+
REF: all NOUNS ALONGSIDE THE WORDSIE FOR YOU ALWAYS BEGIN WITH A CAPITAL LETTER EVEN IN THE MIDDLE OF ASENTENCE
|
32 |
+
HYP: all ***** ********* *** ******* *** *** ****** ***** **** * ******* ****** **** ** *** ****** ** *********
|
33 |
+
Eval: D D D D D D D D D D D D D D D D D D
|
34 |
+
|
35 |
+
Correct = 5.3% 1 ( 2)
|
36 |
+
Substitutions = 0.0% 0 ( 0)
|
37 |
+
Deletions = 94.7% 18 ( 33)
|
38 |
+
Insertions = 0.0% 0 ( 0)
|
39 |
+
|
40 |
+
Errors = 94.7% 18 ( 33)
|
41 |
+
|
42 |
+
Ref. words = 19 ( 35)
|
43 |
+
Hyp. words = 1 ( 2)
|
44 |
+
Aligned words = 19 ( 35)
|
45 |
+
|
46 |
+
-------------------------------------------------------------------------------
|
47 |
+
|
predictions_test_wer94.29_hyp.trn.sys
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
|
4 |
+
SYSTEM SUMMARY PERCENTAGES by SPEAKER
|
5 |
+
|
6 |
+
,----------------------------------------------------------------.
|
7 |
+
| experiment/predictions_test_wer94.29_hyp.trn |
|
8 |
+
|----------------------------------------------------------------|
|
9 |
+
| SPKR | # Snt # Wrd | Corr Sub Del Ins Err S.Err |
|
10 |
+
|--------+-------------+-----------------------------------------|
|
11 |
+
| utt | 2 35 | 5.7 0.0 94.3 0.0 94.3 100.0 |
|
12 |
+
|================================================================|
|
13 |
+
| Sum/Avg| 2 35 | 5.7 0.0 94.3 0.0 94.3 100.0 |
|
14 |
+
|================================================================|
|
15 |
+
| Mean | 2.0 35.0 | 5.7 0.0 94.3 0.0 94.3 100.0 |
|
16 |
+
| S.D. | 0.0 0.0 | 0.0 0.0 0.0 0.0 0.0 0.0 |
|
17 |
+
| Median | 2.0 35.0 | 5.7 0.0 94.3 0.0 94.3 100.0 |
|
18 |
+
`----------------------------------------------------------------'
|
predictions_test_wer94.29_ref.trn
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
however due to theslow communication channels styles in the west could lag behind by to year (utterance_0)
|
2 |
+
all nouns alongside the wordsie for you always begin with a capital letter even in the middle of asentence (utterance_1)
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5496
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a87a2fc73ae493c25b7bc564a0d09f3075726207589852176ef7850651bba67
|
3 |
size 5496
|