Update .gitattributes
Browse files- .gitattributes +34 -35
.gitattributes
CHANGED
|
@@ -1,35 +1,34 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
*.
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
*.
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
*.
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
*.
|
| 15 |
-
*.
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
*.
|
| 24 |
-
*.
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
*.
|
| 28 |
-
*.
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
*.
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
*.
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
# Set default behavior to automatically normalize line endings
|
| 2 |
+
* text=auto
|
| 3 |
+
|
| 4 |
+
# Treat Python files as text
|
| 5 |
+
*.py text
|
| 6 |
+
|
| 7 |
+
# Treat Markdown files as text
|
| 8 |
+
*.md text
|
| 9 |
+
|
| 10 |
+
# Treat JSON files as text
|
| 11 |
+
*.json text
|
| 12 |
+
|
| 13 |
+
# Prevent model weights from being diffed
|
| 14 |
+
*.bin binary
|
| 15 |
+
*.safetensors binary
|
| 16 |
+
|
| 17 |
+
# Hugging Face model config files
|
| 18 |
+
config.json text
|
| 19 |
+
tokenizer_config.json text
|
| 20 |
+
vocab.json text
|
| 21 |
+
|
| 22 |
+
# Ignore diffs for large files
|
| 23 |
+
*.pt -diff
|
| 24 |
+
*.h5 -diff
|
| 25 |
+
|
| 26 |
+
# Language overrides (optional)
|
| 27 |
+
*.am linguist-language=Amharic
|
| 28 |
+
*.en linguist-language=English
|
| 29 |
+
|
| 30 |
+
# Keep Jupyter notebooks readable
|
| 31 |
+
*.ipynb text
|
| 32 |
+
|
| 33 |
+
# Treat shell scripts as text
|
| 34 |
+
*.sh text
|
|
|