Spaces:
Sleeping
Sleeping
| title: SurvivalAI Pro | |
| emoji: ποΈ | |
| colorFrom: green | |
| colorTo: gray | |
| sdk: gradio | |
| sdk_version: 5.0.0 | |
| python_version: "3.10" | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: Off-grid survival AI β runs fully on CPU, no internet needed | |
| # SurvivalAI Pro | |
| A fine-tuned Phi-3-mini survival assistant running entirely on CPU. | |
| Trained on ~150,000 survival Q/A pairs covering medical, water, food, | |
| shelter, fire, navigation, signaling, foraging, hunting, and tools. | |
| ## Setup secrets | |
| This Space loads its model from a private HF model repo. Set the following | |
| secret in **Settings β Variables and secrets**: | |
| - `HF_TOKEN` β a read-scope HF token with access to `Znilsson/survivalai-phi3-gguf` | |
| ## Hardware | |
| Designed for **CPU Upgrade** tier (16 GB RAM, 8 vCPU). Performance: | |
| - Cold start: ~30β60 s (model download + load) | |
| - Inference: ~6β10 tokens/sec | |
| - Typical response: 30β60 sec for 200β400 tokens | |
| ## Architecture | |
| - Base model: `microsoft/phi-3-mini-4k-instruct` | |
| - Fine-tune: QLoRA r=16, Ξ±=32, 3 epochs on ~150 k pairs | |
| - Quantization: Q4_K_M (2.4 GB) | |
| - Runtime: `llama-cpp-python` | |
| - UI: Gradio `ChatInterface` with streaming | |