用于评估和确定模型来源的工具包
Part of Cisco AI Defense - Open-source AI security scanners, developer tools, and research from Cisco. Model Provenance Kit is a Python toolkit and CLI for detecting model provenance. It determines whether a machine learning model derives from a known base model family by comparing multi-signal fingerprints extracted from weights, tokenizers, and architecture metadata.
The bundled reference database contains fingerprints for ~150 base models spanning 45+ model families from 20+ publishers, ranging from 135M to 70B+ parameters. Covered publishers include:
Meta, Google, Alibaba, Microsoft, Mistral AI, DeepSeek, TII, Zhipu AI, NVIDIA, IBM, BigScience, OpenAI, Allen AI, Facebook AI, Stability AI, Hugging Face, Cohere, Databricks, Tencent, Moonshot AI, MiniMax, and more.
The database covers text generation, fill-mask, text-to-text, embedding, and translation architectures across four size buckets ( 0.75 | High-Confidence Match | | 0.65 Tip: If the issue persists, try clearing the cached files for the affected model and retrying:
rm -rf ~/.cache/huggingface/hub/models----
The first run downloads safetensors shards from the Hub. Subsequent runs reuse the HuggingFace cache and complete in seconds.
If scan shows a hint about missing deep-signal fingerprints:
provenancekit download-deepsignals-fingerprintThis enables the full weight-signal matching pipeline. Without deep signals, scan results rely on metadata and tokenizer signals only.
--threshold 0.30--top-k 10provenancekit download-deepsignals-fingerprint --statusscan command uses a bundled seed database. For custom deployments, use --db-root or PROVENANCEKIT_DB_ROOT to point to your own database directory.Contributions are welcome. Please read the following before submitting a pull request:
To report a security vulnerability, please see SECURITY.md.
This project is licensed under the Apache License 2.0.
暂无开放 Issues,或尚未同步最近议题。