<jupyter_start><jupyter_text>Step 1: Setup1. clone repo<jupyter_code>!git clone https://github.com/aoifemcdonagh/audioset-processing.git
%cd audioset-processing/<jupyter_output><empty_output><jupyter_text>Step 2: Install requirementsNote: ignore the prompt to restart runtime<jupyter_code>!pip install -r requirements.txt<jupyter_output><empty_output><jupyter_text>Step 3: MORE COWBELLDownload all instances of 'cowbell' class in AudioSet<jupyter_code>!python process.py download -c "cowbell"<jupyter_output>Downloading classes from AudioSet.
./output/cowbell.csv
A CSV file for class cowbell already exists.
dst_dir: ./output\cowbell
powershell.exe ffmpeg -ss 20.000 -t 10 -i $(youtube-dl -f 'bestaudio' -g https://www.youtube.com/watch?v=-1OKIOu9dhs) -ar 16000 -- "./output\cowbell/-1OKIOu9dhs_20.000.wav"
powershell.exe ffmpeg -ss 0.000 -t 10 -i $(youtube-dl -f 'bestaudio' -g https://www.youtube.com/watch?v=-zgz18sv1fs) -ar 16000 -- "./output\cowbell/-zgz18sv1fs_0.000.wav"
powershell.exe ffmpeg -ss 230.000 -t 10 -i $(youtube-dl -f 'bestaudio' -g https://www.youtube.com/watch?v=1oVN0fCb9N4) -ar 16000 -- "./output\cowbell/1oVN0fCb9N4_230.000.wav"
powershell.exe ffmpeg -ss 80.000 -t 10 -i $(youtube-dl -f 'bestaudio' -g https://www.youtube.com/watch?v=1vPh85Qqwm4) -ar 16000 -- "./output\cowbell/1vPh85Qqwm4_80.000.wav"
powershell.exe ffmpeg -ss 200.000 -t 10 -i $(youtube-dl -f 'bestaudio' -g https://www.youtube.com/watch?v=26HMNbak3BM) -ar 16000 -- "./output\cowbell/26HMNbak3BM_200.000.wav"
powers[...]
{'fraction_non_alphanumeric': 0.1520158625247852, 'fraction_numerical': 0.08129543952412426, 'mean_word_length': 4.607407407407408, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 6, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '318632', 'license': 'MIT', 'n_tokens_mistral': 707, 'n_tokens_neox': 615, 'n_words': 125, 'path': 'demo.ipynb', 'repo_name': 'BoykoBorisov/audioset-processing', 'size': '1513'}