From 62dad1fcf1d1d92768f2f255c238de12dede9d59 Mon Sep 17 00:00:00 2001 From: Akiva5 Date: Wed, 16 Jul 2025 23:41:27 +0300 Subject: [PATCH 1/2] Created using Colab --- transcribe_audio_.ipynb | 562 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 562 insertions(+) create mode 100644 transcribe_audio_.ipynb diff --git a/transcribe_audio_.ipynb b/transcribe_audio_.ipynb new file mode 100644 index 0000000..7e1a14a --- /dev/null +++ b/transcribe_audio_.ipynb @@ -0,0 +1,562 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [], + "gpuType": "T4", + "mount_file_id": "12r8uaf04hc7fiYuK_bGOegqp57DOYjXD", + "authorship_tag": "ABX9TyO6rMlZqsX7m2hk8Af1/0PC", + "include_colab_link": true + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + }, + "accelerator": "GPU" + }, + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "Hptr-JKcVX4g", + "outputId": "d4f9ab97-a2c4-4a25-bb17-fd9950675cbf" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Collecting git+https://github.com/openai/whisper.git\n", + " Cloning https://github.com/openai/whisper.git to /tmp/pip-req-build-lb4mtn3s\n", + " Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git /tmp/pip-req-build-lb4mtn3s\n", + " Resolved https://github.com/openai/whisper.git to commit c0d2f624c09dc18e709e37c2ad90c039a4eb72a2\n", + " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", + " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", + " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", + "Requirement already satisfied: more-itertools in /usr/local/lib/python3.11/dist-packages (from openai-whisper==20250625) (10.7.0)\n", + "Requirement already satisfied: numba in /usr/local/lib/python3.11/dist-packages (from openai-whisper==20250625) (0.60.0)\n", + "Requirement already satisfied: numpy in /usr/local/lib/python3.11/dist-packages (from openai-whisper==20250625) (2.0.2)\n", + "Requirement already satisfied: tiktoken in /usr/local/lib/python3.11/dist-packages (from openai-whisper==20250625) (0.9.0)\n", + "Requirement already satisfied: torch in /usr/local/lib/python3.11/dist-packages (from openai-whisper==20250625) (2.6.0+cu124)\n", + "Requirement already satisfied: tqdm in /usr/local/lib/python3.11/dist-packages (from openai-whisper==20250625) (4.67.1)\n", + "Requirement already satisfied: triton>=2 in /usr/local/lib/python3.11/dist-packages (from openai-whisper==20250625) (3.2.0)\n", + "Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in /usr/local/lib/python3.11/dist-packages (from numba->openai-whisper==20250625) (0.43.0)\n", + "Requirement already satisfied: regex>=2022.1.18 in /usr/local/lib/python3.11/dist-packages (from tiktoken->openai-whisper==20250625) (2024.11.6)\n", + "Requirement already satisfied: requests>=2.26.0 in /usr/local/lib/python3.11/dist-packages (from tiktoken->openai-whisper==20250625) (2.32.3)\n", + "Requirement already satisfied: filelock in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (3.18.0)\n", + "Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (4.14.0)\n", + "Requirement already satisfied: networkx in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (3.5)\n", + "Requirement already satisfied: jinja2 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (3.1.6)\n", + "Requirement already satisfied: fsspec in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (2025.3.2)\n", + "Collecting nvidia-cuda-nvrtc-cu12==12.4.127 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n", + "Collecting nvidia-cuda-runtime-cu12==12.4.127 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n", + "Collecting nvidia-cuda-cupti-cu12==12.4.127 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n", + "Collecting nvidia-cudnn-cu12==9.1.0.70 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n", + "Collecting nvidia-cublas-cu12==12.4.5.8 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n", + "Collecting nvidia-cufft-cu12==11.2.1.3 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n", + "Collecting nvidia-curand-cu12==10.3.5.147 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n", + "Collecting nvidia-cusolver-cu12==11.6.1.9 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n", + "Collecting nvidia-cusparse-cu12==12.3.1.170 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n", + "Requirement already satisfied: nvidia-cusparselt-cu12==0.6.2 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (0.6.2)\n", + "Requirement already satisfied: nvidia-nccl-cu12==2.21.5 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (2.21.5)\n", + "Requirement already satisfied: nvidia-nvtx-cu12==12.4.127 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (12.4.127)\n", + "Collecting nvidia-nvjitlink-cu12==12.4.127 (from torch->openai-whisper==20250625)\n", + " Downloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n", + "Requirement already satisfied: sympy==1.13.1 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (1.13.1)\n", + "Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.11/dist-packages (from sympy==1.13.1->torch->openai-whisper==20250625) (1.3.0)\n", + "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (3.4.2)\n", + "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (3.10)\n", + "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (2.4.0)\n", + "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (2025.6.15)\n", + "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.11/dist-packages (from jinja2->torch->openai-whisper==20250625) (3.0.2)\n", + "Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl (363.4 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m363.4/363.4 MB\u001b[0m \u001b[31m4.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (13.8 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.8/13.8 MB\u001b[0m \u001b[31m119.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (24.6 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m24.6/24.6 MB\u001b[0m \u001b[31m67.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (883 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m883.7/883.7 kB\u001b[0m \u001b[31m53.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl (664.8 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m664.8/664.8 MB\u001b[0m \u001b[31m1.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl (211.5 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m211.5/211.5 MB\u001b[0m \u001b[31m5.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl (56.3 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.3/56.3 MB\u001b[0m \u001b[31m17.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl (127.9 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m127.9/127.9 MB\u001b[0m \u001b[31m7.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl (207.5 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m207.5/207.5 MB\u001b[0m \u001b[31m5.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (21.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.1/21.1 MB\u001b[0m \u001b[31m107.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hBuilding wheels for collected packages: openai-whisper\n", + " Building wheel for openai-whisper (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", + " Created wheel for openai-whisper: filename=openai_whisper-20250625-py3-none-any.whl size=803979 sha256=40f6d8301d5cec89119d8b883694824e6458dc746645d8e27c52ee8baeda5f50\n", + " Stored in directory: /tmp/pip-ephem-wheel-cache-u2l88x41/wheels/1f/1d/98/9583695e6695a6ac0ad42d87511097dce5ba486647dbfecb0e\n", + "Successfully built openai-whisper\n", + "Installing collected packages: nvidia-nvjitlink-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, nvidia-cusparse-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, openai-whisper\n", + " Attempting uninstall: nvidia-nvjitlink-cu12\n", + " Found existing installation: nvidia-nvjitlink-cu12 12.5.82\n", + " Uninstalling nvidia-nvjitlink-cu12-12.5.82:\n", + " Successfully uninstalled nvidia-nvjitlink-cu12-12.5.82\n", + " Attempting uninstall: nvidia-curand-cu12\n", + " Found existing installation: nvidia-curand-cu12 10.3.6.82\n", + " Uninstalling nvidia-curand-cu12-10.3.6.82:\n", + " Successfully uninstalled nvidia-curand-cu12-10.3.6.82\n", + " Attempting uninstall: nvidia-cufft-cu12\n", + " Found existing installation: nvidia-cufft-cu12 11.2.3.61\n", + " Uninstalling nvidia-cufft-cu12-11.2.3.61:\n", + " Successfully uninstalled nvidia-cufft-cu12-11.2.3.61\n", + " Attempting uninstall: nvidia-cuda-runtime-cu12\n", + " Found existing installation: nvidia-cuda-runtime-cu12 12.5.82\n", + " Uninstalling nvidia-cuda-runtime-cu12-12.5.82:\n", + " Successfully uninstalled nvidia-cuda-runtime-cu12-12.5.82\n", + " Attempting uninstall: nvidia-cuda-nvrtc-cu12\n", + " Found existing installation: nvidia-cuda-nvrtc-cu12 12.5.82\n", + " Uninstalling nvidia-cuda-nvrtc-cu12-12.5.82:\n", + " Successfully uninstalled nvidia-cuda-nvrtc-cu12-12.5.82\n", + " Attempting uninstall: nvidia-cuda-cupti-cu12\n", + " Found existing installation: nvidia-cuda-cupti-cu12 12.5.82\n", + " Uninstalling nvidia-cuda-cupti-cu12-12.5.82:\n", + " Successfully uninstalled nvidia-cuda-cupti-cu12-12.5.82\n", + " Attempting uninstall: nvidia-cublas-cu12\n", + " Found existing installation: nvidia-cublas-cu12 12.5.3.2\n", + " Uninstalling nvidia-cublas-cu12-12.5.3.2:\n", + " Successfully uninstalled nvidia-cublas-cu12-12.5.3.2\n", + " Attempting uninstall: nvidia-cusparse-cu12\n", + " Found existing installation: nvidia-cusparse-cu12 12.5.1.3\n", + " Uninstalling nvidia-cusparse-cu12-12.5.1.3:\n", + " Successfully uninstalled nvidia-cusparse-cu12-12.5.1.3\n", + " Attempting uninstall: nvidia-cudnn-cu12\n", + " Found existing installation: nvidia-cudnn-cu12 9.3.0.75\n", + " Uninstalling nvidia-cudnn-cu12-9.3.0.75:\n", + " Successfully uninstalled nvidia-cudnn-cu12-9.3.0.75\n", + " Attempting uninstall: nvidia-cusolver-cu12\n", + " Found existing installation: nvidia-cusolver-cu12 11.6.3.83\n", + " Uninstalling nvidia-cusolver-cu12-11.6.3.83:\n", + " Successfully uninstalled nvidia-cusolver-cu12-11.6.3.83\n", + "Successfully installed nvidia-cublas-cu12-12.4.5.8 nvidia-cuda-cupti-cu12-12.4.127 nvidia-cuda-nvrtc-cu12-12.4.127 nvidia-cuda-runtime-cu12-12.4.127 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.2.1.3 nvidia-curand-cu12-10.3.5.147 nvidia-cusolver-cu12-11.6.1.9 nvidia-cusparse-cu12-12.3.1.170 nvidia-nvjitlink-cu12-12.4.127 openai-whisper-20250625\n", + "Get:1 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease [3,632 B]\n", + "Get:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1,581 B]\n", + "Get:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [1,804 kB]\n", + "Get:4 https://r2u.stat.illinois.edu/ubuntu jammy InRelease [6,555 B]\n", + "Get:5 https://r2u.stat.illinois.edu/ubuntu jammy/main all Packages [9,065 kB]\n", + "Hit:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease\n", + "Get:7 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease [24.3 kB]\n", + "Hit:8 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease\n", + "Get:9 https://r2u.stat.illinois.edu/ubuntu jammy/main amd64 Packages [2,749 kB]\n", + "Get:10 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy/main amd64 Packages [51.0 kB]\n", + "Get:11 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]\n", + "Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,262 kB]\n", + "Hit:13 http://archive.ubuntu.com/ubuntu jammy InRelease\n", + "Get:14 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]\n", + "Get:15 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]\n", + "Get:16 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [48.5 kB]\n", + "Get:17 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3,089 kB]\n", + "Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,566 kB]\n", + "Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3,401 kB]\n", + "Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [56.4 kB]\n", + "Fetched 23.5 MB in 14s (1,650 kB/s)\n", + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "35 packages can be upgraded. Run 'apt list --upgradable' to see them.\n", + "\u001b[1;33mW: \u001b[0mSkipping acquire of configured file 'main/source/Sources' as repository 'https://r2u.stat.illinois.edu/ubuntu jammy InRelease' does not seem to provide it (sources.list entry misspelt?)\u001b[0m\n", + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "ffmpeg is already the newest version (7:4.4.2-0ubuntu0.22.04.1).\n", + "0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.\n" + ] + } + ], + "source": [ + "! pip install git+https://github.com/openai/whisper.git\n", + "! sudo apt update && sudo apt install ffmpeg" + ] + }, + { + "cell_type": "markdown", + "source": [ + "pip install git+https://github.com/openai/whisper.git" + ], + "metadata": { + "id": "KHzccEYrT5MC" + } + }, + { + "cell_type": "code", + "source": [ + "!whisper \"/content/drive/MyDrive/רשמים מבחן חשבונאות ביניים א 12.6.25.m4a\" --model medium --language he" + ], + "metadata": { + "id": "8-5gROG0XkLg", + "colab": { + "base_uri": "https://localhost:8080/" + }, + "outputId": "ff42f491-77c6-433c-a2cb-246c43e8a77e" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "/bin/bash: line 1: whisper: command not found\n" + ] + } + ] + }, + { + "cell_type": "markdown", + "source": [], + "metadata": { + "id": "QQ81DbYtxZux" + } + }, + { + "cell_type": "markdown", + "source": [], + "metadata": { + "id": "mIpEn1eWxfZ8" + } + }, + { + "cell_type": "markdown", + "source": [ + "100%|█████████████████████████████████████| 1.42G/1.42G [00:22<00:00, 68.9MiB/s]\n", + "[00:00.000 --> 00:07.000] אוקיי, זה סיכום של המבחן.\n", + "[00:07.000 --> 00:19.000] אני חושב שבו נעות ביניים אלף, מועד ג' או מועד מיוחד למלואים של שנת 25, 12-6-25.\n", + "[00:19.000 --> 00:26.000] בדיוק אני יוצא מבחינה, קודם כל אני אייף,\n", + "[00:26.000 --> 00:33.000] אבל באופן מוזר לא מותש, כמו שהייתי חושב שהיה.\n", + "[00:33.000 --> 00:42.000] המבחן היה לא קל, אבל גם לא קשה מדי.\n", + "[00:42.000 --> 00:48.000] מה שהתגשתי מאוד מאוד טוב כשיצאתי מחלק אלך,\n", + "[00:48.000 --> 00:56.000] יכול להיות גם שזה קשור לזמן, השעה, לבוקר, למיצוי אנרגיות,\n", + "[00:56.000 --> 01:02.000] וגם הצחקות הרגילים שגרמו לי להגיש ככה יותר,\n", + "[01:02.000 --> 01:06.000] ואחרי זה הייתי כבר יותר אייף ופחות,\n", + "[01:06.000 --> 01:12.000] למרות שכשהתאמנתי הרגשתי שאני הרבה יותר שולט בחלק של,\n", + "[01:12.000 --> 01:16.000] מה השאלות של חלק ב'\n", + "[01:16.000 --> 01:21.000] היה משהו אחד שמאוד הפריע,\n", + "[01:21.000 --> 01:30.000] שהיו שתי אנשים,\n", + "[01:30.000 --> 01:35.000] שבטיקו דיברו ביניהם בלחש,\n", + "[01:35.000 --> 01:39.000] וזה מאוד הפריע לי.\n", + "[01:39.000 --> 01:45.000] מאוד נופל לי עובדה שאנשים משקרים,\n", + "[01:45.000 --> 01:49.000] וזו נקודה אחת,\n", + "[01:49.000 --> 01:55.000] אבל זה משפיע עם על עצמם בעיקר,\n", + "[01:55.000 --> 01:59.000] וגם אני מתלבט לפעמים האם זה נכון,\n", + "[01:59.000 --> 02:03.000] פשוט להגיד למשגיח, לא להלשין על מישהו,\n", + "[02:03.000 --> 02:05.000] ושוב להגיד לו בוא תן,\n", + "[02:05.000 --> 02:07.000] אני חושב שצריך שתסתובב יותר,\n", + "[02:07.000 --> 02:09.000] לצאת לשוטים, להגיד לו משהו כזה,\n", + "[02:09.000 --> 02:11.000] או לא,\n", + "[02:11.000 --> 02:14.000] וגם בשלב מסוים אחרי זה,\n", + "[02:14.000 --> 02:16.000] זה מאוד מאוד הפריע,\n", + "[02:16.000 --> 02:20.000] כלומר, הדיבורים ואפילו בשלב מסוים כשהערתי,\n", + "[02:20.000 --> 02:23.000] אז נאמר לי בחזרה,\n", + "[02:23.000 --> 02:25.000] שבעיה שלי,\n", + "[02:25.000 --> 02:29.000] שזה המקום שהחלטתי להתיישב במקום הזה,\n", + "[02:29.000 --> 02:32.000] שזה מאוד מאוד לא בסדר,\n", + "[02:32.000 --> 02:34.000] וזה גם הפריע לי,\n", + "[02:34.000 --> 02:36.000] זה היה לא שלוש-ארבע דקות,\n", + "[02:36.000 --> 02:38.000] זה היה קצת יותר מזה,\n", + "[02:38.000 --> 02:40.000] וזה גם הפריע לי להתרכז,\n", + "[02:40.000 --> 02:42.000] וזה היה בחלק בית מעיקר,\n", + "[02:42.000 --> 02:46.000] אז זה גם נקודה שהפריע לי קצת להתרכז.\n", + "[02:46.000 --> 02:49.000] התחלתי מעון עצמי,\n", + "[02:49.000 --> 02:53.000] ואני מרגיש שאני לא יושב טוב\n", + "[02:53.000 --> 02:59.000] על החומר של מודל עלות,\n", + "[02:59.000 --> 03:08.000] במודל עלות של נכסים והתחייבויות,\n", + "[03:08.000 --> 03:11.000] זה משהו שאני חושב שכדאי,\n", + "[03:11.000 --> 03:14.000] שעבור עליו ואלמד אותו,\n", + "[03:14.000 --> 03:17.000] כי זה משהו שהוא מאוד מאוד בסיסי,\n", + "[03:17.000 --> 03:19.000] זה יסודות החשבונאות,\n", + "[03:19.000 --> 03:22.000] אז אני צריך לחזור עליו שוב,\n", + "[03:22.000 --> 03:25.000] להתאמן אפילו רק בשביל הידע,\n", + "[03:25.000 --> 03:28.000] ולא בשביל המבחן.\n", + "[03:28.000 --> 03:32.000] אני די בטוח שעברתי את המבחן הזה,\n", + "[03:32.000 --> 03:35.000] אני לא חושש לזה בכלל,\n", + "[03:35.000 --> 03:39.000] אני לא יודע אם באיזור השישים,\n", + "[03:39.000 --> 03:41.000] אם יש שבעים, שמונים,\n", + "[03:41.000 --> 03:43.000] אני חושב שזה אולי מקסימום שלי,\n", + "[03:43.000 --> 03:46.000] כן, נגשתי מאוד מאוד טוב,\n", + "[03:46.000 --> 03:48.000] ואני יודע במסים על הכנסה\n", + "[03:48.000 --> 03:50.000] שאני חששתי מאוד מאוד שלא הצליח,\n", + "[03:50.000 --> 03:52.000] לפני שעשיתי,\n", + "[03:52.000 --> 03:54.000] ונכון שזה לא היה מושלם,\n", + "[03:54.000 --> 03:58.000] אבל אני חושב שהתמרבית הנקודות אספתי שם.\n", + "[04:03.000 --> 04:05.000] אז ככה אני מרגיש,\n", + "[04:05.000 --> 04:08.000] אם זה נכון, אני לא יודע,\n", + "[04:08.000 --> 04:10.000] האם יכול להיות ש...\n", + "[04:13.000 --> 04:15.000] כשהחזירו את המבחן,\n", + "[04:15.000 --> 04:18.000] אני אראה משהו שונה לחלוטין,\n", + "[04:18.000 --> 04:20.000] יכול להיות,\n", + "[04:20.000 --> 04:22.000] אבל לערכתי זה לא הסיפור.\n", + "[04:24.000 --> 04:26.000] בכאכירות,\n", + "[04:26.000 --> 04:28.000] השאלה הייתה יחסית קלה,\n", + "[04:28.000 --> 04:30.000] הייתה מאוד מאוד מאוד דומה\n", + "[04:30.000 --> 04:32.000] למבחן במועד אלף,\n", + "[04:32.000 --> 04:34.000] שעברתי עליו אתמול,\n", + "[04:34.000 --> 04:37.000] ועשיתי את זה עד 10 וחצי בלילה,\n", + "[04:37.000 --> 04:40.000] ואני מאוד שמח שעשיתי את זה,\n", + "[04:40.000 --> 04:43.000] ואני לא יודע אם מושלם,\n", + "[04:43.000 --> 04:47.000] אבל אני חושב שקיבלתי את מירב,\n", + "[04:47.000 --> 04:50.000] את רוב הנקודות,\n", + "[04:50.000 --> 04:53.000] בחלק הזה.\n", + "[04:55.000 --> 04:57.000] משהו נוסף,\n", + "[04:57.000 --> 04:59.000] זה השאלות התיאורטיות גם,\n", + "[04:59.000 --> 05:01.000] אני חושב ש...\n", + "[05:01.000 --> 05:03.000] שידעתי אותן,\n", + "[05:03.000 --> 05:07.000] זה 14 נקודות קלות בכיס,\n", + "[05:07.000 --> 05:09.000] השאלה בעגך,\n", + "[05:09.000 --> 05:11.000] אפשרה לי,\n", + "[05:11.000 --> 05:13.000] אני לא יודע,\n", + "[05:13.000 --> 05:16.000] זה היה גם בדיוק כשתחילו לדבר,\n", + "[05:16.000 --> 05:18.000] ואני החלטתי גם להתחיל,\n", + "[05:18.000 --> 05:21.000] מהשאלה בהפרשות לשיקום והתחייבויות,\n", + "[05:21.000 --> 05:24.000] לפרשות של פרוג בשיקום,\n", + "[05:24.000 --> 05:27.000] שלא סיימתי אותה,\n", + "[05:27.000 --> 05:29.000] ואני לא יודע,\n", + "[05:29.000 --> 05:31.000] אולי חמש נקודות מתוך 14,\n", + "[05:31.000 --> 05:34.000] אני חושב משהו כזה,\n", + "[05:34.000 --> 05:36.000] ומאזרת השם,\n", + "[05:36.000 --> 05:38.000] אני אשמור את התמלול של ההקלטה הזאת,\n", + "[05:38.000 --> 05:40.000] ואז אני גם בעתיד,\n", + "[05:40.000 --> 05:45.000] אוכל להסתכל ולראות מה באמת,\n", + "[05:45.000 --> 05:51.000] היו תוצאות מול המחשבה שלי אחרי המבחן,\n", + "[05:51.000 --> 05:53.000] אבל...\n", + "[05:53.000 --> 05:57.000] אז נקרא לזה חמש נקודות מתוך 14,\n", + "[05:57.000 --> 05:59.000] ואני לא בטוח,\n", + "[05:59.000 --> 06:02.000] אולי זה היה לא חכן להתחיל דווקא מזה,\n", + "[06:02.000 --> 06:03.000] אבל אמרתי טוב,\n", + "[06:03.000 --> 06:06.000] אני אלך על מה שאני פחות יודע,\n", + "[06:06.000 --> 06:07.000] וגם בהפסקה,\n", + "[06:07.000 --> 06:09.000] בין לבין עברתי רק על זה,\n", + "[06:09.000 --> 06:11.000] קצת על הון עצמי,\n", + "[06:11.000 --> 06:13.000] ובדקתי,\n", + "[06:13.000 --> 06:15.000] ועברתי, נכון,\n", + "[06:15.000 --> 06:19.000] בעון עצמי עברתי על הנקודה של...\n", + "[06:19.000 --> 06:21.000] סקרתי את הכל,\n", + "[06:21.000 --> 06:25.000] ועברתי על החישוב של...\n", + "[06:27.000 --> 06:29.000] על חישוב מקיבה הטבע,\n", + "[06:29.000 --> 06:35.000] כי כשעשיתי אותו לפני כמה ימים,\n", + "[06:35.000 --> 06:37.000] או אתמול,\n", + "[06:37.000 --> 06:41.000] אז יצא לי סכום שהוא לא הסתדר לי.\n", + "[06:41.000 --> 06:42.000] יצא לי סכום,\n", + "[06:42.000 --> 06:43.000] וזה גם לא הסתדר לי.\n", + "[06:43.000 --> 06:45.000] עכשיו כשראיתי,\n", + "[06:45.000 --> 06:47.000] הסתכלתי גם בפתרון של אותו המבחן,\n", + "[06:47.000 --> 06:50.000] וראיתי שהלי טעות נגרת מוקדם יותר.\n", + "[06:50.000 --> 06:53.000] חוץ מזה אני חושב שעשיתי בסדר,\n", + "[06:53.000 --> 06:55.000] בהון עצמי אני יודע שעשיתי טעות אחת,\n", + "[06:55.000 --> 06:58.000] שזה כשמחרנו מעודפים,\n", + "[06:58.000 --> 07:00.000] שתורדתי את הסכום,\n", + "[07:00.000 --> 07:02.000] ולא עשיתי כפול האחוז,\n", + "[07:02.000 --> 07:04.000] ואת השאלה פרמיה,\n", + "[07:04.000 --> 07:07.000] אני חושב שלא עשיתי,\n", + "[07:07.000 --> 07:08.000] אבל בסדר,\n", + "[07:08.000 --> 07:10.000] זה ממש,\n", + "[07:10.000 --> 07:12.000] לא יודע, אולי נקודה או שתיים,\n", + "[07:12.000 --> 07:14.000] ואם זה משפיע על כל השאר,\n", + "[07:14.000 --> 07:15.000] בסדר,\n", + "[07:17.000 --> 07:18.000] טעות נגרת,\n", + "[07:18.000 --> 07:21.000] אני חושב שזה מתקבל.\n", + "[07:23.000 --> 07:24.000] אז זה היה התלבטות,\n", + "[07:24.000 --> 07:27.000] האם דווקא פירוג ושיקום,\n", + "[07:29.000 --> 07:31.000] הייתי צריך להתחיל משמה,\n", + "[07:31.000 --> 07:33.000] ולא ממשהו אחר,\n", + "[07:33.000 --> 07:35.000] כמו הייתי צריך אולי בעגך,\n", + "[07:35.000 --> 07:36.000] או משהו כזה,\n", + "[07:36.000 --> 07:37.000] שהוא,\n", + "[07:37.000 --> 07:39.000] נקרא לזה,\n", + "[07:39.000 --> 07:41.000] למרות שזה רק שלוש נקודות יותר,\n", + "[07:41.000 --> 07:44.000] אבל זה מה שהתאמנתי עליו קודם,\n", + "[07:44.000 --> 07:47.000] והארטני גם קצת יותר ביטחון,\n", + "[07:47.000 --> 07:49.000] בחלק ההוא של המבחן.\n", + "[07:52.000 --> 07:55.000] גם היה לי פחות זמן בין המבחנים,\n", + "[07:56.000 --> 07:59.000] אני חושב שהיו כאלה שכן יכלו להתחיל מאוחר יותר,\n", + "[07:59.000 --> 08:02.000] אבל אולי זה גם מגלל הערכת הזמן שלי,\n", + "[08:05.000 --> 08:07.000] שהבוחנים צריכים לסיים.\n", + "[08:10.000 --> 08:11.000] זהו, לגבי,\n", + "[08:12.000 --> 08:14.000] כל זה לגבי המבחן,\n", + "[08:15.000 --> 08:17.000] וזה היה פירוג ושיקום,\n", + "[08:17.000 --> 08:18.000] בסדר,\n", + "[08:18.000 --> 08:19.000] עשיתי את זה,\n", + "[08:19.000 --> 08:20.000] אמרתי אולי חמש נקודות,\n", + "[08:20.000 --> 08:21.000] עתון עצמי,\n", + "[08:21.000 --> 08:24.000] אני חושב שמתוך ארבע עשרה,\n", + "[08:24.000 --> 08:25.000] יש לי עשר,\n", + "[08:25.000 --> 08:26.000] עשר,\n", + "[08:26.000 --> 08:27.000] עשרה,\n", + "[08:28.000 --> 08:29.000] כנעל כנראה,\n", + "[08:29.000 --> 08:30.000] בחכירות,\n", + "[08:30.000 --> 08:31.000] אני חושב שיש שתיים עשרה,\n", + "[08:31.000 --> 08:32.000] שלוש עשרה,\n", + "[08:33.000 --> 08:34.000] בתיאורטי,\n", + "[08:35.000 --> 08:37.000] הייתי אולי ארבע עשרה,\n", + "[08:37.000 --> 08:38.000] באגך,\n", + "[08:38.000 --> 08:40.000] אני הסתבכתי שם בסוף,\n", + "[08:40.000 --> 08:41.000] שזה חבל,\n", + "[08:41.000 --> 08:44.000] באגך הייתי מאוד חד עליו,\n", + "[08:44.000 --> 08:46.000] ופתאום היה שפיצר וזה,\n", + "[08:46.000 --> 08:48.000] ואז אני הסתבכתי,\n", + "[08:48.000 --> 08:51.000] וגם בפיראון מוקדם,\n", + "[08:53.000 --> 08:54.000] כשפורים באגך,\n", + "[08:54.000 --> 08:56.000] אז לא התאמנתי על זה מספיק האמת,\n", + "[08:57.000 --> 08:59.000] והייתי צריך לעבור על זה,\n", + "[08:59.000 --> 09:00.000] בהפסקה,\n", + "[09:00.000 --> 09:02.000] אני חושב שזה מועיל לי יותר,\n", + "[09:02.000 --> 09:04.000] ונותנים יותר נקודות,\n", + "[09:06.000 --> 09:07.000] בסדר,\n", + "[09:07.000 --> 09:08.000] לא סוף העולם,\n", + "[09:08.000 --> 09:10.000] וגם בסוף השנה,\n", + "[09:10.000 --> 09:12.000] אז לא היה פעולות,\n", + "[09:12.000 --> 09:14.000] של הוצאות אחרי זה,\n", + "[09:14.000 --> 09:15.000] כלומר,\n", + "[09:15.000 --> 09:16.000] שאפשר לעבד על זה נקודות,\n", + "[09:17.000 --> 09:18.000] אז,\n", + "[09:19.000 --> 09:20.000] אני חושב שאולי,\n", + "[09:20.000 --> 09:22.000] יש ארבע נקודות,\n", + "[09:22.000 --> 09:23.000] אולי חמש,\n", + "[09:23.000 --> 09:24.000] משהו כזה,\n", + "[09:24.000 --> 09:25.000] שזה חבל,\n", + "[09:25.000 --> 09:26.000] אבל מתוך יש 18 נקודות,\n", + "[09:26.000 --> 09:27.000] אני חושב ש,\n", + "[09:29.000 --> 09:30.000] בין שתיים עשרה,\n", + "[09:32.000 --> 09:33.000] ל-14,\n", + "[09:33.000 --> 09:34.000] 15,\n", + "[09:34.000 --> 09:35.000] משהו כזה,\n", + "[09:38.000 --> 09:39.000] כלומר,\n", + "[09:39.000 --> 09:41.000] לגבי תקופת ההכנה,\n", + "[09:42.000 --> 09:44.000] רק נוודא שלא שכחתי משהו אחר,\n", + "[09:44.000 --> 09:45.000] עוד מסאימה לכנסה,\n", + "[09:45.000 --> 09:46.000] כן,\n", + "[09:46.000 --> 09:47.000] האמת,\n", + "[09:47.000 --> 09:49.000] עשיתי הרבה יותר טוב מה שציפיתי,\n", + "[09:55.000 --> 09:57.000] התגשתי שאני יחסית שולט,\n", + "[09:57.000 --> 09:59.000] שאני לא מתלבט במה לעשות,\n", + "[09:59.000 --> 10:00.000] ופשוט עושה,\n", + "[10:02.000 --> 10:04.000] זה חוץ מ- אולי קצת נקרא לזה,\n", + "[10:04.000 --> 10:05.000] גם בפיוק ושיקום,\n", + "[10:05.000 --> 10:06.000] וקצת בהגך,\n", + "[10:06.000 --> 10:07.000] אבל בהגך זה בגלל,\n", + "[10:08.000 --> 10:10.000] זה בגלל שהסתבכתי,\n", + "[10:10.000 --> 10:12.000] וגם זה בדיוק הזמן שבו,\n", + "[10:13.000 --> 10:14.000] היה דיבורים,\n", + "[10:14.000 --> 10:15.000] וזה נורא הפריע לי,\n", + "[10:16.000 --> 10:19.000] גם אני חושב שאולי הריטלין הרגיל,\n", + "[10:20.000 --> 10:21.000] אולי התחיל לגמר לי קצת,\n", + "[10:21.000 --> 10:23.000] למרות שזה פחות סביר,\n", + "[10:23.000 --> 10:24.000] אבל,\n", + "[10:25.000 --> 10:26.000] לקחתי,\n", + "[10:27.000 --> 10:29.000] אלה 20 בבוקר מתישהו,\n", + "[10:29.000 --> 10:31.000] ואז לקחתי 10,\n", + "[10:31.000 --> 10:32.000] בתחילת,\n", + "[10:33.000 --> 10:34.000] או באמצע,\n", + "[10:34.000 --> 10:35.000] חלק,\n", + "[10:36.000 --> 10:37.000] אלף,\n", + "[10:37.000 --> 10:38.000] ואז עוד אחד,\n", + "[10:38.000 --> 10:39.000] לפני תחילת חלק ב',\n", + "[10:40.000 --> 10:41.000] שמה אולי,\n", + "[10:42.000 --> 10:43.000] בסדר,\n", + "[10:43.000 --> 10:44.000] של הצוקר,\n", + "[10:44.000 --> 10:45.000] היפות וכו',\n", + "[10:45.000 --> 10:46.000] אני גם לא ישמתי מספיק,\n", + "[10:46.000 --> 10:47.000] וגם,\n", + "[10:47.000 --> 10:48.000] הכל עשיתי בשבועיים.\n", + "[10:49.000 --> 10:50.000] לגבי,\n", + "[10:51.000 --> 10:52.000] תקופת ההכנה,\n", + "[10:53.000 --> 10:54.000] של המבחן,\n", + "[10:56.000 --> 10:58.000] מאוד מאוד אינדבנציבי,\n", + "[10:59.000 --> 11:00.000] אני מאוד גאה בעצמי,\n", + "[11:00.000 --> 11:02.000] ואני גם מאוד מאוד נודה,\n", + "[11:02.000 --> 11:03.000] להקדוש בו,\n", + "[11:03.000 --> 11:04.000] וגם להשתי,\n", + "[11:04.000 --> 11:05.000] למריאם," + ], + "metadata": { + "id": "pGV5xXEUT5fI" + } + }, + { + "cell_type": "code", + "source": [ + "from google.colab import drive\n", + "drive.mount('/content/drive')" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "qUrKCdFlT_0E", + "outputId": "37f976c4-2375-4ead-85af-bdbfd2c6e582" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount(\"/content/drive\", force_remount=True).\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "model = whisper.load_model(\"turbo\")\n", + "result = model.transcribe(\"/content/drive/MyDrive/רשמים מבחן חשבונאות ביניים א 12.6.25.m4a\")\n", + "print(result[\"text\"])" + ], + "metadata": { + "id": "GFXqNWm9tj1U", + "colab": { + "base_uri": "https://localhost:8080/", + "height": 183 + }, + "outputId": "0f8cf2cc-887b-4142-95df-966e7bdeeca1" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "error", + "ename": "NameError", + "evalue": "name 'whisper' is not defined", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", + "\u001b[0;32m/tmp/ipython-input-4-752477597.py\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mmodel\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwhisper\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mload_model\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"turbo\"\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 2\u001b[0m \u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmodel\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtranscribe\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"/content/drive/MyDrive/רשמים מבחן חשבונאות ביניים א 12.6.25.m4a\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mresult\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"text\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mNameError\u001b[0m: name 'whisper' is not defined" + ] + } + ] + } + ] +} \ No newline at end of file From 8b44058899da9fbb65a7c6284e09dfef4fe2e675 Mon Sep 17 00:00:00 2001 From: Akiva5 Date: Wed, 16 Jul 2025 23:52:29 +0300 Subject: [PATCH 2/2] Created using Colab --- transcribe_audio_.ipynb | 188 +++++++++++++++++++++++----------------- 1 file changed, 110 insertions(+), 78 deletions(-) diff --git a/transcribe_audio_.ipynb b/transcribe_audio_.ipynb index 7e1a14a..adb0866 100644 --- a/transcribe_audio_.ipynb +++ b/transcribe_audio_.ipynb @@ -6,7 +6,7 @@ "provenance": [], "gpuType": "T4", "mount_file_id": "12r8uaf04hc7fiYuK_bGOegqp57DOYjXD", - "authorship_tag": "ABX9TyO6rMlZqsX7m2hk8Af1/0PC", + "authorship_tag": "ABX9TyOUTVSRvDOekO2vnHuiTUpl", "include_colab_link": true }, "kernelspec": { @@ -31,13 +31,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "Hptr-JKcVX4g", - "outputId": "d4f9ab97-a2c4-4a25-bb17-fd9950675cbf" + "outputId": "3e3dfdbf-3bab-4e0b-fa96-3d06c8cbf59b", + "collapsed": true }, "outputs": [ { @@ -45,8 +46,8 @@ "name": "stdout", "text": [ "Collecting git+https://github.com/openai/whisper.git\n", - " Cloning https://github.com/openai/whisper.git to /tmp/pip-req-build-lb4mtn3s\n", - " Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git /tmp/pip-req-build-lb4mtn3s\n", + " Cloning https://github.com/openai/whisper.git to /tmp/pip-req-build-wsrf1y_f\n", + " Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git /tmp/pip-req-build-wsrf1y_f\n", " Resolved https://github.com/openai/whisper.git to commit c0d2f624c09dc18e709e37c2ad90c039a4eb72a2\n", " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", @@ -62,7 +63,7 @@ "Requirement already satisfied: regex>=2022.1.18 in /usr/local/lib/python3.11/dist-packages (from tiktoken->openai-whisper==20250625) (2024.11.6)\n", "Requirement already satisfied: requests>=2.26.0 in /usr/local/lib/python3.11/dist-packages (from tiktoken->openai-whisper==20250625) (2.32.3)\n", "Requirement already satisfied: filelock in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (3.18.0)\n", - "Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (4.14.0)\n", + "Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (4.14.1)\n", "Requirement already satisfied: networkx in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (3.5)\n", "Requirement already satisfied: jinja2 in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (3.1.6)\n", "Requirement already satisfied: fsspec in /usr/local/lib/python3.11/dist-packages (from torch->openai-whisper==20250625) (2025.3.2)\n", @@ -94,32 +95,32 @@ "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (3.4.2)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (3.10)\n", "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (2.4.0)\n", - "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (2025.6.15)\n", + "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper==20250625) (2025.7.14)\n", "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.11/dist-packages (from jinja2->torch->openai-whisper==20250625) (3.0.2)\n", "Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl (363.4 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m363.4/363.4 MB\u001b[0m \u001b[31m4.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m363.4/363.4 MB\u001b[0m \u001b[31m4.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (13.8 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.8/13.8 MB\u001b[0m \u001b[31m119.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.8/13.8 MB\u001b[0m \u001b[31m73.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (24.6 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m24.6/24.6 MB\u001b[0m \u001b[31m67.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m24.6/24.6 MB\u001b[0m \u001b[31m52.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (883 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m883.7/883.7 kB\u001b[0m \u001b[31m53.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m883.7/883.7 kB\u001b[0m \u001b[31m51.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl (664.8 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m664.8/664.8 MB\u001b[0m \u001b[31m1.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m664.8/664.8 MB\u001b[0m \u001b[31m2.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl (211.5 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m211.5/211.5 MB\u001b[0m \u001b[31m5.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m211.5/211.5 MB\u001b[0m \u001b[31m6.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl (56.3 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.3/56.3 MB\u001b[0m \u001b[31m17.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.3/56.3 MB\u001b[0m \u001b[31m17.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl (127.9 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m127.9/127.9 MB\u001b[0m \u001b[31m7.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m127.9/127.9 MB\u001b[0m \u001b[31m7.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl (207.5 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m207.5/207.5 MB\u001b[0m \u001b[31m5.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (21.1 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.1/21.1 MB\u001b[0m \u001b[31m107.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.1/21.1 MB\u001b[0m \u001b[31m45.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hBuilding wheels for collected packages: openai-whisper\n", " Building wheel for openai-whisper (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", - " Created wheel for openai-whisper: filename=openai_whisper-20250625-py3-none-any.whl size=803979 sha256=40f6d8301d5cec89119d8b883694824e6458dc746645d8e27c52ee8baeda5f50\n", - " Stored in directory: /tmp/pip-ephem-wheel-cache-u2l88x41/wheels/1f/1d/98/9583695e6695a6ac0ad42d87511097dce5ba486647dbfecb0e\n", + " Created wheel for openai-whisper: filename=openai_whisper-20250625-py3-none-any.whl size=803979 sha256=6f176c1cc8fc3dea542d14c881f5f2e627a22611ff9e33fbc63e15d9d7a42930\n", + " Stored in directory: /tmp/pip-ephem-wheel-cache-biyvjfhd/wheels/1f/1d/98/9583695e6695a6ac0ad42d87511097dce5ba486647dbfecb0e\n", "Successfully built openai-whisper\n", "Installing collected packages: nvidia-nvjitlink-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, nvidia-cusparse-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, openai-whisper\n", " Attempting uninstall: nvidia-nvjitlink-cu12\n", @@ -165,25 +166,24 @@ "Successfully installed nvidia-cublas-cu12-12.4.5.8 nvidia-cuda-cupti-cu12-12.4.127 nvidia-cuda-nvrtc-cu12-12.4.127 nvidia-cuda-runtime-cu12-12.4.127 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.2.1.3 nvidia-curand-cu12-10.3.5.147 nvidia-cusolver-cu12-11.6.1.9 nvidia-cusparse-cu12-12.3.1.170 nvidia-nvjitlink-cu12-12.4.127 openai-whisper-20250625\n", "Get:1 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease [3,632 B]\n", "Get:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1,581 B]\n", - "Get:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [1,804 kB]\n", - "Get:4 https://r2u.stat.illinois.edu/ubuntu jammy InRelease [6,555 B]\n", - "Get:5 https://r2u.stat.illinois.edu/ubuntu jammy/main all Packages [9,065 kB]\n", - "Hit:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease\n", - "Get:7 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease [24.3 kB]\n", - "Hit:8 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease\n", - "Get:9 https://r2u.stat.illinois.edu/ubuntu jammy/main amd64 Packages [2,749 kB]\n", - "Get:10 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy/main amd64 Packages [51.0 kB]\n", - "Get:11 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]\n", - "Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,262 kB]\n", - "Hit:13 http://archive.ubuntu.com/ubuntu jammy InRelease\n", - "Get:14 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]\n", - "Get:15 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]\n", - "Get:16 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [48.5 kB]\n", - "Get:17 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3,089 kB]\n", - "Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,566 kB]\n", - "Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3,401 kB]\n", - "Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [56.4 kB]\n", - "Fetched 23.5 MB in 14s (1,650 kB/s)\n", + "Get:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [1,809 kB]\n", + "Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease\n", + "Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]\n", + "Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]\n", + "Hit:7 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease\n", + "Hit:8 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease\n", + "Hit:9 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease\n", + "Get:10 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]\n", + "Get:11 https://r2u.stat.illinois.edu/ubuntu jammy InRelease [6,555 B]\n", + "Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,571 kB]\n", + "Get:13 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3,103 kB]\n", + "Get:14 https://r2u.stat.illinois.edu/ubuntu jammy/main amd64 Packages [2,761 kB]\n", + "Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5,031 kB]\n", + "Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [75.9 kB]\n", + "Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3,420 kB]\n", + "Get:18 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,266 kB]\n", + "Get:19 https://r2u.stat.illinois.edu/ubuntu jammy/main all Packages [9,115 kB]\n", + "Fetched 28.5 MB in 6s (4,544 kB/s)\n", "Reading package lists... Done\n", "Building dependency tree... Done\n", "Reading state information... Done\n", @@ -203,33 +203,85 @@ ] }, { - "cell_type": "markdown", + "cell_type": "code", "source": [ - "pip install git+https://github.com/openai/whisper.git" + "\n", + "# Define Audio with file for transcribing\n", + "audio =\"/content/drive/MyDrive/רשמים מבחן חשבונאות ביניים א 12.6.25.m4a\"" ], "metadata": { - "id": "KHzccEYrT5MC" - } + "id": "0d4lmrjt_7L1" + }, + "execution_count": 4, + "outputs": [] }, { "cell_type": "code", "source": [ - "!whisper \"/content/drive/MyDrive/רשמים מבחן חשבונאות ביניים א 12.6.25.m4a\" --model medium --language he" + "!whisper audio --model medium --language he" ], "metadata": { "id": "8-5gROG0XkLg", "colab": { "base_uri": "https://localhost:8080/" }, - "outputId": "ff42f491-77c6-433c-a2cb-246c43e8a77e" + "outputId": "9625b79d-f988-4c07-8e68-6f5db9ea29a8" }, - "execution_count": null, + "execution_count": 5, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ - "/bin/bash: line 1: whisper: command not found\n" + "100%|██████████████████████████████████████| 1.42G/1.42G [00:06<00:00, 224MiB/s]\n", + "Traceback (most recent call last):\n", + " File \"/usr/local/lib/python3.11/dist-packages/whisper/audio.py\", line 58, in load_audio\n", + " out = run(cmd, capture_output=True, check=True).stdout\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"/usr/lib/python3.11/subprocess.py\", line 571, in run\n", + " raise CalledProcessError(retcode, process.args,\n", + "subprocess.CalledProcessError: Command '['ffmpeg', '-nostdin', '-threads', '0', '-i', 'audio', '-f', 's16le', '-ac', '1', '-acodec', 'pcm_s16le', '-ar', '16000', '-']' returned non-zero exit status 1.\n", + "\n", + "The above exception was the direct cause of the following exception:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/usr/local/lib/python3.11/dist-packages/whisper/transcribe.py\", line 615, in cli\n", + " result = transcribe(model, audio_path, temperature=temperature, **args)\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"/usr/local/lib/python3.11/dist-packages/whisper/transcribe.py\", line 139, in transcribe\n", + " mel = log_mel_spectrogram(audio, model.dims.n_mels, padding=N_SAMPLES)\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"/usr/local/lib/python3.11/dist-packages/whisper/audio.py\", line 140, in log_mel_spectrogram\n", + " audio = load_audio(audio)\n", + " ^^^^^^^^^^^^^^^^^\n", + " File \"/usr/local/lib/python3.11/dist-packages/whisper/audio.py\", line 60, in load_audio\n", + " raise RuntimeError(f\"Failed to load audio: {e.stderr.decode()}\") from e\n", + "RuntimeError: Failed to load audio: ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\n", + " built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\n", + " configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\n", + " libavutil 56. 70.100 / 56. 70.100\n", + " libavcodec 58.134.100 / 58.134.100\n", + " libavformat 58. 76.100 / 58. 76.100\n", + " libavdevice 58. 13.100 / 58. 13.100\n", + " libavfilter 7.110.100 / 7.110.100\n", + " libswscale 5. 9.100 / 5. 9.100\n", + " libswresample 3. 9.100 / 3. 9.100\n", + " libpostproc 55. 9.100 / 55. 9.100\n", + "audio: No such file or directory\n", + "\n", + "Skipping audio due to RuntimeError: Failed to load audio: ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\n", + " built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\n", + " configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\n", + " libavutil 56. 70.100 / 56. 70.100\n", + " libavcodec 58.134.100 / 58.134.100\n", + " libavformat 58. 76.100 / 58. 76.100\n", + " libavdevice 58. 13.100 / 58. 13.100\n", + " libavfilter 7.110.100 / 7.110.100\n", + " libswscale 5. 9.100 / 5. 9.100\n", + " libswresample 3. 9.100 / 3. 9.100\n", + " libpostproc 55. 9.100 / 55. 9.100\n", + "audio: No such file or directory\n", + "\n" ] } ] @@ -511,22 +563,10 @@ "drive.mount('/content/drive')" ], "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "qUrKCdFlT_0E", - "outputId": "37f976c4-2375-4ead-85af-bdbfd2c6e582" + "id": "qUrKCdFlT_0E" }, "execution_count": null, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount(\"/content/drive\", force_remount=True).\n" - ] - } - ] + "outputs": [] }, { "cell_type": "code", @@ -536,27 +576,19 @@ "print(result[\"text\"])" ], "metadata": { - "id": "GFXqNWm9tj1U", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 183 - }, - "outputId": "0f8cf2cc-887b-4142-95df-966e7bdeeca1" + "id": "GFXqNWm9tj1U" }, "execution_count": null, - "outputs": [ - { - "output_type": "error", - "ename": "NameError", - "evalue": "name 'whisper' is not defined", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/tmp/ipython-input-4-752477597.py\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mmodel\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwhisper\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mload_model\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"turbo\"\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 2\u001b[0m \u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmodel\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtranscribe\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"/content/drive/MyDrive/רשמים מבחן חשבונאות ביניים א 12.6.25.m4a\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mresult\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"text\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mNameError\u001b[0m: name 'whisper' is not defined" - ] - } - ] + "outputs": [] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "wIowrytW-hDe" + }, + "execution_count": null, + "outputs": [] } ] } \ No newline at end of file