Skip to content

Commit

Permalink
tutorial fixes specific to r2.0.0 (#11219)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzelasko authored Nov 7, 2024
1 parent 46cad58 commit 8470826
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@
"execution_count": null,
"id": "bfd72316-630b-43c3-9a02-65bb2dabe624",
"metadata": {
"id": "bfd72316-630b-43c3-9a02-65bb2dabe624",
"scrolled": true
"id": "bfd72316-630b-43c3-9a02-65bb2dabe624"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -248,8 +247,7 @@
"execution_count": null,
"id": "2f8162dd-0373-4e65-aa8a-f458a1633578",
"metadata": {
"id": "2f8162dd-0373-4e65-aa8a-f458a1633578",
"scrolled": true
"id": "2f8162dd-0373-4e65-aa8a-f458a1633578"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -394,8 +392,7 @@
"execution_count": null,
"id": "07c56dc3-fe42-49fc-936c-770ec17a29ac",
"metadata": {
"id": "07c56dc3-fe42-49fc-936c-770ec17a29ac",
"scrolled": true
"id": "07c56dc3-fe42-49fc-936c-770ec17a29ac"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -474,8 +471,7 @@
"execution_count": null,
"id": "35530cad-84d7-422b-82c5-1bda5c1a4497",
"metadata": {
"id": "35530cad-84d7-422b-82c5-1bda5c1a4497",
"scrolled": true
"id": "35530cad-84d7-422b-82c5-1bda5c1a4497"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -587,8 +583,7 @@
"execution_count": null,
"id": "c1d84948-8f73-4c31-923f-eaf01d877835",
"metadata": {
"id": "c1d84948-8f73-4c31-923f-eaf01d877835",
"scrolled": true
"id": "c1d84948-8f73-4c31-923f-eaf01d877835"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -670,8 +665,7 @@
"execution_count": null,
"id": "3d35d513-8538-4bcb-b892-898f16ad3f0f",
"metadata": {
"id": "3d35d513-8538-4bcb-b892-898f16ad3f0f",
"scrolled": true
"id": "3d35d513-8538-4bcb-b892-898f16ad3f0f"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -754,7 +748,6 @@
" prompt_lens=prompt_lens,\n",
" prompted_transcript=prompts_with_answers,\n",
" prompted_transcript_lens=prompts_with_answers_lens,\n",
" cuts=cuts.drop_in_memory_data(),\n",
" )\n",
"\n",
" def _collate_tokens(self, tokens: list[list[int] | torch.Tensor]) -> tuple[torch.Tensor, torch.Tensor]:\n",
Expand Down Expand Up @@ -1177,8 +1170,7 @@
"execution_count": null,
"id": "123faf0d-05b2-4f12-850f-350a175ba7c1",
"metadata": {
"id": "123faf0d-05b2-4f12-850f-350a175ba7c1",
"scrolled": true
"id": "123faf0d-05b2-4f12-850f-350a175ba7c1"
},
"outputs": [],
"source": [
Expand Down

0 comments on commit 8470826

Please sign in to comment.