<commit_before>{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1666,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "filename = 'African Drum Music-wXV39pybgJU-sm.wav'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1667,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "from scipy.io.wavfile import read, write\n",
    "from librosa.core import stft, istft\n",
    "\n",
    "# load wav data\n",
    "_, y = read(filename)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1668,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# convert timeseries wav data into spectrogram data\n",<commit_msg>add comment<commit_after>{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1666,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# load this data by running ./setup\n",
    "filename = 'African Drum Music-wXV39pybgJU-sm.wav'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1667,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "from scipy.io.wavfile import read, write\n",
    "from librosa.core import stft, istft\n",
    "\n",
    "# load wav data\n",
    "_, y = read(filename)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1668,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# convert timeseries wav data into spectrogram data\n",
{'fraction_non_alphanumeric': 0.19500984898227183, 'fraction_numerical': 0.018384766907419567, 'mean_word_length': 2.6285714285714286, 'pattern_counts': {'":': 38, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1355353', 'n_tokens_mistral': 613, 'n_tokens_neox': 581, 'n_words': 118}