jraramhoej commited on
Commit
dc4f202
1 Parent(s): 7f8e62e

End of training

Browse files
Files changed (1) hide show
  1. fine-tune-whisper-streaming.ipynb +24 -2
fine-tune-whisper-streaming.ipynb CHANGED
@@ -1215,7 +1215,7 @@
1215
  },
1216
  {
1217
  "cell_type": "code",
1218
- "execution_count": null,
1219
  "id": "95737cda-c5dd-4887-a4d0-dfcb0d61d977",
1220
  "metadata": {},
1221
  "outputs": [
@@ -1229,7 +1229,29 @@
1229
  "Feature extractor saved in ./preprocessor_config.json\n",
1230
  "tokenizer config file saved in ./tokenizer_config.json\n",
1231
  "Special tokens file saved in ./special_tokens_map.json\n",
1232
- "added tokens file saved in ./added_tokens.json\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1233
  ]
1234
  }
1235
  ],
 
1215
  },
1216
  {
1217
  "cell_type": "code",
1218
+ "execution_count": 24,
1219
  "id": "95737cda-c5dd-4887-a4d0-dfcb0d61d977",
1220
  "metadata": {},
1221
  "outputs": [
 
1229
  "Feature extractor saved in ./preprocessor_config.json\n",
1230
  "tokenizer config file saved in ./tokenizer_config.json\n",
1231
  "Special tokens file saved in ./special_tokens_map.json\n",
1232
+ "added tokens file saved in ./added_tokens.json\n",
1233
+ "Several commits (2) will be pushed upstream.\n",
1234
+ "The progress bars may be unreliable.\n",
1235
+ "fatal: unable to access 'https://huggingface.co/jraramhoej/whisper-small-lt-sr-v2/': The requested URL returned error: 502\n",
1236
+ "\n"
1237
+ ]
1238
+ },
1239
+ {
1240
+ "ename": "OSError",
1241
+ "evalue": "fatal: unable to access 'https://huggingface.co/jraramhoej/whisper-small-lt-sr-v2/': The requested URL returned error: 502\n",
1242
+ "output_type": "error",
1243
+ "traceback": [
1244
+ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
1245
+ "\u001b[0;31mCalledProcessError\u001b[0m Traceback (most recent call last)",
1246
+ "\u001b[0;32m~/.local/lib/python3.8/site-packages/huggingface_hub/repository.py\u001b[0m in \u001b[0;36mgit_push\u001b[0;34m(self, upstream, blocking, auto_lfs_prune)\u001b[0m\n\u001b[1;32m 1206\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mreturn_code\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1207\u001b[0;31m raise subprocess.CalledProcessError(\n\u001b[0m\u001b[1;32m 1208\u001b[0m \u001b[0mreturn_code\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mprocess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0moutput\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mstdout\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mstderr\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mstderr\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1247
+ "\u001b[0;31mCalledProcessError\u001b[0m: Command '['git', 'push', '--set-upstream', 'origin', 'main']' returned non-zero exit status 128.",
1248
+ "\nDuring handling of the above exception, another exception occurred:\n",
1249
+ "\u001b[0;31mOSError\u001b[0m Traceback (most recent call last)",
1250
+ "\u001b[0;32m<ipython-input-24-ce0a97cc110b>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mtrainer\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpush_to_hub\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
1251
+ "\u001b[0;32m~/.local/lib/python3.8/site-packages/transformers/trainer.py\u001b[0m in \u001b[0;36mpush_to_hub\u001b[0;34m(self, commit_message, blocking, **kwargs)\u001b[0m\n\u001b[1;32m 3489\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpush_in_progress\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3490\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 3491\u001b[0;31m git_head_commit_url = self.repo.push_to_hub(\n\u001b[0m\u001b[1;32m 3492\u001b[0m \u001b[0mcommit_message\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mcommit_message\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mblocking\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mblocking\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mauto_lfs_prune\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3493\u001b[0m )\n",
1252
+ "\u001b[0;32m~/.local/lib/python3.8/site-packages/huggingface_hub/repository.py\u001b[0m in \u001b[0;36mpush_to_hub\u001b[0;34m(self, commit_message, blocking, clean_ok, auto_lfs_prune)\u001b[0m\n\u001b[1;32m 1430\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgit_add\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mauto_lfs_track\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1431\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgit_commit\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcommit_message\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1432\u001b[0;31m return self.git_push(\n\u001b[0m\u001b[1;32m 1433\u001b[0m \u001b[0mupstream\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34mf\"origin {self.current_branch}\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1434\u001b[0m \u001b[0mblocking\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mblocking\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1253
+ "\u001b[0;32m~/.local/lib/python3.8/site-packages/huggingface_hub/repository.py\u001b[0m in \u001b[0;36mgit_push\u001b[0;34m(self, upstream, blocking, auto_lfs_prune)\u001b[0m\n\u001b[1;32m 1210\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1211\u001b[0m \u001b[0;32mexcept\u001b[0m \u001b[0msubprocess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mCalledProcessError\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mexc\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1212\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mEnvironmentError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mexc\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstderr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 1213\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1214\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mblocking\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1254
+ "\u001b[0;31mOSError\u001b[0m: fatal: unable to access 'https://huggingface.co/jraramhoej/whisper-small-lt-sr-v2/': The requested URL returned error: 502\n"
1255
  ]
1256
  }
1257
  ],