Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add info about virtual environment when using slurm
  • Loading branch information
kirilltobola authored May 7, 2024
1 parent fe319e3 commit 32267d0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,25 @@ RuTaBERT$ sudo cp -r /var/lib/docker/volumes/rutabert_logs/_data ./logs
7. Output will be in `logs/` directory (`training_results.csv`, `train.log`, `test.log`, `error_train.log`, `error_test.log`).

### Slurm
1. Run slurm script:
1. Create virtual environment:
```bash
RuTaBERT$ virtualenv venv
```
or
```bash
RuTaBERT$ python -m virtualenv venv
```

2. Run slurm script:
```bash
RuTaBERT$ sbatch run.slurm
```
2. Check job status:
3. Check job status:
```bash
RuTaBERT$ squeue
```
3. Models will be saved in `checkpoint` directory.
4. Output will be in `logs/` directory (`train.log`, `test.log`, `error_train.log`, `error_test.log`).
4. Models will be saved in `checkpoint` directory.
5. Output will be in `logs/` directory (`train.log`, `test.log`, `error_train.log`, `error_test.log`).

## Testing
1. Make sure data placed in `data/test` directory.
Expand Down

0 comments on commit 32267d0

Please sign in to comment.