Spaces:
Paused
Paused
build: rename project to 'TRL Example'
Browse files- README.md +1 -1
- public/index.html +2 -2
- pyproject.toml +14 -14
- uv.lock +1 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: 🚀
|
4 |
colorFrom: yellow
|
5 |
colorTo: green
|
|
|
1 |
---
|
2 |
+
title: TRL Example
|
3 |
emoji: 🚀
|
4 |
colorFrom: yellow
|
5 |
colorTo: green
|
public/index.html
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
|
7 |
-
<title>
|
8 |
</head>
|
9 |
<body>
|
10 |
-
<h1>TRL</h1>
|
11 |
</body>
|
12 |
</html>
|
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
|
7 |
+
<title>TRL Example</title>
|
8 |
</head>
|
9 |
<body>
|
10 |
+
<h1>TRL Example</h1>
|
11 |
</body>
|
12 |
</html>
|
pyproject.toml
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
[project]
|
2 |
-
name = "trl"
|
3 |
version = "0.0.0"
|
4 |
requires-python = ">=3.13"
|
5 |
|
6 |
dependencies = [
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
]
|
15 |
|
16 |
[tool.ruff]
|
@@ -19,10 +19,10 @@ line-length = 119
|
|
19 |
|
20 |
[tool.ruff.lint]
|
21 |
ignore = [
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
]
|
27 |
extend-select = ["E", "F", "I", "W", "UP", "B", "T", "C"]
|
28 |
|
@@ -39,6 +39,6 @@ known-first-party = ["trl"]
|
|
39 |
|
40 |
[tool.pytest.ini_options]
|
41 |
markers = [
|
42 |
-
|
43 |
-
|
44 |
]
|
|
|
1 |
[project]
|
2 |
+
name = "trl-example"
|
3 |
version = "0.0.0"
|
4 |
requires-python = ">=3.13"
|
5 |
|
6 |
dependencies = [
|
7 |
+
"accelerate>=1.7.0",
|
8 |
+
"datasets>=3.6.0",
|
9 |
+
"deepspeed>=0.17.1",
|
10 |
+
"huggingface[cli]>=0.0.1",
|
11 |
+
"peft>=0.15.2",
|
12 |
+
"torch>=2.7.1",
|
13 |
+
"transformers>=4.52.4",
|
14 |
]
|
15 |
|
16 |
[tool.ruff]
|
|
|
19 |
|
20 |
[tool.ruff.lint]
|
21 |
ignore = [
|
22 |
+
"B028", # warning without explicit stacklevel
|
23 |
+
"C408", # dict() calls (stylistic)
|
24 |
+
"C901", # function complexity
|
25 |
+
"E501",
|
26 |
]
|
27 |
extend-select = ["E", "F", "I", "W", "UP", "B", "T", "C"]
|
28 |
|
|
|
39 |
|
40 |
[tool.pytest.ini_options]
|
41 |
markers = [
|
42 |
+
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
43 |
+
"low-priority: marks tests as low priority (deselect with '-m \"not low-priority\"')",
|
44 |
]
|
uv.lock
CHANGED
@@ -1072,7 +1072,7 @@ wheels = [
|
|
1072 |
]
|
1073 |
|
1074 |
[[package]]
|
1075 |
-
name = "trl"
|
1076 |
version = "0.0.0"
|
1077 |
source = { virtual = "." }
|
1078 |
dependencies = [
|
|
|
1072 |
]
|
1073 |
|
1074 |
[[package]]
|
1075 |
+
name = "trl-example"
|
1076 |
version = "0.0.0"
|
1077 |
source = { virtual = "." }
|
1078 |
dependencies = [
|