# Set default behavior to automatically normalize line endings * text=auto # Treat Python files as text *.py text # Treat Markdown files as text *.md text # Treat JSON files as text *.json text # Prevent model weights from being diffed *.bin binary *.safetensors binary # Hugging Face model config files config.json text tokenizer_config.json text vocab.json text # Ignore diffs for large files *.pt -diff *.h5 -diff # Language overrides (optional) *.am linguist-language=Amharic *.en linguist-language=English # Keep Jupyter notebooks readable *.ipynb text # Treat shell scripts as text *.sh text