Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -35,6 +35,13 @@ counts are listed in `manifest.json` (`default_year` is used when no year is giv
|
|
| 35 |
|
| 36 |
## Usage
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
```python
|
| 39 |
from huggingface_hub import snapshot_download
|
| 40 |
import sys
|
|
|
|
| 35 |
|
| 36 |
## Usage
|
| 37 |
|
| 38 |
+
**Install dependencies** (needs a **GPU**). On Colab/Jupyter prefix with `!`;
|
| 39 |
+
`torch` is already present on Colab, otherwise install the build matching your CUDA:
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
pip install flash-linear-attention==0.5.0 transformers==5.8.1 einops gluonts huggingface_hub
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
```python
|
| 46 |
from huggingface_hub import snapshot_download
|
| 47 |
import sys
|