forked from Niccolo-Ajroldi/plainLM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (37 loc) · 947 Bytes
/
Copy pathpyproject.toml
File metadata and controls
41 lines (37 loc) · 947 Bytes
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
36
37
38
39
40
41
[project]
name = "plainLM"
description = "Pretrain transofmrers on causal language modeling using PyTorch."
authors = [
{ name = "Niccolò Ajroldi" }
]
license = { file = "LICENSE" }
readme = "README.md"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"absl-py>=2.1.0",
"numpy>=2.3.4",
"PyYAML>=6.0.3",
"schedulefree>=1.4.1",
"torch>=2.6.0",
"transformers>=4.44.2",
"wandb>=0.22.2"
]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 120
indent-width = 2
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
extend-select = [
"BLE", # disallow catch-all exceptions
"F", # Pyflakes rules
"FA", # Enforce from __future__ import annotations
"I", # Isort rules
"ICN", # Use common import conventions
"PLE", # Pylint Errors
"TID", # Some good import practices
]