bigmorning
commited on
Commit
•
7d7bcff
1
Parent(s):
9971600
Upload TFWhisperForConditionalGeneration
Browse files- README.md +66 -0
- config.json +42 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: whisper_wermet_nosup_0010
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
+
probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# whisper_wermet_nosup_0010
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 0.5307
|
18 |
+
- Train Accuracy: 0.0308
|
19 |
+
- Train Wermet: 6.4113
|
20 |
+
- Validation Loss: 0.6640
|
21 |
+
- Validation Accuracy: 0.0306
|
22 |
+
- Validation Wermet: 5.7589
|
23 |
+
- Epoch: 9
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 1e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
43 |
+
- training_precision: float32
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Train Loss | Train Accuracy | Train Wermet | Validation Loss | Validation Accuracy | Validation Wermet | Epoch |
|
48 |
+
|:----------:|:--------------:|:------------:|:---------------:|:-------------------:|:-----------------:|:-----:|
|
49 |
+
| 5.0860 | 0.0116 | 45.4352 | 4.4455 | 0.0124 | 36.1611 | 0 |
|
50 |
+
| 4.3098 | 0.0131 | 29.4890 | 4.0321 | 0.0144 | 24.9514 | 1 |
|
51 |
+
| 3.6711 | 0.0160 | 25.7380 | 2.7995 | 0.0205 | 32.2126 | 2 |
|
52 |
+
| 2.2582 | 0.0224 | 31.5946 | 1.6772 | 0.0257 | 23.9282 | 3 |
|
53 |
+
| 1.4268 | 0.0262 | 23.3380 | 1.2097 | 0.0279 | 18.7331 | 4 |
|
54 |
+
| 1.0613 | 0.0279 | 13.6764 | 0.9972 | 0.0289 | 10.7707 | 5 |
|
55 |
+
| 0.8545 | 0.0290 | 9.2746 | 0.8605 | 0.0296 | 6.5566 | 6 |
|
56 |
+
| 0.7144 | 0.0297 | 7.4723 | 0.7768 | 0.0300 | 5.4825 | 7 |
|
57 |
+
| 0.6116 | 0.0303 | 6.9092 | 0.7125 | 0.0304 | 6.5220 | 8 |
|
58 |
+
| 0.5307 | 0.0308 | 6.4113 | 0.6640 | 0.0306 | 5.7589 | 9 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.25.0.dev0
|
64 |
+
- TensorFlow 2.9.2
|
65 |
+
- Datasets 2.6.1
|
66 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/whisper-tiny",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"WhisperForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"begin_suppress_tokens": [
|
10 |
+
220,
|
11 |
+
50257
|
12 |
+
],
|
13 |
+
"bos_token_id": 50257,
|
14 |
+
"d_model": 384,
|
15 |
+
"decoder_attention_heads": 6,
|
16 |
+
"decoder_ffn_dim": 1536,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 4,
|
19 |
+
"decoder_start_token_id": 50258,
|
20 |
+
"dropout": 0.0,
|
21 |
+
"encoder_attention_heads": 6,
|
22 |
+
"encoder_ffn_dim": 1536,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 4,
|
25 |
+
"eos_token_id": 50257,
|
26 |
+
"forced_decoder_ids": null,
|
27 |
+
"init_std": 0.02,
|
28 |
+
"is_encoder_decoder": true,
|
29 |
+
"max_length": 448,
|
30 |
+
"max_source_positions": 1500,
|
31 |
+
"max_target_positions": 448,
|
32 |
+
"model_type": "whisper",
|
33 |
+
"num_hidden_layers": 4,
|
34 |
+
"num_mel_bins": 80,
|
35 |
+
"pad_token_id": 50257,
|
36 |
+
"scale_embedding": false,
|
37 |
+
"suppress_tokens": [],
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.25.0.dev0",
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 51865
|
42 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24c561da382ea962808b88bcfe367b175f117430f8280bfb5d0e28d5ba4b17ef
|
3 |
+
size 151253984
|