Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# CSP-Ablation-Project
|
| 6 |
+
|
| 7 |
+
Artifacts from mechanistic interpretability of code vulnerability detection in OpenAI's [circuit-sparsity](https://huggingface.co/openai/circuit-sparsity) model.
|
| 8 |
+
|
| 9 |
+
## Project
|
| 10 |
+
|
| 11 |
+
- **GitHub**: [piotrwilam/CSP-Ablation-Project](https://github.com/piotrwilam/CSP-Ablation-Project)
|
| 12 |
+
- **Artifacts**: Probes, feature rankings, ablation sweep results
|
| 13 |
+
|
| 14 |
+
## Structure
|
| 15 |
+
|
| 16 |
+
```
|
| 17 |
+
artifacts/
|
| 18 |
+
sprint1/
|
| 19 |
+
v1.0/ # Phase 1 probe + Phase 2 ablation outputs
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
## Usage
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from huggingface_hub import hf_hub_download
|
| 26 |
+
|
| 27 |
+
# Load probe
|
| 28 |
+
path = hf_hub_download(repo_id="piotrwilam/CSP-Ablation-Project",
|
| 29 |
+
filename="artifacts/sprint1/v1.0/code_vuln_probe.pkl")
|
| 30 |
+
```
|