EmmanuelCasarrubias
commited on
Commit
•
1c2c2c9
1
Parent(s):
4eee3c1
Update .gitattributes for optimal handling of large and text files
Browse filesThis commit updates the .gitattributes file to optimally handle different file types used in the project.
Key changes include:
1. **Large File Storage (LFS)**:
- Tracks large model, data, and compressed files using Git LFS.
- Includes common formats such as `.bin`, `.h5`, `.npy`, `.pt`, `.safetensors`, and others.
- Includes `.m` and `.mat` for MATLAB files.
2. **Text Files**:
- Configures `.py` for Python scripts as text.
- Configures common text formats such as `.md`, `.toml`, and `.yml` as text.
This ensures that the appropriate file types are stored and managed correctly.
- .gitattributes +6 -0
.gitattributes
CHANGED
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.m text
|
37 |
+
*.mat filter=lfs diff=lfs merge=lfs -text
|
38 |
+
*.py text
|
39 |
+
*.md text
|
40 |
+
*.toml text
|
41 |
+
*.yml text
|