Skip to content

Commit 33a2955

Browse files
authoredFeb 11, 2025
Create README.md for submission
1 parent 6538d40 commit 33a2955

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
 

‎README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
### Requirements
3+
4+
1. Python 3.12+
5+
2. NVIDIA (recommended, optional)
6+
7+
### Setup
8+
9+
1. Python venv erstellen im steam-nlp Ordner: `python -m venv env`
10+
2. venv aktivieren:
11+
- CMD / BAT: `env\Scripts\activate.bat`
12+
- Powershell: `env\Scripts\Activate.ps1`
13+
- Linux: `env/bin/activate`
14+
3. Dependencies installieren:
15+
16+
- Mit CUDA support:
17+
```cmd
18+
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
19+
pip3 install transformers[torch]
20+
pip3 install pandas scikit-learn
21+
```
22+
23+
- Ohne CUDA support:
24+
```cmd
25+
pip3 install transformers[torch]
26+
pip3 install pandas scikit-learn
27+
```
28+
29+
4. venv deaktivieren (nur BASH / Linux) - optional: `deactivate` (unter Windows reicht es das Terminal zu schließen)
30+
31+
32+
### Usage (Demo / Review)
33+
34+
1. venv aktivieren (falls deaktiviert), siehe Setup
35+
2. Ausführen: `python review.py`
36+
37+
### Training
38+
39+
0. Vorhandenes Modell löschen oder umbenennen
40+
1. venv aktivieren (falls deaktiviert), siehe Setup
41+
2. Ausführen:
42+
- CMD: `python training\train.py`
43+
- PS1: `python .\training\train.py`
44+
- Linux: `python3 training/train.py`

0 commit comments

Comments
 (0)
Please sign in to comment.