Model save
Browse files- .ipynb_checkpoints/run-checkpoint.sh +1 -1
- README.md +0 -63
- added_tokens.json +1 -1
- all_results.json +0 -14
- config.json +2 -2
- eval_results.json +0 -9
- pytorch_model.bin +2 -2
- run.sh +1 -1
- train_results.json +0 -8
- trainer_state.json +0 -25
- training_args.bin +1 -1
- vocab.json +1 -1
.ipynb_checkpoints/run-checkpoint.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
python run_speech_recognition_ctc.py \
|
2 |
--dataset_name="common_voice" \
|
3 |
--model_name_or_path="hf-test/xls-r-dummy" \
|
4 |
-
--dataset_config_name="
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="2" \
|
|
|
1 |
python run_speech_recognition_ctc.py \
|
2 |
--dataset_name="common_voice" \
|
3 |
--model_name_or_path="hf-test/xls-r-dummy" \
|
4 |
+
--dataset_config_name="hi" \
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="2" \
|
README.md
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
---
|
2 |
-
language:
|
3 |
-
- ab
|
4 |
-
tags:
|
5 |
-
- automatic-speech-recognition
|
6 |
-
- common_voice
|
7 |
-
- generated_from_trainer
|
8 |
-
datasets:
|
9 |
-
- common_voice
|
10 |
-
model-index:
|
11 |
-
- name: ''
|
12 |
-
results: []
|
13 |
-
---
|
14 |
-
|
15 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
-
should probably proofread and complete it, then remove this comment. -->
|
17 |
-
|
18 |
-
#
|
19 |
-
|
20 |
-
This model is a fine-tuned version of [hf-test/xls-r-dummy](https://huggingface.co/hf-test/xls-r-dummy) on the COMMON_VOICE - AB dataset.
|
21 |
-
It achieves the following results on the evaluation set:
|
22 |
-
- Loss: 133.5167
|
23 |
-
- Wer: 18.9286
|
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 |
-
- learning_rate: 0.0003
|
43 |
-
- train_batch_size: 16
|
44 |
-
- eval_batch_size: 8
|
45 |
-
- seed: 42
|
46 |
-
- gradient_accumulation_steps: 2
|
47 |
-
- total_train_batch_size: 32
|
48 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
-
- lr_scheduler_type: linear
|
50 |
-
- lr_scheduler_warmup_steps: 500
|
51 |
-
- num_epochs: 2.0
|
52 |
-
- mixed_precision_training: Native AMP
|
53 |
-
|
54 |
-
### Training results
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
### Framework versions
|
59 |
-
|
60 |
-
- Transformers 4.17.0.dev0
|
61 |
-
- Pytorch 1.10.2+cu102
|
62 |
-
- Datasets 1.18.2.dev0
|
63 |
-
- Tokenizers 0.11.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
added_tokens.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"<s>":
|
|
|
1 |
+
{"<s>": 73, "</s>": 74}
|
all_results.json
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"epoch": 2.0,
|
3 |
-
"eval_loss": 133.51673889160156,
|
4 |
-
"eval_runtime": 0.3897,
|
5 |
-
"eval_samples": 9,
|
6 |
-
"eval_samples_per_second": 23.093,
|
7 |
-
"eval_steps_per_second": 5.132,
|
8 |
-
"eval_wer": 18.928571428571427,
|
9 |
-
"train_loss": 147.0714569091797,
|
10 |
-
"train_runtime": 2.5065,
|
11 |
-
"train_samples": 22,
|
12 |
-
"train_samples_per_second": 17.554,
|
13 |
-
"train_steps_per_second": 0.798
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
CHANGED
@@ -65,7 +65,7 @@
|
|
65 |
"num_hidden_layers": 4,
|
66 |
"num_negatives": 10,
|
67 |
"output_hidden_size": 16,
|
68 |
-
"pad_token_id":
|
69 |
"proj_codevector_dim": 256,
|
70 |
"tdnn_dilation": [
|
71 |
1,
|
@@ -91,6 +91,6 @@
|
|
91 |
"torch_dtype": "float32",
|
92 |
"transformers_version": "4.17.0.dev0",
|
93 |
"use_weighted_layer_sum": false,
|
94 |
-
"vocab_size":
|
95 |
"xvector_output_dim": 512
|
96 |
}
|
|
|
65 |
"num_hidden_layers": 4,
|
66 |
"num_negatives": 10,
|
67 |
"output_hidden_size": 16,
|
68 |
+
"pad_token_id": 72,
|
69 |
"proj_codevector_dim": 256,
|
70 |
"tdnn_dilation": [
|
71 |
1,
|
|
|
91 |
"torch_dtype": "float32",
|
92 |
"transformers_version": "4.17.0.dev0",
|
93 |
"use_weighted_layer_sum": false,
|
94 |
+
"vocab_size": 75,
|
95 |
"xvector_output_dim": 512
|
96 |
}
|
eval_results.json
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"epoch": 2.0,
|
3 |
-
"eval_loss": 133.51673889160156,
|
4 |
-
"eval_runtime": 0.3897,
|
5 |
-
"eval_samples": 9,
|
6 |
-
"eval_samples_per_second": 23.093,
|
7 |
-
"eval_steps_per_second": 5.132,
|
8 |
-
"eval_wer": 18.928571428571427
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pytorch_model.bin
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:13da8c174ad4ca85332500aa28ebddb71c1a57676867c30cd905a77f61bd43a9
|
3 |
+
size 145382
|
run.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
python run_speech_recognition_ctc.py \
|
2 |
--dataset_name="common_voice" \
|
3 |
--model_name_or_path="hf-test/xls-r-dummy" \
|
4 |
-
--dataset_config_name="
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="2" \
|
|
|
1 |
python run_speech_recognition_ctc.py \
|
2 |
--dataset_name="common_voice" \
|
3 |
--model_name_or_path="hf-test/xls-r-dummy" \
|
4 |
+
--dataset_config_name="hi" \
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="2" \
|
train_results.json
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"epoch": 2.0,
|
3 |
-
"train_loss": 147.0714569091797,
|
4 |
-
"train_runtime": 2.5065,
|
5 |
-
"train_samples": 22,
|
6 |
-
"train_samples_per_second": 17.554,
|
7 |
-
"train_steps_per_second": 0.798
|
8 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trainer_state.json
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"best_metric": null,
|
3 |
-
"best_model_checkpoint": null,
|
4 |
-
"epoch": 2.0,
|
5 |
-
"global_step": 2,
|
6 |
-
"is_hyper_param_search": false,
|
7 |
-
"is_local_process_zero": true,
|
8 |
-
"is_world_process_zero": true,
|
9 |
-
"log_history": [
|
10 |
-
{
|
11 |
-
"epoch": 2.0,
|
12 |
-
"step": 2,
|
13 |
-
"total_flos": 1024005998592.0,
|
14 |
-
"train_loss": 147.0714569091797,
|
15 |
-
"train_runtime": 2.5065,
|
16 |
-
"train_samples_per_second": 17.554,
|
17 |
-
"train_steps_per_second": 0.798
|
18 |
-
}
|
19 |
-
],
|
20 |
-
"max_steps": 2,
|
21 |
-
"num_train_epochs": 2,
|
22 |
-
"total_flos": 1024005998592.0,
|
23 |
-
"trial_name": null,
|
24 |
-
"trial_params": null
|
25 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2991
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e7c49f436f35bafb5f2bb54a872e96c104c766a78f634853f8b33dfc5ba4646
|
3 |
size 2991
|
vocab.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"
|
|
|
1 |
+
{"a": 1, "e": 2, "f": 3, "i": 4, "l": 5, "m": 6, "p": 7, "r": 8, "u": 9, "w": 10, "ँ": 11, "ं": 12, "ः": 13, "अ": 14, "आ": 15, "इ": 16, "ई": 17, "उ": 18, "ऊ": 19, "ए": 20, "ऐ": 21, "ऑ": 22, "ओ": 23, "औ": 24, "क": 25, "ख": 26, "ग": 27, "घ": 28, "च": 29, "छ": 30, "ज": 31, "झ": 32, "ट": 33, "ठ": 34, "ड": 35, "ढ": 36, "ण": 37, "त": 38, "थ": 39, "द": 40, "ध": 41, "न": 42, "प": 43, "फ": 44, "ब": 45, "भ": 46, "म": 47, "य": 48, "र": 49, "ल": 50, "व": 51, "श": 52, "ष": 53, "स": 54, "ह": 55, "़": 56, "ा": 57, "ि": 58, "ी": 59, "ु": 60, "ू": 61, "ृ": 62, "े": 63, "ै": 64, "ॉ": 65, "ो": 66, "ौ": 67, "्": 68, "ड़": 69, "।": 70, "|": 0, "[UNK]": 71, "[PAD]": 72}
|