CrowdCores
CrowdCores lets you crowdsource your AI model inference pipeline to a community of people running CrowdCore Nodes. Currently CrowdCores only supports model inference (model training coming soon) through crowdcores_pipeline (works just like Hugging Face Pipelines.
If you are looking to earn some extra cash by running a CrowdCores Node Server see "Contribute Cores" below , if you are looking to speed up your model inference see "Use Cores" below.
Contribute Cores
To get started contributing computing power you will need to install the crowdcores-node server. You can install with:
Create a CrowdCores account here, and get your API key here. Then set your API key like so:
You can then start your node with:
To monitor/connect to your node run:
The nodes take a few minutes to start up (the first time) and then are all set. Your node is now contributing computing power and can start earning, you can view your earnings here.
Use Cores
To use CrowdCores you need to install the crowdcores-pipeline client python library.
Create a CrowdCores account here, and get your API key here. Then set your API key like so:
The crowdcores_pipeline works just the same as transformers pipeline from hugging face, you simply need to import crowdcores_pipeline and replace any pipeline calls with crowdcores_pipeline. Here is an example: