Skip to content

Commit b4bb4ab

Browse files
committed
Tie package versions
1 parent 9ad2663 commit b4bb4ab

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

playbooks/core/pytorch-rocm-llms/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ source llm-env/bin/activate
4242

4343
<!-- @test:id=install-deps timeout=300 setup=activate-venv -->
4444
```bash
45-
pip install --upgrade transformers accelerate sentencepiece protobuf
45+
pip install transformers==4.57.1 safetensors==0.6.2 accelerate sentencepiece protobuf
4646
```
4747
<!-- @test:end -->
4848

@@ -126,6 +126,13 @@ Build on your LLM setup by turning it into a practical document summarizer. In t
126126

127127
The script is designed to work out of the box: point it at a text file, pick a model, and it returns a clear 2–3 sentence overview. As you explore the code, you can customize prompts, tweak parameters like length and temperature, and see how different models behave.
128128

129+
To try it out:
130+
<!-- @test:id=run-model timeout=600 setup=activate-venv -->
131+
```bash
132+
python summarizer.py
133+
```
134+
<!-- @test:end -->
135+
129136
### Usage Examples
130137

131138
```bash

0 commit comments

Comments
 (0)