# Generated by gitignore-ai scripts/combine.py: Python, Secrets, Jupyter, Data, Model-Weights, Experiment-Tracking, LLM-Apps, AI-Agents # ===== Python ===== # Python essentials for AI/ML projects (short version) # Bytecode and builds __pycache__/ *.py[cod] *.so build/ dist/ *.egg-info/ .eggs/ # Virtual environments .venv/ venv/ env/ .conda/ # Tool caches .pytest_cache/ .mypy_cache/ .ruff_cache/ .pyright/ .tox/ .nox/ .coverage .coverage.* htmlcov/ # Editors and OS .idea/ .DS_Store Thumbs.db # ===== Secrets ===== # Secrets and credentials for AI projects # Keep example files (with fake values) committed so others know what to set. # Environment files .env .env.* !.env.example !.env.sample !.env.template .envrc.local # Private keys and certificates *.pem *.key *.p12 *.pfx # Cloud and service credentials credentials.json service-account*.json *-service-account.json gcp-key*.json .netrc # Kaggle API token (if it ends up in the project instead of ~/.kaggle) kaggle.json # App framework secrets .streamlit/secrets.toml .chainlit/.env # ===== Jupyter ===== # Jupyter, JupyterLab and notebook tooling .ipynb_checkpoints/ */.ipynb_checkpoints/* .virtual_documents/ .jupyter_ystore.db .jupyter/ profile_default/ ipython_config.py # marimo notebook caches and exports __marimo__/ # Exported copies (regenerate from the notebook instead) *.nbconvert.ipynb # ===== Data ===== # Datasets and generated data # Commit small samples and the code that downloads/derives the data, not the data itself. # Root-level data folder; code packages named data/ elsewhere stay tracked /data/* !/data/.gitkeep !/data/README.md !/data/sample/ /datasets/ /downloads/ # Large tabular / array formats (comment out if you keep small fixtures in git) *.parquet *.feather *.arrow *.npy *.npz *.h5ad *.tfrecord *.tfrecords *.lance # Compressed archives of data *.tar *.tar.gz *.tgz *.zip *.7z # Audio and video corpora *.wav *.flac *.mp3 *.mp4 # ===== Model-Weights ===== # Model weights, checkpoints and exported models # Store these in a model registry, object storage, Git LFS, DVC or the Hugging Face Hub. # Hugging Face / PyTorch / safetensors *.safetensors *.pt *.pth *.ckpt *.bin # (*.bin is broad: add "!path/to/needed.bin" for small binary fixtures you do want) # llama.cpp, Ollama imports and other local LLM formats *.gguf *.ggml # TensorFlow / Keras *.h5 *.hdf5 *.keras *.tflite saved_model/ # ONNX, TensorRT, Core ML, OpenVINO *.onnx *.engine *.trt *.plan *.mlmodel *.mlpackage/ # scikit-learn and generic pickles (also a security risk to load from strangers) *.joblib *.pkl *.pickle # Common checkpoint folders (root-anchored so code packages like src/app/models/ stay tracked) /checkpoints/ checkpoint-*/ /models/* !/models/.gitkeep !/models/README.md # ===== Experiment-Tracking ===== # Experiment tracking, training logs and run outputs # Weights & Biases wandb/ # MLflow (local file store and artifacts) mlruns/ mlartifacts/ # TensorBoard (default SummaryWriter folder) and PyTorch Lightning /runs/ lightning_logs/ tb_logs/ # Hydra /outputs/ /multirun/ # DVCLive, Aim, Neptune dvclive/ .aim/ .neptune/ # Hugging Face Trainer default output folders /trainer_output/ /tmp_trainer/ # Optuna local storage optuna*.db # Profiler traces *.pt.trace.json *.prof # ===== LLM-Apps ===== # LLM and RAG application artifacts: local vector stores, caches, UI files # Local vector databases and indexes /chroma/ /.chroma/ /chroma_db/ *.faiss /faiss_index/ /lancedb/ /.lancedb/ qdrant_/storage/ milvus_data/ # LlamaIndex default persist folder /storage/ # LangChain SQLite LLM cache (default file name) .langchain.db # Prompt and response caches, eval outputs /.cache/ /llm_cache/ *.cache.sqlite .promptfoo/ promptfoo-output/ # Gradio and Streamlit local files .gradio/ /flagged/ # Chainlit generated files /.files/ # Local model servers /ollama_data/ # ===== AI-Agents ===== # AI coding agents and assistants: ignore personal and generated files only. # Shared configuration (CLAUDE.md, AGENTS.md, .claude/settings.json, .claude/skills/, # .claude/agents/, .mcp.json, .cursor/rules/, .gemini/settings.json, .codex/config.toml, # .github/copilot-instructions.md) is meant to be COMMITTED, so it is not listed here. # Claude Code .claude/settings.local.json CLAUDE.local.md .claude/worktrees/ # Gemini CLI .gemini/.env .gemini/worktrees/ # Aider (chat history, input history, repo-map cache) .aider.chat.history.md .aider.input.history .aider.llm.history .aider.tags.cache.v*/ # SpecStory (saved AI chat transcripts); remove this line if your team shares them .specstory/ # Generic local agent scratch space .agent-scratch/