Skip to content

A straightforward method for training your LLM, from downloading data to generating text.

chore: ignore local environments and caches, keep shell scripts LF

FareedKhan-dev650e7021e6b7
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..06be626
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,12 @@
+# Normalize text files to LF in the repository on every platform.
+* text=auto
+
+# Shell scripts must keep LF line endings or bash refuses to run them.
+*.sh text eol=lf
+
+# Binary assets
+*.png binary
+*.jpg binary
+*.pdf binary
+*.h5 binary
+*.pt binary
diff --git a/.gitignore b/.gitignore
index 8420144..83ea9a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,9 +12,22 @@ dist/
site/
.superpowers/
-# data / model artifacts (kept on the /ephemeral disk, not committed)
+# local environments and tool caches
+.venv/
+.uv-cache/
+.hf-cache/
+.tools/
+node_modules/
+.pytest_cache/
+.mypy_cache/
+.ruff_cache/
+.coverage
+htmlcov/
+
+# data / model artifacts (datasets, checkpoints and logs are never committed)
data/
models/
+logs/
*.h5
*.pt
*.jsonl