Pinning a Dataset

  1. Add Dataset to IPFS: Use the following command to upload datasets:

    ipfs add -r dataset_folder/

    The -r flag ensures that all files in the folder are added recursively.

  2. Pin the Dataset: To ensure availability, pin the dataset:

    ipfs pin add <dataset_CID>
  3. Generate Custom Links: Cogni generates a gateway link for your dataset:

    https://ipfs.cogni.host/ipfs/<dataset_CID>
  4. Dataset Analysis: Use pinned datasets directly in your projects by referencing the gateway link in scripts, Jupyter notebooks, or ML pipelines.

Last updated