Add comprehensive .gitignore
Browse filesExcludes development artifacts while preserving HF models:
- Python cache files and virtual environments
- IDE files and OS-specific files (.DS_Store, etc.)
- Development scripts (convert_*.py, test_*.py, etc.)
- Local model directories (coreml_models/, models/, etc.)
- PyTorch model files (*.bin, *.pth, *.safetensors, etc.)
- Temporary and backup files
- Configuration files with secrets
Preserves for HuggingFace:
- .mlpackage files (CoreML models)
- tokenizer files (*.json, *.model)
- README.md and config.json
- Essential repository files
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- .gitignore +174 -0
.gitignore
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Python
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.py[cod]
|
| 4 |
+
*$py.class
|
| 5 |
+
*.so
|
| 6 |
+
.Python
|
| 7 |
+
build/
|
| 8 |
+
develop-eggs/
|
| 9 |
+
dist/
|
| 10 |
+
downloads/
|
| 11 |
+
eggs/
|
| 12 |
+
.eggs/
|
| 13 |
+
lib/
|
| 14 |
+
lib64/
|
| 15 |
+
parts/
|
| 16 |
+
sdist/
|
| 17 |
+
var/
|
| 18 |
+
wheels/
|
| 19 |
+
share/python-wheels/
|
| 20 |
+
*.egg-info/
|
| 21 |
+
.installed.cfg
|
| 22 |
+
*.egg
|
| 23 |
+
MANIFEST
|
| 24 |
+
|
| 25 |
+
# Virtual environments
|
| 26 |
+
.env
|
| 27 |
+
.venv
|
| 28 |
+
env/
|
| 29 |
+
venv/
|
| 30 |
+
ENV/
|
| 31 |
+
env.bak/
|
| 32 |
+
venv.bak/
|
| 33 |
+
|
| 34 |
+
# IDEs
|
| 35 |
+
.vscode/
|
| 36 |
+
.idea/
|
| 37 |
+
*.swp
|
| 38 |
+
*.swo
|
| 39 |
+
*~
|
| 40 |
+
|
| 41 |
+
# Jupyter Notebook
|
| 42 |
+
.ipynb_checkpoints
|
| 43 |
+
|
| 44 |
+
# macOS
|
| 45 |
+
.DS_Store
|
| 46 |
+
.AppleDouble
|
| 47 |
+
.LSOverride
|
| 48 |
+
Icon?
|
| 49 |
+
._*
|
| 50 |
+
.DocumentRevisions-V100
|
| 51 |
+
.fseventsd
|
| 52 |
+
.Spotlight-V100
|
| 53 |
+
.TemporaryItems
|
| 54 |
+
.Trashes
|
| 55 |
+
.VolumeIcon.icns
|
| 56 |
+
.com.apple.timemachine.donotpresent
|
| 57 |
+
.AppleDB
|
| 58 |
+
.AppleDesktop
|
| 59 |
+
Network Trash Folder
|
| 60 |
+
Temporary Items
|
| 61 |
+
.apdisk
|
| 62 |
+
|
| 63 |
+
# Windows
|
| 64 |
+
Thumbs.db
|
| 65 |
+
Thumbs.db:encryptable
|
| 66 |
+
ehthumbs.db
|
| 67 |
+
ehthumbs_vista.db
|
| 68 |
+
*.tmp
|
| 69 |
+
*.temp
|
| 70 |
+
*.lnk
|
| 71 |
+
Desktop.ini
|
| 72 |
+
$RECYCLE.BIN/
|
| 73 |
+
*.cab
|
| 74 |
+
*.msi
|
| 75 |
+
*.msix
|
| 76 |
+
*.msm
|
| 77 |
+
*.msp
|
| 78 |
+
*.exe
|
| 79 |
+
|
| 80 |
+
# Linux
|
| 81 |
+
*~
|
| 82 |
+
.fuse_hidden*
|
| 83 |
+
.directory
|
| 84 |
+
.Trash-*
|
| 85 |
+
.nfs*
|
| 86 |
+
|
| 87 |
+
# Logs
|
| 88 |
+
*.log
|
| 89 |
+
logs/
|
| 90 |
+
|
| 91 |
+
# Local development files
|
| 92 |
+
*.local
|
| 93 |
+
.cache/
|
| 94 |
+
temp/
|
| 95 |
+
tmp/
|
| 96 |
+
scratch/
|
| 97 |
+
|
| 98 |
+
# Model development artifacts (not for HF)
|
| 99 |
+
test_*.py
|
| 100 |
+
debug_*.py
|
| 101 |
+
convert_*.py
|
| 102 |
+
quantize_*.py
|
| 103 |
+
experiment_*.py
|
| 104 |
+
*.ipynb
|
| 105 |
+
|
| 106 |
+
# Local model directories (not for HF)
|
| 107 |
+
coreml_models/
|
| 108 |
+
coreml_models_*/
|
| 109 |
+
models/
|
| 110 |
+
local_models/
|
| 111 |
+
downloads/
|
| 112 |
+
test_download/
|
| 113 |
+
test_*/
|
| 114 |
+
|
| 115 |
+
# PyTorch model files (not for HF)
|
| 116 |
+
*.bin
|
| 117 |
+
*.pth
|
| 118 |
+
*.pt
|
| 119 |
+
*.ckpt
|
| 120 |
+
*.safetensors
|
| 121 |
+
*.msgpack
|
| 122 |
+
*.h5
|
| 123 |
+
|
| 124 |
+
# Other model formats (not for HF)
|
| 125 |
+
*.onnx
|
| 126 |
+
*.tflite
|
| 127 |
+
*.pb
|
| 128 |
+
|
| 129 |
+
# Temporary files
|
| 130 |
+
*.bak
|
| 131 |
+
*.backup
|
| 132 |
+
*.orig
|
| 133 |
+
*.save
|
| 134 |
+
*.swp
|
| 135 |
+
*.tmp
|
| 136 |
+
|
| 137 |
+
# Environment files
|
| 138 |
+
.env.*
|
| 139 |
+
secrets.txt
|
| 140 |
+
api_keys.txt
|
| 141 |
+
|
| 142 |
+
# Build artifacts
|
| 143 |
+
__pycache__/
|
| 144 |
+
*.pyc
|
| 145 |
+
*.pyo
|
| 146 |
+
*.pyd
|
| 147 |
+
.Python
|
| 148 |
+
build/
|
| 149 |
+
develop-eggs/
|
| 150 |
+
dist/
|
| 151 |
+
|
| 152 |
+
# Testing
|
| 153 |
+
.pytest_cache/
|
| 154 |
+
.coverage
|
| 155 |
+
htmlcov/
|
| 156 |
+
.tox/
|
| 157 |
+
.nox/
|
| 158 |
+
|
| 159 |
+
# Documentation build
|
| 160 |
+
docs/_build/
|
| 161 |
+
site/
|
| 162 |
+
|
| 163 |
+
# Configuration files with secrets
|
| 164 |
+
config_local.json
|
| 165 |
+
settings_local.json
|
| 166 |
+
|
| 167 |
+
# Temporary scripts and notebooks
|
| 168 |
+
playground.py
|
| 169 |
+
test.py
|
| 170 |
+
debug.py
|
| 171 |
+
temp.py
|
| 172 |
+
scratch.py
|
| 173 |
+
notebook.ipynb
|
| 174 |
+
*.draft.*
|