add docs/HUGGINGFACE_PUBLISHING.md
Browse files
docs/HUGGINGFACE_PUBLISHING.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Hugging Face Publishing
|
| 2 |
+
|
| 3 |
+
## Recommended Split
|
| 4 |
+
|
| 5 |
+
### Option 1: Code Repo Only
|
| 6 |
+
|
| 7 |
+
Publish this repository as the harness source and keep weights elsewhere.
|
| 8 |
+
|
| 9 |
+
Best for:
|
| 10 |
+
|
| 11 |
+
- auditability
|
| 12 |
+
- open-source orchestration
|
| 13 |
+
- reproducible local verification loops
|
| 14 |
+
|
| 15 |
+
### Option 2: Separate Model Repo
|
| 16 |
+
|
| 17 |
+
Store GGUF or safetensors weights in a dedicated Hugging Face model repository.
|
| 18 |
+
|
| 19 |
+
Best for:
|
| 20 |
+
|
| 21 |
+
- large artifacts
|
| 22 |
+
- cleaner LFS separation
|
| 23 |
+
- versioned checkpoints
|
| 24 |
+
|
| 25 |
+
### Option 3: Space Repo
|
| 26 |
+
|
| 27 |
+
Use a Hugging Face Space for interactive theorem verification demos.
|
| 28 |
+
|
| 29 |
+
Best for:
|
| 30 |
+
|
| 31 |
+
- operator-facing UI
|
| 32 |
+
- public demos
|
| 33 |
+
- benchmark explorer
|
| 34 |
+
|
| 35 |
+
## Pre-Publish Checklist
|
| 36 |
+
|
| 37 |
+
- replace placeholder model IDs
|
| 38 |
+
- pin Docker image tags and Lean toolchain versions
|
| 39 |
+
- confirm license for model weights
|
| 40 |
+
- add real benchmark metadata
|
| 41 |
+
- scrub local absolute paths
|
| 42 |
+
- add reproducible example commands
|
| 43 |
+
- decide whether to publish Granite, Llemma, or both as supported backends
|
| 44 |
+
|
| 45 |
+
## Files Already Added For HF Readiness
|
| 46 |
+
|
| 47 |
+
- `.gitattributes`
|
| 48 |
+
- `hf/README.md`
|
| 49 |
+
- code/infra split suitable for model companion repos
|