Skip to content

commune-ai/comtensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comtensor

License: MIT

Bridging Commune and Bittensor

BittensorCommune-ai

Comtensor Image


How to install

  1. Clone the repository.

    git clone https://github.com/Comtensor/comtensor.git
    cd comtensor
  2. Install venv

    apt install python3.10-venv
    python3 -m venv my-env
    . my-env/bin/activate
  3. Install dependancies

    python3 -m pip install -e .
    python3 -m pip install -r requirements.txt

How to contribute

  • Make sub-directory in crossvals directory and name it with subnet name.

    ex. crossvals/healthcare

    Add all your files in this directory.

  • Declare the class inheriting from CommitBasedCrossval class or SynapseBasedCrossval class.

    ex.

    import bittensor as bt
    from constants import BASE_DIR
    from base.commit_based_crossval import CommitBasedCrossval
    class HealthcareCrosscal(CommitBasedCrossval):
        ...
  • Then customize this class with your own functions and implementing abstruct functions.

About

Bridge commune to bittensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages