code: def generate_dataset(filename, outputfilename):
      data = _read_dataframe(filename)
      _hfd5_from_dataframe(data, outputfilename)
  
file_path: implicit/implicit/datasets/sketchfab.py
imports: import logging
  import os
  import time
  import h5py
  import numpy
  from scipy.sparse import coo_matrix, csr_matrix
  from implicit.datasets import _download
label_desc: Use image node_id 2 for calling a global function with example usage: generate_dataset(filename, outputfilename) without return types