Skip to content

Commit efae32a

Browse files
committed
Reqs
1 parent cfa7439 commit efae32a

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ $ git log --oneline -25 | squeez "find the commit that changed the authenticatio
133133
pip install squeez
134134
```
135135

136+
For local model training, use the pinned stack in [requirements-train.txt](/Users/adamkovacs/projects/squeez/requirements-train.txt):
137+
138+
```bash
139+
pip install -r requirements-train.txt
140+
```
141+
136142
## Quick Start
137143

138144
### CLI

docs/guide/training.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ python scripts/download_data.py
1010

1111
This pulls the [SWE-bench tool output dataset](https://huggingface.co/datasets/KRLabsOrg/tool-output-extraction-swebench) into `data/train.jsonl` (7,148 samples) and `data/eval.jsonl` (436 samples).
1212

13+
## Known-good environment
14+
15+
This repo currently has a known-good training stack pinned in [requirements-train.txt](/Users/adamkovacs/projects/squeez/requirements-train.txt).
16+
17+
Install it with:
18+
19+
```bash
20+
pip install -r requirements-train.txt
21+
```
22+
23+
Pinned versions:
24+
25+
```txt
26+
unsloth==2026.3.4
27+
unsloth_zoo==2026.3.2
28+
trl==0.24.0
29+
transformers==5.2.0
30+
peft==0.18.1
31+
torch==2.10.0
32+
datasets==3.4.1
33+
```
34+
35+
If training is already working on your machine, do not upgrade these packages casually.
36+
1337
## 2. Train
1438

1539
```bash

requirements-train.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
unsloth==2026.3.4
2+
unsloth_zoo==2026.3.2
3+
trl==0.24.0
4+
transformers==5.2.0
5+
peft==0.18.1
6+
torch==2.10.0
7+
datasets==3.4.1

0 commit comments

Comments
 (0)