| # =============================== | |
| # Python cache and temporary files | |
| # =============================== | |
| __pycache__/ | |
| *.pyc | |
| *.pyo | |
| *.pyd | |
| *.swp | |
| *.swo | |
| *.log | |
| *.tmp | |
| .DS_Store | |
| # =============================== | |
| # Virtual environments | |
| # =============================== | |
| venv/ | |
| env/ | |
| .venv/ | |
| .python-version | |
| # =============================== | |
| # Cache and model directories | |
| # (Prevent accidental upload of local cache) | |
| # =============================== | |
| .cache/ | |
| huggingface/ | |
| transformers/ | |
| datasets/ | |
| hf_cache/ | |
| torch_cache/ | |
| tokenizers_cache/ | |
| pip_cache/ | |
| # =============================== | |
| # Git and version control | |
| # =============================== | |
| .git/ | |
| .gitignore | |
| .gitattributes | |
| .gitmodules | |
| # =============================== | |
| # OS-specific files | |
| # =============================== | |
| Thumbs.db | |
| ehthumbs.db | |
| Icon? | |
| Desktop.ini | |
| # =============================== | |
| # IDE and editor settings | |
| # =============================== | |
| .vscode/ | |
| .idea/ | |
| *.code-workspace | |
| # =============================== | |
| # Build and distribution artifacts | |
| # =============================== | |
| build/ | |
| dist/ | |
| *.egg-info/ | |
| *.egg | |
| *.tar.gz | |
| *.whl | |
| # =============================== | |
| # Jupyter notebooks and checkpoints | |
| # =============================== | |
| *.ipynb | |
| *.ipynb_checkpoints/ | |
| # =============================== | |
| # Test files, local experiments, docs | |
| # =============================== | |
| tests/ | |
| notebooks/ | |
| examples/ | |
| docs/ | |
| *.md~ | |
| # =============================== | |
| # Local environment or secret files | |
| # =============================== | |
| .env | |
| .env.* | |
| secrets/ | |
| *.pem | |
| *.key | |
| *.crt | |
| # =============================== | |
| # Hugging Face Spaces / Docker-specific | |
| # =============================== | |
| Dockerfile~ | |
| .dockerignore~ | |
| .hfignore | |
| .git-lfs/ | |
| .gitlfs/ | |
| # =============================== | |
| # Include model directory explicitly | |
| # (The '!' means "do NOT ignore this folder") | |
| # This ensures your baked-in model cache stays in the image. | |
| # =============================== | |
| !model/ | |