Download UPLOAD_GUIDE.txt from NeuMax/Jarvis: direct link, hf CLI and curl.
- Browser
- Download file 8.54 kB
-
https://huggingface.co/NeuMax/Jarvis/resolve/main/UPLOAD_GUIDE.txt
- Command line
-
hf download hf://NeuMax/Jarvis/UPLOAD_GUIDE.txt
-
curl -L -o UPLOAD_GUIDE.txt https://huggingface.co/NeuMax/Jarvis/resolve/main/UPLOAD_GUIDE.txt
8.54 kB
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| JARVIS β HUGGINGFACE UPLOAD GUIDE | |
| 16 GB RAM Β· Local inference Β· No GPU required | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| WHAT'S IN THIS FOLDER (hf_jarvis/) | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| app.py β Gradio UI (entry point for HF Spaces) | |
| brain.py β HuggingFace Transformers inference engine | |
| memory.py β SQLite memory (facts + conversation history) | |
| thinking.py β Background anticipation engine | |
| voice_tts.py β Edge-TTS voice output | |
| config.py β All settings via environment variables | |
| requirements.txtβ All pip packages needed | |
| README.md β HuggingFace model card (auto-displayed) | |
| .env.example β Local dev environment template | |
| .gitignore β Keeps your DB and secrets out of git | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| STEP 1: CREATE A HUGGINGFACE ACCOUNT / LOG IN | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| Go to: https://huggingface.co | |
| Sign up (free) or log in. | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| STEP 2: CREATE A NEW SPACE | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| 1. Click your profile icon β New Space | |
| 2. Space name: jarvis (or any name you like) | |
| 3. License: MIT | |
| 4. SDK: Gradio β IMPORTANT: select Gradio | |
| 5. Hardware: CPU (upgraded) β free tier is fine for 3.8B 4-bit | |
| For Mistral-7B choose "CPU upgrade" or "A10G small" if available | |
| 6. Visibility: Private (or Public β your choice) | |
| 7. Click: Create Space | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| STEP 3: UPLOAD FILES | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| METHOD A β Drag-and-drop in browser (easiest) | |
| ββββββββββββββββββββββββββββββββββββββββββββββ | |
| 1. Open your Space page β click "Files" tab | |
| 2. Click "Add file" β "Upload files" | |
| 3. Select ALL files from this folder: | |
| app.py | |
| brain.py | |
| memory.py | |
| thinking.py | |
| voice_tts.py | |
| config.py | |
| requirements.txt | |
| README.md | |
| .env.example | |
| .gitignore | |
| 4. Click "Commit changes to main" | |
| 5. HuggingFace will install requirements.txt and launch app.py | |
| automatically. Wait ~2-5 minutes for the build to finish. | |
| METHOD B β Git push (recommended for updates) | |
| βββββββββββββββββββββββββββββββββββββββββββββββ | |
| Run in PowerShell from the hf_jarvis\ folder: | |
| git init | |
| git remote add origin https://huggingface.co/spaces/<YOUR_USERNAME>/jarvis | |
| git add . | |
| git commit -m "Initial JARVIS upload" | |
| git push origin main | |
| (You may need: git lfs install if you ever add large model files) | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| STEP 4: SET ENVIRONMENT VARIABLES (optional but recommended) | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| In your Space page β Settings tab β Variables & Secrets | |
| Add these if you want to customize: | |
| JARVIS_MODEL = microsoft/Phi-3-mini-4k-instruct (default) | |
| JARVIS_QUANT = 4bit (default) | |
| JARVIS_THINKING = true | |
| Leave blank to use the safe defaults already in config.py. | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| STEP 5: WAIT FOR BUILD & OPEN JARVIS | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| HuggingFace will show build logs. When it says "Running", | |
| your JARVIS is live at: | |
| https://huggingface.co/spaces/<YOUR_USERNAME>/jarvis | |
| First response takes ~30-90 seconds (model loading). | |
| Every subsequent message is fast. | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| WHAT JARVIS CAN DO ON HUGGINGFACE | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| β Chat with 3.8B / 7B local model β no external API costs | |
| β Voice replies (Edge-TTS, Microsoft GuyNeural voice) | |
| β Remember facts: type "remember name is Tony" | |
| β Check status: type "status" | |
| β See predictions: type "anticipate" | |
| β Persistent memory across sessions (SQLite DB, local to the Space) | |
| β Runs on 16 GB RAM β Phi-3-mini 4-bit uses only β3-4 GB | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| RAM & MODEL OPTIONS | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| Your 16 GB gives you a LOT of headroom: | |
| Model β Quant β RAM used | |
| ββββββββββββββββββββββββββββββββββββΌββββββββΌββββββββββ | |
| Phi-3-mini-4k-instruct (3.8B) β 4-bit β ~3-4 GB β default (fast) | |
| Phi-3-mini-4k-instruct (3.8B) β fp16 β ~7.6 GB | |
| Mistral-7B-Instruct-v0.2 (7B) β 4-bit β ~4-5 GB β deep reasoning | |
| Mistral-7B-Instruct-v0.2 (7B) β fp16 β ~14 GB β max quality | |
| To switch: set JARVIS_MODEL in Space Settings. | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| TROUBLESHOOTING | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| "Model loading..." forever | |
| β First load downloads from HF Hub. Wait 3-5 minutes. | |
| The model (~2-7 GB) downloads once and is cached. | |
| "bitsandbytes not available" | |
| β 4-bit quant needs a recent version. Set JARVIS_QUANT=none | |
| if bitsandbytes fails (fp32, uses more RAM but works). | |
| Out of memory | |
| β Set JARVIS_QUANT=4bit (default) to reduce RAM to ~3-4 GB. | |
| Voice not working | |
| β edge-tts needs internet. On fully offline HF Spaces, | |
| TTS falls back silently to text-only β chat still works. | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| SIR β YOUR JARVIS IS READY FOR THE WORLD | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |