Cogni Docs
  • Welcome
  • Getting Started
    • Quickstart
    • Uploading Files
  • Basics
    • About Cogni
    • Editor
    • Markdown
    • Images & media
    • Interactive blocks
    • Integrations
    • Installation Guide
  • Use Cases
    • Uploading AI Models
    • Retrieving Models
    • Pinning a Dataset
    • Sharing AI Resources
  • Group 1
    • FAQs
Powered by GitBook
On this page
  1. Use Cases

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.

PreviousRetrieving ModelsNextSharing AI Resources

Last updated 4 months ago