Skip to content

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

605 B
Raw Blame
# Optional local checks before each commit:
#   pip install pre-commit   (or: uv tool install pre-commit)
#   pre-commit install
# The same checks run in CI (.github/workflows/ci.yml).
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v6.0.0
    hooks:
      - id: check-yaml
      - id: check-toml
      - id: check-json
      - id: end-of-file-fixer
      - id: trailing-whitespace
      - id: check-added-large-files
        args: ["--maxkb=2000"]
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.16.10
    hooks:
      - id: ruff-check
        args: ["--fix"]