Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
all-the-public-replicate-models
Advanced tools
Metadata for all the public models on Replicate, bundled up into an npm package
Metadata for all1 the public models on Replicate, bundled up into an npm package.
npm install all-the-public-replicate-models
Full-bodied usage (all the metadata, ~17MB)
import models from 'all-the-public-replicate-models'
console.log(models)
Lite usage (just the basic metadata, ~375K):
import models from 'all-the-public-replicate-models/lite'
console.log(models)
Find the top 10 models by run count:
import models from 'all-the-public-replicate-models'
import {chain} from 'lodash-es'
const mostRun = chain(models).orderBy('run_count', 'desc').take(10).value()
console.log({mostRun})
The CLI dumps the model metadata to standard output as a big JSON object:
$ npx all-the-public-replicate-models
The output will be:
[
{...},
{...},
{...},
]
You can use jq to filter the output. Here's an example that finds all the whisper models and sorts them by run count:
npx all-the-public-replicate-models | jq -r 'map(select(.name | contains("whisper"))) | sort_by(.run_count) | reverse | .[] | "\(.url) \(.run_count)"'
Or you can dump all the model data to a file:
npx all-the-public-replicate-models > models.json
Technically it's not all the models, but every model that is public, has at least one published version, and has at least one example prediction. ↩
FAQs
Metadata for all the public models on Replicate, bundled up into an npm package
We found that all-the-public-replicate-models demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.