first commit
Some checks failed
Self-hosted runner (nightly-past-ci-caller) / Get number (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.11 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.10 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.9 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.8 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.7 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.6 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.5 (push) Has been cancelled
Self-hosted runner (benchmark) / Benchmark (aws-g5-4xlarge-cache) (push) Has been cancelled
Build documentation / build (push) Has been cancelled
Build documentation / build_other_lang (push) Has been cancelled
CodeQL Security Analysis / CodeQL Analysis (push) Has been cancelled
New model PR merged notification / Notify new model (push) Has been cancelled
PR CI / pr-ci (push) Has been cancelled
Slow tests on important models (on Push - A10) / Get all modified files (push) Has been cancelled
Secret Leaks / trufflehog (push) Has been cancelled
Update Transformers metadata / build_and_package (push) Has been cancelled
Slow tests on important models (on Push - A10) / Model CI (push) Has been cancelled
Check Tiny Models / Check tiny models (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Model CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Pipeline CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Example CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / DeepSpeed CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Trainer/FSDP CI (push) Has been cancelled
Nvidia CI - Flash Attn / Setup (push) Has been cancelled
Nvidia CI - Flash Attn / Model CI (push) Has been cancelled
Nvidia CI / Setup (push) Has been cancelled
Nvidia CI / Model CI (push) Has been cancelled
Nvidia CI / Torch pipeline CI (push) Has been cancelled
Nvidia CI / Example CI (push) Has been cancelled
Nvidia CI / Trainer/FSDP CI (push) Has been cancelled
Nvidia CI / DeepSpeed CI (push) Has been cancelled
Nvidia CI / Quantization CI (push) Has been cancelled
Nvidia CI / Kernels CI (push) Has been cancelled
Doctests / Setup (push) Has been cancelled
Doctests / Call doctest jobs (push) Has been cancelled
Doctests / Send results to webhook (push) Has been cancelled
Extras Smoke Test / Get supported Python versions (push) Has been cancelled
Extras Smoke Test / Test extras on Python ${{ matrix.python-version }} (push) Has been cancelled
Extras Smoke Test / Check Slack token availability (push) Has been cancelled
Extras Smoke Test / Notify failures to Slack (push) Has been cancelled
Self-hosted runner (AMD scheduled CI caller) / Trigger Scheduled AMD CI (push) Has been cancelled
Stale Bot / Close Stale Issues (push) Has been cancelled
Some checks failed
Self-hosted runner (nightly-past-ci-caller) / Get number (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.11 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.10 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.9 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.8 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.7 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.6 (push) Has been cancelled
Self-hosted runner (nightly-past-ci-caller) / TensorFlow 2.5 (push) Has been cancelled
Self-hosted runner (benchmark) / Benchmark (aws-g5-4xlarge-cache) (push) Has been cancelled
Build documentation / build (push) Has been cancelled
Build documentation / build_other_lang (push) Has been cancelled
CodeQL Security Analysis / CodeQL Analysis (push) Has been cancelled
New model PR merged notification / Notify new model (push) Has been cancelled
PR CI / pr-ci (push) Has been cancelled
Slow tests on important models (on Push - A10) / Get all modified files (push) Has been cancelled
Secret Leaks / trufflehog (push) Has been cancelled
Update Transformers metadata / build_and_package (push) Has been cancelled
Slow tests on important models (on Push - A10) / Model CI (push) Has been cancelled
Check Tiny Models / Check tiny models (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Model CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Pipeline CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Example CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / DeepSpeed CI (push) Has been cancelled
Self-hosted runner (Intel Gaudi3 scheduled CI caller) / Trainer/FSDP CI (push) Has been cancelled
Nvidia CI - Flash Attn / Setup (push) Has been cancelled
Nvidia CI - Flash Attn / Model CI (push) Has been cancelled
Nvidia CI / Setup (push) Has been cancelled
Nvidia CI / Model CI (push) Has been cancelled
Nvidia CI / Torch pipeline CI (push) Has been cancelled
Nvidia CI / Example CI (push) Has been cancelled
Nvidia CI / Trainer/FSDP CI (push) Has been cancelled
Nvidia CI / DeepSpeed CI (push) Has been cancelled
Nvidia CI / Quantization CI (push) Has been cancelled
Nvidia CI / Kernels CI (push) Has been cancelled
Doctests / Setup (push) Has been cancelled
Doctests / Call doctest jobs (push) Has been cancelled
Doctests / Send results to webhook (push) Has been cancelled
Extras Smoke Test / Get supported Python versions (push) Has been cancelled
Extras Smoke Test / Test extras on Python ${{ matrix.python-version }} (push) Has been cancelled
Extras Smoke Test / Check Slack token availability (push) Has been cancelled
Extras Smoke Test / Notify failures to Slack (push) Has been cancelled
Self-hosted runner (AMD scheduled CI caller) / Trigger Scheduled AMD CI (push) Has been cancelled
Stale Bot / Close Stale Issues (push) Has been cancelled
This commit is contained in:
5
tests/fixtures/parakeet/expected_loss_tdt.json
vendored
Normal file
5
tests/fixtures/parakeet/expected_loss_tdt.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"num_samples": 2,
|
||||
"expected_mean_loss": 0.528089,
|
||||
"comment": "NeMo reference with sigma=0, HF-style mean reduction (per-sample / target_length, then average). Generated with https://gist.github.com/883ea42bf7d8ce2af42f3055627476a7"
|
||||
}
|
||||
1
tests/fixtures/parakeet/expected_results_batch.json
vendored
Normal file
1
tests/fixtures/parakeet/expected_results_batch.json
vendored
Normal file
File diff suppressed because one or more lines are too long
9
tests/fixtures/parakeet/expected_results_batch_tdt.json
vendored
Normal file
9
tests/fixtures/parakeet/expected_results_batch_tdt.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"transcriptions": [
|
||||
"mister Quilter is the apostle of the middle classes, and we are glad to welcome his gospel.",
|
||||
"Nor is mister Quilter's manner less interesting than his matter.",
|
||||
"He tells us that at this festive season of the year, with Christmas and roast beef looming before us, similes drawn from eating and its results occur most readily to the mind.",
|
||||
"He has grave doubts whether Sir Frederick Leighton's work is really Greek after all, and can discover in it but little of Rocky Ithaca.",
|
||||
"Linnell's pictures are a sort of up guards an atom paintings, and Mason's exquisite idols are as national as a jingo poem. mister Burkett Foster's landscapes smile at one much in the same way that mister Carker used to flash his teeth. And mister John Collier gives his sitter a cheerful slap on the back, before he says, like a shampooer in a Turkish bath Next man"
|
||||
]
|
||||
}
|
||||
251
tests/fixtures/parakeet/expected_results_batch_tdt_timestamp.json
vendored
Normal file
251
tests/fixtures/parakeet/expected_results_batch_tdt_timestamp.json
vendored
Normal file
@@ -0,0 +1,251 @@
|
||||
{
|
||||
"transcriptions": [
|
||||
"mister Quilter is the apostle of the middle classes, and we are glad to welcome his gospel.",
|
||||
"Nor is mister Quilter's manner less interesting than his matter.",
|
||||
"He tells us that at this festive season of the year, with Christmas and roast beef looming before us, similes drawn from eating and its results occur most readily to the mind."
|
||||
],
|
||||
"start_timestamps": [
|
||||
[
|
||||
0.24,
|
||||
0.48,
|
||||
0.64,
|
||||
0.88,
|
||||
1.12,
|
||||
1.36,
|
||||
1.44,
|
||||
1.6,
|
||||
1.76,
|
||||
2.0,
|
||||
2.16,
|
||||
2.24,
|
||||
2.4,
|
||||
2.48,
|
||||
2.56,
|
||||
2.72,
|
||||
2.88,
|
||||
3.04,
|
||||
3.12,
|
||||
3.2800000000000002,
|
||||
3.44,
|
||||
3.6,
|
||||
3.7600000000000002,
|
||||
3.92,
|
||||
4.08,
|
||||
4.24,
|
||||
4.4,
|
||||
4.48,
|
||||
4.72,
|
||||
4.96,
|
||||
5.36,
|
||||
5.6000000000000005
|
||||
],
|
||||
[
|
||||
0.32,
|
||||
0.64,
|
||||
0.88,
|
||||
1.04,
|
||||
1.2,
|
||||
1.44,
|
||||
1.68,
|
||||
1.84,
|
||||
1.92,
|
||||
2.0,
|
||||
2.16,
|
||||
2.4,
|
||||
2.56,
|
||||
2.72,
|
||||
2.96,
|
||||
3.12,
|
||||
3.36,
|
||||
3.6,
|
||||
3.92,
|
||||
4.16,
|
||||
4.32
|
||||
],
|
||||
[
|
||||
0.32,
|
||||
0.64,
|
||||
0.72,
|
||||
0.96,
|
||||
1.12,
|
||||
1.36,
|
||||
1.6,
|
||||
1.84,
|
||||
2.08,
|
||||
2.24,
|
||||
2.48,
|
||||
2.64,
|
||||
2.8000000000000003,
|
||||
2.88,
|
||||
3.04,
|
||||
3.2,
|
||||
3.44,
|
||||
3.68,
|
||||
3.84,
|
||||
4.08,
|
||||
4.4,
|
||||
4.5600000000000005,
|
||||
4.72,
|
||||
4.96,
|
||||
5.12,
|
||||
5.36,
|
||||
5.5200000000000005,
|
||||
5.68,
|
||||
5.92,
|
||||
6.16,
|
||||
6.24,
|
||||
6.4,
|
||||
6.5600000000000005,
|
||||
6.72,
|
||||
6.96,
|
||||
7.28,
|
||||
7.6000000000000005,
|
||||
7.92,
|
||||
8.16,
|
||||
8.32,
|
||||
8.48,
|
||||
8.72,
|
||||
8.88,
|
||||
8.96,
|
||||
9.120000000000001,
|
||||
9.28,
|
||||
9.44,
|
||||
9.68,
|
||||
9.76,
|
||||
9.92,
|
||||
10.16,
|
||||
10.24,
|
||||
10.4,
|
||||
10.64,
|
||||
10.88,
|
||||
10.96,
|
||||
11.200000000000001,
|
||||
11.36,
|
||||
11.52,
|
||||
11.84,
|
||||
12.16
|
||||
]
|
||||
],
|
||||
"end_timestamps": [
|
||||
[
|
||||
0.48,
|
||||
0.64,
|
||||
0.88,
|
||||
1.12,
|
||||
1.36,
|
||||
1.44,
|
||||
1.6,
|
||||
1.76,
|
||||
1.92,
|
||||
2.16,
|
||||
2.24,
|
||||
2.4,
|
||||
2.48,
|
||||
2.56,
|
||||
2.64,
|
||||
2.88,
|
||||
3.04,
|
||||
3.12,
|
||||
3.12,
|
||||
3.44,
|
||||
3.6,
|
||||
3.7600000000000002,
|
||||
3.92,
|
||||
4.08,
|
||||
4.24,
|
||||
4.4,
|
||||
4.48,
|
||||
4.72,
|
||||
4.96,
|
||||
5.12,
|
||||
5.6000000000000005,
|
||||
5.6000000000000005
|
||||
],
|
||||
[
|
||||
0.64,
|
||||
0.88,
|
||||
1.04,
|
||||
1.2,
|
||||
1.44,
|
||||
1.68,
|
||||
1.84,
|
||||
1.84,
|
||||
2.0,
|
||||
2.16,
|
||||
2.4,
|
||||
2.56,
|
||||
2.72,
|
||||
2.96,
|
||||
3.12,
|
||||
3.36,
|
||||
3.6,
|
||||
3.92,
|
||||
4.16,
|
||||
4.32,
|
||||
4.32
|
||||
],
|
||||
[
|
||||
0.64,
|
||||
0.72,
|
||||
0.96,
|
||||
1.12,
|
||||
1.36,
|
||||
1.6,
|
||||
1.84,
|
||||
2.08,
|
||||
2.24,
|
||||
2.48,
|
||||
2.64,
|
||||
2.8000000000000003,
|
||||
2.88,
|
||||
3.04,
|
||||
3.2,
|
||||
3.44,
|
||||
3.68,
|
||||
3.84,
|
||||
3.84,
|
||||
4.4,
|
||||
4.5600000000000005,
|
||||
4.72,
|
||||
4.96,
|
||||
5.12,
|
||||
5.36,
|
||||
5.5200000000000005,
|
||||
5.68,
|
||||
5.92,
|
||||
6.16,
|
||||
6.24,
|
||||
6.4,
|
||||
6.5600000000000005,
|
||||
6.72,
|
||||
6.96,
|
||||
7.28,
|
||||
7.28,
|
||||
7.92,
|
||||
8.16,
|
||||
8.24,
|
||||
8.48,
|
||||
8.72,
|
||||
8.88,
|
||||
8.96,
|
||||
9.120000000000001,
|
||||
9.200000000000001,
|
||||
9.44,
|
||||
9.68,
|
||||
9.76,
|
||||
9.92,
|
||||
10.16,
|
||||
10.24,
|
||||
10.4,
|
||||
10.64,
|
||||
10.88,
|
||||
10.96,
|
||||
11.200000000000001,
|
||||
11.36,
|
||||
11.52,
|
||||
11.84,
|
||||
12.16,
|
||||
12.16
|
||||
]
|
||||
]
|
||||
}
|
||||
1
tests/fixtures/parakeet/expected_results_single.json
vendored
Normal file
1
tests/fixtures/parakeet/expected_results_single.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"transcriptions": ["mister quilter is the apostle of the middle classes and we are glad to welcome his gospel"], "scores": [-0.08922013640403748], "token_ids": [[1024, 1024, 1024, 1024, 1024, 1024, 19, 37, 132, 1024, 1024, 264, 128, 1024, 1024, 1024, 132, 1024, 58, 1024, 5, 645, 1024, 1000, 82, 52, 1024, 34, 1024, 5, 19, 68, 1007, 52, 1024, 235, 1024, 388, 1024, 27, 1024, 25, 1024, 56, 1024, 103, 1024, 1024, 727, 112, 1024, 22, 1024, 56, 1006, 1009, 405, 1024, 1024, 217, 1024, 1024, 95, 1003, 1024, 133, 1006, 1024, 1024, 1024, 1024, 1024, 1024, 1024]]}
|
||||
5
tests/fixtures/parakeet/expected_results_single_tdt.json
vendored
Normal file
5
tests/fixtures/parakeet/expected_results_single_tdt.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"transcriptions": [
|
||||
"mister Quilter is the apostle of the middle classes, and we are glad to welcome his gospel."
|
||||
]
|
||||
}
|
||||
43
tests/fixtures/parakeet/expected_tdt_loss.json
vendored
Normal file
43
tests/fixtures/parakeet/expected_tdt_loss.json
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"seed": 42,
|
||||
"batch_size": 2,
|
||||
"max_t": 8,
|
||||
"max_u": 4,
|
||||
"vocab_size": 5,
|
||||
"durations": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"targets": [
|
||||
[
|
||||
4,
|
||||
2,
|
||||
2,
|
||||
1
|
||||
],
|
||||
[
|
||||
0,
|
||||
4,
|
||||
2,
|
||||
4
|
||||
]
|
||||
],
|
||||
"logit_lengths": [
|
||||
8,
|
||||
7
|
||||
],
|
||||
"target_lengths": [
|
||||
4,
|
||||
3
|
||||
],
|
||||
"expected_loss_sum": 21.978166580200195,
|
||||
"expected_loss_mean": 3.124553918838501,
|
||||
"expected_loss_none": [
|
||||
12.923372268676758,
|
||||
9.054794311523438
|
||||
],
|
||||
"expected_loss_mean_sigma_0p05": 3.1921849250793457
|
||||
}
|
||||
Reference in New Issue
Block a user